Valūtu kursi no bank.lv

Parametri

Query string parametrs Apraksts
date Datums yyyy-mm-dd formātā. Atstāt tukšu, lai atlasītu šodienas datus.

XML paraugs

http://apis.lv/currencyrates.xml?key=APIKEY&date=2011-11-11
<?xml version="1.0" encoding="utf-8"?>
<xml>
  <item>
    <currency_id>AED</currency_id>
    <units>1</units>
    <rate>0.1410</rate>
  </item>
  <item>
    <currency_id>AUD</currency_id>
    <units>1</units>
    <rate>0.5260</rate>
  </item>
</xml>

JSON paraugs

http://apis.lv/currencyrates.json?key=APIKEY&date=2011-11-11
[
  {
    "currency_id": "AED",
    "units": 1,
    "rate": "0.1410"
  },
  {
    "currency_id": "AUD",
    "units": 1,
    "rate": "0.5260"
  }
]