Currency.com REST API python implementation
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.
Please find official documentation by: https://exchange.currency.com/api
Or Swagger by the link: https://apitradedoc.currency.com/swagger-ui.html#/.
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)
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Hashes for python_currencycom-0.2.3-py3-none-any.whl