Coder Social home page Coder Social logo

xenonlab / xecd-rates-client-python Goto Github PK

View Code? Open in Web Editor NEW
15.0 15.0 10.0 18 KB

REST Client

Home Page: http://www.xe.com/xecurrencydata/

License: Mozilla Public License 2.0

Python 92.52% Makefile 7.48%
converter currency data python python-library sdk xe

xecd-rates-client-python's People

Contributors

aerrus avatar eanushan avatar etraikov avatar igoldbrown avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

xecd-rates-client-python's Issues

Accessing the API

How should I pass the Account API ID and Account API Key to use the API?

I am trying like so:
.ENV file

ACCOUNT_ID = os.getenv('XE_ACCOUNT_ID')
API_KEY = os.getenv('XE_API_KEY')

Function:

    response = requests.get(
        f"https://xecdapi.xe.com/v1/currencies.json?name={ACCOUNT_ID}&password={API_KEY}"
    )
    data = response.json()

I have used "api_key" and "account_id" also.

Not correct add options

Hello! I try to add options options={'decimal_places': decimal_places} in history_rate func, but it's add it to ops dict, not to 'qs'. When i change ops.update(options) to ops['qs'].update(options) it start work correctly

python packaging

The python installation does not seem to provide valid access to the XecdClient library.

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.