Android的 - 如何获取货币汇率 [英] Android - How to retrieve currency exchange rates
问题描述
我想开发一个简单的外汇应用程序为Android。 要开始了,我需要的货币汇率,说在过去的一年。
I'm trying to develop a simple Forex app for Android. To start off, I need to get the currency exchange rates, say for the past year.
可能有人建议我怎么能去呢? 我看着谷歌financh API,但怎么也找不到检索汇率。 任何的建议是AP preciated。
Could anybody advice how I can go about this? I looked in Google financh API but couldn't find how to retrieve currency rates. Any advice is appreciated.
感谢你。
推荐答案
您可以从联邦储备分析数据。它由国家分离的历史数据。你可以在这里找到的链接:
You can parse the data from the federal reserve. It has historical data separated by country. You can find the link here:
http://www.federalreserve.gov/releases/h10/Hist/
给出的数据是在纯ASCII,使它很容易解析。
Data is given in plain ascii, making it very easy to parse.
这篇关于Android的 - 如何获取货币汇率的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!