amatellanes / fixerio Goto Github PK
View Code? Open in Web Editor NEWA Python client for Fixer.io
Home Page: http://fixerio.readthedocs.io/
License: MIT License
A Python client for Fixer.io
Home Page: http://fixerio.readthedocs.io/
License: MIT License
Rates are quoted against the Euro by default. Quote against a different currency by setting the base parameter in your request:
GET http://api.fixer.io/latest?base=USD
{
"base": "USD",
"date": "2016-05-13",
"rates": {
"AUD": 1.3728,
"BGN": 1.7235,
"BRL": 3.486,
"CAD": 1.2882,
"CHF": 0.97145,
"CNY": 6.5211,
"CZK": 23.811,
"DKK": 6.556,
"GBP": 0.69403,
"HKD": 7.7632,
"HRK": 6.6109,
"HUF": 277.73,
"IDR": 13318,
"ILS": 3.7737,
"INR": 66.78,
"JPY": 108.88,
"KRW": 1172.8,
"MXN": 18.05,
"MYR": 4.0299,
"NOK": 8.1669,
"NZD": 1.4709,
"PHP": 46.645,
"PLN": 3.8711,
"RON": 3.9633,
"RUB": 65.271,
"SEK": 8.2204,
"SGD": 1.3705,
"THB": 35.43,
"TRY": 2.9643,
"ZAR": 15.168,
"EUR": 0.88121
}
}
tests_require
field)url
field in setup script.Request specific exchange rates by setting the symbols or currencies parameter.
GET http://api.fixer.io/latest?symbols=USD,GBP
{
"base": "EUR",
"date": "2016-05-19",
"rates": {
"GBP": 0.76585,
"USD": 1.1197
}
}
As a user, I would need a project documentation to know library features.
PyPI
.. image:: https://img.shields.io/pypi/v/fixerio.svg
:target: https://pypi.python.org/pypi/fixerio/
:alt: Latest PyPI version
Downloads
.. image:: https://img.shields.io/pypi/dm/fixerio.svg
:target: https://pypi.python.org/pypi/fixerio/
:alt: Number of PyPI downloads
Wheel support
.. image:: https://img.shields.io/pypi/wheel/fixerio.svg
:target: https://pypi.python.org/pypi/fixerio/
:alt: Supports Wheel format
Current link to documentation is http://fixerio.readthedocs.io/en/latest/.
We need to indent help menu properly.
In the recent release, there is no proper documentation for changing the base currency. Much appreciated. Thanks.
The fixer.io API endpoint has been deprecated, and API keys are now required for the new one.
I was wondering if you have any plans to update this client?
We need to add new Python 3.6 to tox configuration.
An HTTPS endpoint is available.
Is there anything blocking the release of 1.0.0? Would love to be able to use this codebase with the new authentication scheme at Fixer.io. Haven't figured out an easy way to patch what is currently available to work with the access_key requirement.
Happy to help review/contribute on specific issues if they are blockers for 1.0.0.
Thanks!
Some help messages include 'make' word. These appearances should be removed.
We need to follow workflow described in https://www.kennethreitz.org/essays/a-better-pip-workflow.
Get historical rates for any day since 1999.
GET http://api.fixer.io/2000-01-03
{
"base": "EUR",
"date": "2000-01-03",
"rates": {
"AUD": 1.5346,
"CAD": 1.4577,
"CHF": 1.6043,
"CYP": 0.5767,
"CZK": 36.063,
"DKK": 7.4404,
"EEK": 15.6466,
"GBP": 0.6246,
"HKD": 7.8624,
"HUF": 254.53,
"ISK": 73.03,
"JPY": 102.75,
"KRW": 1140.02,
"LTL": 4.0454,
"LVL": 0.5916,
"MTL": 0.4151,
"NOK": 8.062,
"NZD": 1.9331,
"PLN": 4.1835,
"ROL": 18273,
"SEK": 8.552,
"SGD": 1.6769,
"SIT": 198.8925,
"SKK": 42.317,
"TRL": 546131,
"USD": 1.009,
"ZAR": 6.2013
}
}
Most requirement which are mentioned in requirements.txt
are out-dated. As they are pinned caused issues if you install the module in a venv
along other modules.
This is a Home Assistant dependency and a lot of users are still using a venv
. In base.txt
for 0.1.1 is the pinning of requests
problematic as 2.10.0 is affected by CVE-2018-18074.
Could you please rework the dependency list for 1.0.0 and soften it? Thanks
As I developer, I need to write the setup script to describe your module distribution to the Distutils.
Get the latest foreign exchange reference rates in JSON format.
GET http://api.fixer.io/latest
{
"base": "EUR",
"date": "2016-05-06",
"rates": {
"AUD": 1.5501,
"BGN": 1.9558,
"BRL": 4.065,
"CAD": 1.4717,
"CHF": 1.107,
"CNY": 7.43,
"CZK": 27.021,
"DKK": 7.439,
"GBP": 0.7885,
"HKD": 8.8678,
"HRK": 7.502,
"HUF": 313.68,
"IDR": 15276.76,
"ILS": 4.3191,
"INR": 76.141,
"JPY": 122.23,
"KRW": 1339.64,
"MXN": 20.5185,
"MYR": 4.5845,
"NOK": 9.3513,
"NZD": 1.6702,
"PHP": 53.884,
"PLN": 4.4198,
"RON": 4.5005,
"RUB": 75.9135,
"SEK": 9.2753,
"SGD": 1.5526,
"THB": 40.189,
"TRY": 3.3363,
"USD": 1.1427,
"ZAR": 17.0959
}
}
Add a code checker (i.e. flake8 or prospector) to analyse Python code and output information about errors, potential problems, convention violations and complexity.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.