Skip to main content

Wrapper for Cryptopia API

Project description


Pytopia is a library that allows you to interact with Cryptopia API.


  • Python (3.6, 3.7)


To install this package, you need to make sure pip is installed:

pip install pytopia


Let's take a look over a simple example on how to use it:

from pytopia import Pytopia

pytopia = Pytopia(PUBLIC_KEY, PRIVATE_KEY)

# Get the last traded price for every trade pair
trade_pairs =  pytopia.get_trade_pairs()

for trade_pair in trade_pairs:
    market_history = pytopia.get_market_history(trade_pairs[0]['Id'])
    last_traded_price = market_history[0]['Price']

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 pytopia, version 1.0.0
Filename, size File type Python version Upload date Hashes
Filename, size pytopia-1.0.0-py3-none-any.whl (7.3 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size pytopia-1.0.0.tar.gz (2.9 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page