Konversi Mata Uang Dengan Yahoo API

Nemu disini.

Misal ingin melakukan konversi US dolar ke rupiah, tinggal buka URL ini di browser:

http://finance.yahoo.com/d/quotes.csv?e=.csv&f=sl1d1t1&s=USDIDR=X

Hasilnya adalah sebuah file CVS, yg berisi:

“USDIDR=X”,9007.50,”12/29/2010″,”1:55am”

Tinggal di-parse. This should come in handy later on…

:mrgreen:

 

 

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s