This question is very simple, the Bank of China has a page to check the exchange rate of the day (http://www.bank-of-china.com/info/qpindex.shtml), but is the traditional Html format, and it does not provide Xml format or WebService query. If you want other information systems to read the data at any time, it is convenient that the Bank of China provides a WebService interface for you to call. This is also a typical secure WebService application. Unfortunately, the Bank of China did not do this. Can we do it ourselves? Of course, as long as you use a program to analyze its html webpage, you can easily read the data. Text analysis, of course, depends on our "Regular Expression" (haha, in fact, this is the real purpose of writing this program-apply Regular expressions .)
The BOC page is similar:
Date: 2004/09/30 valid period: 2004/10/07
Currency name current remittance purchase price current banknote purchase price selling price benchmark price
1488.1700
1453.1500
1492.6400
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.