Socket
Socket
Sign inDemoInstall

python-currencycom

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

python-currencycom

Currency.com REST API python implementation


Maintainers
1

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.

Keywords

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc