Giter Site home page Giter Site logo

Comments (2)

peshotan avatar peshotan commented on August 15, 2024

Hi @lakithasahan, it looks like the source_url() (https://api.exchangeratesapi.io/api/) used by the library does not support LKR in it, hence it throws a RatesNotAvailableError.

Following are the currencies supported by the API link:

{
   "rates":{
      "CAD":1.5444,
      "HKD":9.4132,
      "ISK":157.0,
      "PHP":58.379,
      "DKK":7.439,
      "HUF":358.61,
      "CZK":26.08,
      "AUD":1.5709,
      "RON":4.8748,
      "SEK":10.0715,
      "IDR":17126.85,
      "INR":88.5555,
      "BRL":6.5816,
      "RUB":91.2538,
      "HRK":7.563,
      "JPY":125.93,
      "THB":36.405,
      "CHF":1.0789,
      "SGD":1.6099,
      "PLN":4.5465,
      "BGN":1.9558,
      "TRY":8.9269,
      "CNY":7.8537,
      "NOK":10.3873,
      "NZD":1.6793,
      "ZAR":18.4065,
      "USD":1.2143,
      "MXN":24.3386,
      "ILS":3.9692,
      "GBP":0.88698,
      "KRW":1339.51,
      "MYR":4.9161
   },
   "base":"EUR",
   "date":"2021-01-26"
}

from forex-python.

ashwin31 avatar ashwin31 commented on August 15, 2024

this is depending on a free service. We will add optional paid api support soon. someone raise a merge request and it will get merged eventually.

from forex-python.

Related Issues (20)

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.