仕事で為替レートを扱う必要があったのでちょっと調べてみました。 海外にあるAPIは有料だったり、Yahooファイナンスからゴニョゴニョするのもコード見たらめんどくさそうだ・・・とか思ってたらGoogle先生にステキなAPIを見つけました。 http://www.google.com/ig/calculator?hl=ja&q=変換前の通貨=?変換後の通貨 // 1アメリカドル を日本円に http://www.google.com/ig/calculator?hl=ja&q=1USD=?JPYPHPで書くとこんな感じで使えます。APIレスポンスのままだとjson_decode()が文字列のパースに失敗してたのでkey値を「"」で囲ってます(ダサイ・・)。 <?php $data = file_get_contents('http://www.google.com/ig/calculator
Easy to Integrate Integrating Xurrency into your site is easier than ever. Check out our API documentation to get some insights into how the API works. Get the latest Forex Rates Our data is updated throughout the day to provide the latest rates. We are offering more than 30 values of currency available.
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く