Json meklēšana

Json piemērs:
http://www.csv.lv/api/json/?q=htc%20x%20one&page=1

Meklēšanas piemēra rezultāts:
{
   "result":[
      {
         "id":"3605578",
         "weight":"10002",
         "intid":"3605578",
         "name":"HTC ONE X S720e 16GB white",
         "price":258.58,
         "link":"http:\/\/www.xp.lv\/?lang=lv&p=catalog&tid=1&sid=6&do=details&id=5329",
         "country_int":"1",
         "last_record_updated":51,
         "image":"http:\/\/www.xp.lv\/res\/wares\/1334069509.3165.jpg",
         "currency":"LVL",
         "website_domain":"xp.lv",
         "wei":"10002",
         "w":"1",
         "prices":258.58,
         "plain_name":"HTC ONE X S720e 16GB white",
         "count":0,
         "website_domain_full":"http:\/\/www.xp.lv\/",
         "shortname":"HTC ONE X S720e 16GB white"
      },
	{
	...
	}
}


Meklēšanas parametri:

Parametrs Tips Parametra apsraksts
q String (obligāts) Pieprasijuma atslēgvārds
page int Lapas numurs (sākas no pirma)
minprice float minimāla cena
maxprice float maksimāla cena
shop_name String Veikala nosaukums