Skip to content

Latest commit

 

History

History
26 lines (23 loc) · 635 Bytes

README.md

File metadata and controls

26 lines (23 loc) · 635 Bytes

currency_converter

Converts currency using Yahoo Finance API, supports historical date.
###Usage

>>> from currency_converter import convert
>>> convert('USD', 'INR', amount=45233, date='20140506')
2718955.63
>>>

Valid Arguments

  • from_curr Type: String. Valid currency acronym.
  • to_curr Optional. Type: String. Valid currency acronym. default: USD.
  • amount Optional. Type: Float. default: 1.0.
  • date Optional. Type: String. Format: YYYYMMDD.default: None.

###Reference