Library for work with our api.
Project description
Welcome to our lib OpenFG
Our small library for python
How get an api key?
-
Redirect here and create a key
-
Get key and save his
-
Done!
How use it?
Example code:
import OpenFG
info = Chat("your API key").get_last_message_info("id") # Instead of id, you can specify this: id - message id | sender - sender's name | sender_id - sender's id | message - message | created_at - when sent
if info == "KEY_NOT_FOUND":
print("Key not found")
else:
print(info)
This code find last message use id of message
Our task list:
-[x] Create our api system
-
Create a lib for python
-
Create find user system use his id
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
OpenFG-0.1.0.tar.gz
(2.9 kB
view hashes)
Built Distribution
OpenFG-0.1.0-py3-none-any.whl
(3.0 kB
view hashes)