Skip to content

home-assistant-ecosystem/aiocurrencylayer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

80 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

aiocurrencylayer

Python API for interacting with currencylayer. At the moment only the consumption of data is supported.

This module is not official, developed, supported or endorsed by currencylayer.

Installation

The module is available from the Python Package Index.

$ pip3 install aiocurrencylayer

On a Fedora-based system or on a CentOS/RHEL machine which has EPEL enabled.

$ sudo dnf -y install python3-aiocurrencylayer

For Nix or NixOS is pre-packed module available. The lastest release is usually present in the unstable channel.

$ nix-env -iA nixos.python3Packages.aiocurrencylayer

Usage

The file example.py contains an example about how to use this module.

Basically it's just a wrapper. Enter your currencylayer API key and the currency you want a quote for. Free subscriptions only support USD as source currency.

$ python3 example.py

License

python-currencylayer is licensed under MIT, for more details check LICENSE.