我正在尝试访问此API https://api.fixer.io/latest?base=USD
,但我注意到,它只显示了31个国家/地区的货币,而我想要所有货币。
我用Google搜索了,但没有得到任何答案。
以下是回复:
{"base":"USD","date":"2017-06-23","rates":{"AUD":1.3214,"BGN":1.7505,"BRL":3.3378,"CAD":1.3231,"CHF":0.97118,"CNY":6.8391,"CZK":23.536,"DKK":6.6564,"GBP":0.78587,"HKD":7.7998,"HRK":6.6258,"HUF":276.68,"IDR":13305.0,"ILS":3.5418,"INR":64.532,"JPY":111.3,"KRW":1137.7,"MXN":18.045,"MYR":4.288,"NOK":8.468,"NZD":1.3734,"PHP":50.226,"PLN":3.7877,"RON":4.0916,"RUB":59.669,"SEK":8.7443,"SGD":1.3869,"THB":33.945,"TRY":3.5116,"ZAR":12.936,"EUR":0.89501}}
答案 0 :(得分:1)
我已经使用该API制作了货币转换器应用程序,但我不知道有任何更好的资源。 我认为它提供有限的货币,因为修理商从欧洲中央银行获取数据,该中央银行仅提供这些特定货币。 点击这里: https://www.ecb.europa.eu/stats/policy_and_exchange_rates/euro_reference_exchange_rates/html/index.en.html