isaaclm / fixerio-client

A Python client for the fixer.io foreign exchange API implementing all subscription levels

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

A Python client for fixer.io

fixer.io is a simple and lightweight JSON API for current and historical foreign exchange (forex) rates. Fixer.io:

This library contains clients for each tier of the fixer.io subscriptions, from free up to professional plus. Each tier extends the prior, so if you upgrade your subscription, you can simply swap out your client by changing 1 line of code.

Installation

You can get the source from GitHub at https://github.com/isaaclm/fixerio-client.

Usage

Get the latest foreign exchange reference rates in JSON format. You can request specific rates by specifying the symbols as in this example.

If you don't specify the symbols you will request all rates for your base currency.

Note that the only available base currency on the free subscription is 'EUR'.

Get the list of available currencies.

Get historical rates for any day since 1999.

Get the latest EUR and GBP rates with a USD base with a basic subscription.

Get the a timeseries of CHN with a USD base for the first half of 2023 with a professional subscription.

Get the price fluctuation of all currencies with a USD base for the first half of 2023 with a professional plus subscription.

Useful Links -----

Fixer.io: https://fixer.io/

Fixer.io documentation: https://fixer.io/documentation

About

A Python client for the fixer.io foreign exchange API implementing all subscription levels

License:MIT License


Languages

Language:Python 100.0%