Skip to content

frabits/frabit-py-sdk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Code style: black Build License: MIT PyPI PyPI - Python Version

frabit-py-sdk

Frabit official python sdk

Supported Python Versions

This SDK supports the following Python implementations:

Python 3.6 Python 3.7 Python 3.8 Python 3.9 Python 3.10

Installation

Install from source code

git clone https://github.com/frabits/frabit-py-sdk.git 
cd frabit-py-sdk && python setup.py install

Install from PyPi

pip install frabit

Examples

import os
from frabit import Client

base_url = os.environ.get('FRABIT_BASE_URL') or "api.frabit.tech"
token = os.environ.get('FRABIT_TOKEN') or  ""
client = Client(base_url,token)
client.database.get()