You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

currency-api-py

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

currency-api-py

A python async wrapper for the currency-api API

0.1.0
pipPyPI
Maintainers
1

currency-api-py

A python async wrapper for the currency-api API

Installation

py -m pip install -U currency-api-py

:: latest (unstable)
py -m pip install git+https://github.com/Marseel-E/currency-api-py

Quickstart

import asyncio

from currencyApi import CurrencyApi

async def main():
	async with CurrencyApi() as session:
		data = await session.convert("eur", "usd")
		print(data)

if __name__ = '__main__':
	asyncio.run(main())

# Output (2022-04-30)
>>> 1.054463

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