Giter Club home page Giter Club logo

fixerio's People

Contributors

amatellanes avatar waffle-iron avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

fixerio's Issues

Change currency to quote a rate

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
    }
}

Bump version 0.1

  • Update release date in CHANGELOG.rst
  • Freeze requirements version (setup script tests_require field)
  • Enable readthedocs page

Changing base currency

In the recent release, there is no proper documentation for changing the base currency. Much appreciated. Thanks.

1.0.0 release on PyPi

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!

Get historical rates

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
    }
}

Remove pinning

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

Write the Setup Script

As I developer, I need to write the setup script to describe your module distribution to the Distutils.

Get the latest foreign exchange

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
    }
}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.