GithubHelp home page GithubHelp logo

iamdual / doviz.dev Goto Github PK

View Code? Open in Web Editor NEW
7.0 4.0 0.0 68 KB

💱 Free exchange rate API.

Home Page: https://doviz.dev

License: Apache License 2.0

JavaScript 100.00%
exchange-api exchange-rate forex foreign-exchange foreign-exchange-rates doviz dovizkurlari

doviz.dev's Introduction

Deploy Doviz.dev to GitHub Pages

This repository provides an exchange rate API via GitHub Pages. All exchange rates are obtained from open sources (like central banks).

Usage

curl https://doviz.dev/v1/{currency_code}.json

The currency code must be lowercase. Supported currencies are listed below.

Example response:

{
  "USDTRY": 23.7169,
  "TRYUSD": 0.04216402649587425,
  "AUDTRY": 16.4238,
  "TRYAUD": 0.060887248992316026,
  "EURTRY": 25.9662,
  "TRYEUR": 0.03851160354614845,
  "GBPTRY": 30.4036,
  "TRYGBP": 0.03289084187398861,
  "CHFTRY": 26.6672,
  "TRYCHF": 0.0374992500149997,
  "JPYTRY": 0.168983,
  "TRYJPY": 5.917755040447856,
  "_meta": {
    "base": "TRY",
    "source": "tcmb.gov.tr",
    "generated_at": "2023-06-18T16:24:03.281Z",
    "updated_at": "2023-06-16T12:30:00.000Z"
  }
}

Supported currencies

Code Source API Link
USD floatrates.com https://doviz.dev/v1/usd.json
EUR ecb.europa.eu https://doviz.dev/v1/eur.json
TRY tcmb.gov.tr https://doviz.dev/v1/try.json
AUD rba.gov.au https://doviz.dev/v1/aud.json
DKK nationalbanken.dk https://doviz.dev/v1/dkk.json
CAD bankofcanada.ca https://doviz.dev/v1/cad.json
PLN nbp.pl https://doviz.dev/v1/pln.json

F.A.Q.

  • Is it free to use?

    Yes. This is an open source project and everyone can access it for free.

  • Is there any limit?

    It depends on GitHub. Currently GitHub Pages bandwidth limit is 100GB monthly, GitHub says. So, please cache the response and use sparingly.

  • How often is it updated?

    It depends on the sources. Exchange rates are usually updated daily for central banks. But we fetch data and generate JSON files every 10 minutes.

  • Why would we need this?

    Doviz.dev converts data with varying structures from different sources into a standard format.

  • What "doviz" means?

    "Döviz" (dö·viz) is a Turkish word means "foreign currency".

  • Which sources using?

    We use several open sources to obtain exchange rates. Some sources we use are listed here.

Contributing

Please feel free to create pull request or create an issue.

License

Apache License 2.0 - Ekin Karadeniz ©2024

doviz.dev's People

Contributors

iamdual avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

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.