Skip to main content

Currency.com REST API python implementation

Project description

Welcome to the python-currencycom

This is an unofficial Python wrapper for the Currency.com exchange REST API v1. I am in no way affiliated with Currency.com, use at your own risk.

Documentation

Please find official documentation by: https://exchange.currency.com/api

Or Swagger by the link: https://apitradedoc.currency.com/swagger-ui.html#/.

QuickStart

Register an account on Currency.com

Create an API Key with correct permissions

pip install python-currencycom

Let's retrieve tradable symbols on the market

from pprint import pprint

from currencycom.client import Client

client = Client('API_KEY', 'SECRET_KEY')

# Exchange info contains various info including tradable symbols
exchange_info = client.get_exchange_info()
tradable_symbols = [x['symbol'] for x in exchange_info['symbols']]
pprint(tradable_symbols,
       indent=2)

For more check out the documentation and Swagger.

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

python_currencycom-0.2.1-py3-none-any.whl (9.3 kB view details)

Uploaded Python 3

File details

Details for the file python_currencycom-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: python_currencycom-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 9.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.23.0 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.7

File hashes

Hashes for python_currencycom-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 28990c14f0ca81806755ce10d31089b2e34f817d2f3fc388f9ae41bf2726a8c9
MD5 441adeee1bd397bef02b4b6aab86d932
BLAKE2b-256 8ff921714adbd2fb0763663e696dc4503d31d5dc6ed61fb9e80769142169c3f0

See more details on using hashes here.

Supported by

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