Skip to main content

Python command line application for currency convertion

Project description

# Terminal-currency-converter

This is a rest based service written with python that uses the existing https://api.ratesapi.io service to get the JSON output for all the currencies with respect to a base currency. Usually the base currency can be altered according to the users needs.

A simple get call example can explain the working

` https://api.ratesapi.io/api/latest?base=USD ` The above example returns a JSON that contains the corresponding values of the present day currency with respect to the base currency provided in the URL.

## Getting Started The python file p.my provides the wrappers for terminal level access.

The input parameters are : ` python m.py valueOfCurrency BaseCurrency ResultantCurrency ` Example:

` python m.py 20 usd inr `

` python m.py 19 AUD EUR ` ## Installation

Brew setup is yet to be integerated.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cconvert-1.2.tar.gz (3.0 kB view hashes)

Uploaded Source

Built Distribution

cconvert-1.2-py3.5.egg (5.9 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page