Skip to main content

Library for work with our api.

Project description

Welcome to our lib OpenFG

Our small library for python

How get an api key?

  1. Login into your account (also registration)

  2. Redirect here and create a key

  3. Get key and save his

  4. 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


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)

Uploaded Source

Built Distribution

OpenFG-0.1.0-py3-none-any.whl (3.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page