Metadata-Version: 2.1
Name: freecurrencyapi
Version: 0.1.0
Summary: Freecurrencyapi Python Client
Home-page: https://github.com/everapihq/freecurrencyapi-python
Author: Everapi
Author-email: office@everapi.com
License: MIT
Keywords: free currency api,exchange rates,rates api,freecurrencyapi,currency api
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Description-Content-Type: text/markdown

# freecurrencyapi Python Client #

Freecurrencyapi Python Client is the official Python Wrapper around the freecurrencyapi [API](https://freecurrencyapi.com/).

## Installation

Install from pip:
````sh
pip install freecurrencyapi
````

Install from code:
````sh
pip install git+https://github.com/everapihq/freecurrencyapi-python.git
````

## Usage

All freecurrencyapi API requests are made using the `Client` class. This class must be initialized with your API access key string. [Where is my API access key?](https://app.freecurrencyapi.com/dashboard)

In your Python application, import `freecurrencyapi` and pass authentication information to initialize it:

````python
import freecurrencyapi
client = freecurrencyapi.Client('API_KEY')
````

### Retrieve Status

```python

print(client.status())

```

### Retrieve Currencies
[https://freecurrencyapi.com/docs/currencies](https://freecurrencyapi.com/docs/currencies)
```python

result = client.currencies(currencies=['EUR', 'CAD'])
print(result)

```

### Retrieve Latest Exchange Rates
[https://freecurrencyapi.com/docs/latest](https://freecurrencyapi.com/docs/latest)

```python

result = client.latest()
print(result)

```

### Retrieve Historical Exchange Rates
[https://freecurrencyapi.com/docs/historical](https://freecurrencyapi.com/docs/historical)

```python

result = client.historical('2022-02-02')
print(result)

```

### Contact us
Any feedback? Please feel free to [contact our team](mailto:office@everapi.com).
