Skip to main content

OST Kit API wrapper for Python

Project description


PyPI version

An unofficial OST Kit API wrapper for Python 2/3. Supports all functionality of OST Kit API v1.1.


pip install ost-kit-python


from ost_kit_python import OSTKit

# instantiate OST Kit with API credentials
ostkit = OSTKit(api_url='',

# execute API endpoint methods
r = ostkit.users.create('Jason')

# response JSON is automatically converted to a dictionary
user_id = r['data']['user']['id']

More Examples

r = ostkit.users.create(name='James')

r = ostkit.users.update(user_id='abcd-1234-some-guid', name='Jimothy')

r = ostkit.users.retrieve(user_id='abcd-1234-some-guid')

r = ostkit.users.list(limit=100)

r = ostkit.airdrops.execute(amount=6.66, user_ids=('abcd-1234-some-guid',))

r = ostkit.airdrops.retrieve(airdrop_id='abcd-1234-some-guid')

r = ostkit.airdrops.list()

r = ostkit.actions.create(name='Bonus',

r = ostkit.actions.update(action_id=1234, name='MajorBonus')

r = ostkit.actions.retrieve(action_id=1234)

r = ostkit.actions.list()

r = ostkit.transactions.execute(from_user_id='abcd-1234-some-guid',

r = ostkit.transactions.retrieve(transaction_id='abcd-1234-some-guid')

r = ostkit.transactions.list()

r = ostkit.balances.retrieve(user_id='abcd-1234-some-guid')

r = ostkit.ledger.retrieve(user_id='abcd-1234-some-guid')

r = ostkit.transfers.create(to_address='0x123456', amount=6.66)

r = ostkit.transfers.retrieve(transfer_id='abcd-1234-some-guid')

r = ostkit.transfers.list()

r = ostkit.token.retrieve()

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for ost-kit-python, version 0.0.4
Filename, size File type Python version Upload date Hashes
Filename, size ost_kit_python-0.0.4-py2-none-any.whl (4.3 kB) File type Wheel Python version py2 Upload date Hashes View hashes
Filename, size ost-kit-python-0.0.4.tar.gz (4.0 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page