当前位置: 首页 > 软件库 > Web3 > 开源货币/比特币 >

currency-api

授权协议 Unlicense License
开发语言 Python
所属分类 Web3、 开源货币/比特币
软件类型 开源软件
地区 不详
投 递 者 江礼骞
操作系统 跨平台
开源组织
适用人群 未知
 软件概览

Free Currency Rates API

Fetch-Currencies

In the name of God, who have guided me to do this work

Features:

  • Free & Blazing Fast response
  • No Rate limits
  • 150+ Currencies, Including Common Cryptocurrencies
  • Daily Updated

URL Structure:

https://cdn.jsdelivr.net/gh/fawazahmed0/currency-api@{apiVersion}/{date}/{endpoint}

Formats:

date

The date should either be latest or in YYYY-MM-DD format
Note: Historical rates before 2020-11-22 are not available

The Endpoints Supports HTTP GET Method and returns the data in two formats:

/{endpoint}.json

/{endpoint}.min.json

The above formats also work for fallback i.e if .min.json link fails, you can use .json link and vice versa

Endpoints:

  • /currencies

Lists all the available currencies in prettified json format:
https://cdn.jsdelivr.net/gh/fawazahmed0/currency-api@1/latest/currencies.json

Get a minified version of it:
https://cdn.jsdelivr.net/gh/fawazahmed0/currency-api@1/latest/currencies.min.json

  • /currencies/{currencyCode}

Get the currency list with EUR as base currency:
https://cdn.jsdelivr.net/gh/fawazahmed0/currency-api@1/latest/currencies/eur.json

Get the currency list with EUR as base currency on date 2020-11-24:
https://cdn.jsdelivr.net/gh/fawazahmed0/currency-api@1/2020-11-24/currencies/eur.json

Get the currency list with BTC as base currency:
https://cdn.jsdelivr.net/gh/fawazahmed0/currency-api@1/latest/currencies/btc.json

Get the currency list with BTC as base currency in minified format:
https://cdn.jsdelivr.net/gh/fawazahmed0/currency-api@1/latest/currencies/btc.min.json

  • /currencies/{currencyCode}/{currencyCode}

Get the currency value for EUR to JPY:
https://cdn.jsdelivr.net/gh/fawazahmed0/currency-api@1/latest/currencies/eur/jpy.json

Any Issues: Raise here

Supporters �� :

I would like to thank all the Supporters who have helped in supporting this tool:

  • Shaheen Alhumaydhi
  • Kaushal Parashar
  • Lury Williams
  • Fernando Toribio

Support:

You can help support this Service by as little as $3, because this Service needs regular maintenance to keep it running.
Support Link

Also Please Star this repo by clicking on button above ↗️




✏️ Improve this page

 相关资料
  • Currency: an unobstrusive automatic and real time currency conversion This is a small tool that may prove to be usefull. It permits automatically converting any currency to any other currency on a web

  • ngx-currency Demo https://nbfontana.github.io/ngx-currency/ Table of contents About Installation Documentation Development License About Getting Started Installing and Importing Install the package by

  • react-intl-currency-input A React component for i18n currency input using Intl API. Installation $ npm install react-intl-currency-input --save-dev How to use import React from "react"import IntlCurre

  • 问题内容: 我是Swift编程的新手,我一直在Xcode 8.2中创建一个简单的小费计算器应用程序,在下面的代码中进行了设置。但是,当我实际运行我的应用并输入要计算的金额(例如23.45)时,它会显示超过2个小数位。在这种情况下,如何将其格式化为? 问题答案: 如果要将货币强制为$,可以使用此字符串初始化程序: 如果希望它完全取决于设备的语言环境设置,则应使用。这将考虑到货币的小数位数以及正确放置

  • 问题内容: 例如,中国货币具有代码。由于限制了使用该货币进行的全球自由交易,因此还有另一种等价的“离岸”货币。维基百科对此有一些总结。 在中,提供了一种方法来更新 JVM附带的三个字母代码集。但是,它不能用于在现有的国家/地区代码中添加单独的货币代码:它将替换为,这对我的目的不利。 如何在不覆盖的情况下添加(不在列表中)可用货币集? 换句话说,如何为一个国家获得多个货币代码? 请注意以下问题:如何

  • 我有一个输入字段,它使用JavaScript将数字enteret转换成丹麦货币(20000将显示为20.000,00KR)..在此输入中,我需要验证(使用passley validate)以下内容: 输入的只有数字。 数字介于10000和200000之间。 我尝试使用data-parsley-type=“digits”data-parsley-length=“[5,6]”,该offcause验证该