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 details)
Built Distribution
File details
Details for the file OpenFG-0.1.0.tar.gz
.
File metadata
- Download URL: OpenFG-0.1.0.tar.gz
- Upload date:
- Size: 2.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 52c00c91f4316a54522decbc93cfa4056c427612eb2899fed3b65f48088e517c |
|
MD5 | 83b917241056f35cf7879d7e1b5063a9 |
|
BLAKE2b-256 | a4a9ee0b0c99e1eb5d79b4f93f9a9212eb7f002130ad1e5644785d6b031b4366 |
File details
Details for the file OpenFG-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: OpenFG-0.1.0-py3-none-any.whl
- Upload date:
- Size: 3.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 40f78dddb7192bd4ab3153f5ac4a523707b53af3f6eb4ea451e5dd690910fa2d |
|
MD5 | f26e90c639fbdd901b4083e2dce8c8b3 |
|
BLAKE2b-256 | 57474e7c3a981c8638bafb060bc6a63caf49c58bfc3e6f72e7c02788cfa7d55a |