Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

freecurrencyapi

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

freecurrencyapi

Freecurrencyapi Python Client

  • 0.1.0
  • PyPI
  • Socket score

Maintainers
1

freecurrencyapi Python Client

Freecurrencyapi Python Client is the official Python Wrapper around the freecurrencyapi API.

Installation

Install from pip:

pip install freecurrencyapi

Install from code:

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?

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

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

Retrieve Status


print(client.status())

Retrieve Currencies

https://freecurrencyapi.com/docs/currencies


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

Retrieve Latest Exchange Rates

https://freecurrencyapi.com/docs/latest


result = client.latest()
print(result)

Retrieve Historical Exchange Rates

https://freecurrencyapi.com/docs/historical


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

Contact us

Any feedback? Please feel free to contact our team.

Keywords

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc