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
Release files for OpenFG 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| OpenFG-0.1.0.tar.gz | 2.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| OpenFG-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 5.8 kB
Release files / OpenFG-0.1.0.tar.gz
| Download URL | OpenFG-0.1.0.tar.gz |
|---|---|
| Size | 2.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
52c00c91f4316a54522decbc93cfa4056c427612eb2899fed3b65f48088e517c
|
|
BLAKE2b-256 checksum How to use checksums |
a4a9ee0b0c99e1eb5d79b4f93f9a9212eb7f002130ad1e5644785d6b031b4366
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.6
|
Release files / OpenFG-0.1.0-py3-none-any.whl
| Download URL | OpenFG-0.1.0-py3-none-any.whl |
|---|---|
| Size | 3.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
40f78dddb7192bd4ab3153f5ac4a523707b53af3f6eb4ea451e5dd690910fa2d
|
|
BLAKE2b-256 checksum How to use checksums |
57474e7c3a981c8638bafb060bc6a63caf49c58bfc3e6f72e7c02788cfa7d55a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.6
|