Теперь для заполнения каталога интернет-магазина не обязательно покупать 1000 обезьянок для ручного перепечатывания данных с магазинов конкурентов.
Делаете такой запрос:
curl -G -H "api_key: SEM3E892B8487C7EA8267E1B0C8CE8345157" https://api.semantics3.com/test/v1/products --data-urlencode 'q={"search":"Samsung Galax*"}'
И получаете такой ответ:
{
"total_results_count": 17050,
"code": "OK",
"offset": 0,
"results_count": 2,
"results": [
{
"cat_id": "23042",
"ean": "0635753498301",
"model": "GT P3113TSYXAR",
"offers_total": 583,
"weight": "344730.20",
"category": "Tablets",
"name": "Samsung Galaxy Tab 2 (7-Inch, Wi-Fi)",
"updated_at": "2013-02-13T11:29:09Z",
"price": "199.00",
"width": "10.41",
"upc": "635753498301",
"brand": "Samsung",
"created_at": "2012-09-26T15:59:46Z",
"sem3_id": "2LRRI5ob8aEIGaKGG2QwKG",
"color": "silver",
"features": {
"Operating System": "Android 4.0 (Ice Cream Sandwich)",
"Audio Ports": "3.5mm (Line-in Mic)",
"Resolution": "1024 x 600",
"HDD": "8GB",
"Bluetooth": "Bluetooth V3.0",
"Tech": "Dual Core",
"Other Features": "MESSAGE- Email (POP3/IMAP/SMTP/SSL/TLS)- Exchange ActiveSync EmailAUDIO FILES- Music: MP3, AAC/AAC+/EAAC+, WMA, OGG (vorbis), FLAC, AC-3- Sound: AMR-NB/WB, WAV, MID, XMF, iMelody, SP-MIDI, RTTTL/RTX, OTAVIDEO FILES- Video: 1080p Playback @ 30fps- Video Codec: Mpeg4, H.264, H.263, VC-1, Divx, VP8, WMV7/8, Sorenson Spark- Format: 3gp(mp4), wmv(asf), avi(divx), mkv, flv, webmIMAGE FILES- GIF- AGIF- JPEG- PNG- BMP- WBMP- WEBPDOCUMENT FILES- Word File: .doc .docx .txt .hwp .rtf- Excel File: .xls .xlsx .csv- PowerPoint: .ppt .pptx .pps- PDF: .pdf",
"Docking Connector": "1",
"Card Reader": "Up To 32GB",
"Display Type": "Wide SVGA",
"blob": [
"Android 4.0 (Ice Cream Sandwich) OS",
"7-inch Multitouch Screen (1024 x 600)",
"8GB Internal Memory; microSD expansion up to 32GB",
"Wireless N Wi-Fi (802.11b/g/n); Bluetooth 3.0",
"1GHz Dual-Core Processor; 1GB RAM"
],
"Part#": "GT-P3113TSYXAR",
"WLAN": "802.11b/g/n Wireless LAN",
"LCD Features": "TFT (PLS)",
"Battery": "4,000mAh Li-Polymer",
"Memory": "1GB",
"CPU Type": "TI OMAP4430",
"Webcam": "3MP rear-facing, VGA front-facing",
"CPU Speed": "1.00GHz",
"Audio": "Stereo Speakers"
},
"mpn": "GT-P3113TSYXAR",
"height": "193.04",
"length": "121.92",
"sitedetails": [
{
"offers_count": 1,
"geo": "usa",
"sku": "1218604366681",
"latestoffers": [
{
"seller": "Best Buy",
"lastrecorded_at": "2012-10-05T23:13:15Z",
"currency": "USD",
"firstrecorded_at": "2012-10-01T06:01:57Z",
"availability": "Available. Shipping: Usually leaves our warehouse in 1 business day.",
"price": "249.99",
"id": "1fbyGcKWkW8qqi8ciaqAuK",
"condition": "New"
}
],
"name": "bestbuy.com",
"url": "http://www.bestbuy.com/site/Samsung+-+Galaxy+Tab+2+7.0+with+8GB+Memory+-+Titanium+Silver/5064393.p?id=1218604366681&skuId=5064393",
"salesrank": "174"
},
{
"offers_count": 3,
"sku": "20666761",
"geo": "usa",
"latestoffers": [
{
"seller": "Walmart",
"lastrecorded_at": "2013-02-13T07:36:40Z",
"firstrecorded_at": "2013-01-06T06:24:09Z",
"currency": "USD",
"availability": "In stock",
"id": "6H6ZhDnwLAQEuCqSMMkm4k",
"price": "199.99"
},
{
"seller": "Walmart",
"lastrecorded_at": "2012-11-29T20:18:20Z",
"firstrecorded_at": "2012-11-28T19:10:00Z",
"currency": "USD",
"availability": "Out of stock online",
"price": "179.99",
"id": "0nXYLa1WasCs24WOe2UM4U"
},
{
"seller": "Walmart",
"lastrecorded_at": "2012-10-05T04:05:00Z",
"currency": "USD",
"firstrecorded_at": "2012-10-05T04:05:00Z",
"availability": "In stock",
"id": "25PdrPsF5wQiyW4AmyiO8G",
"price": "248.00"
}
],
"url": "http://www.walmart.com/ip/20666761",
"name": "walmart.com",
"recentoffers_count": 1
},
{
"offers_count": 3,
"sku": "7019281",
"geo": "usa",
"latestoffers": [
{
"seller": "Frys",
"lastrecorded_at": "2012-11-28T19:10:10Z",
"firstrecorded_at": "2012-11-28T19:10:10Z",
"currency": "USD",
"availability": "Shipping: Available In-Store Only",
"id": "5GHUA87o8eEQmGycMe8Mcc",
"price": "179.99"
},
{
"seller": "Frys",
"lastrecorded_at": "2012-09-26T10:20:00Z",
"firstrecorded_at": "2012-09-26T10:20:00Z",
"currency": "USD",
"availability": "Shipping: In stock, ships same Business Day",
"price": "249.99",
"id": "3ffkLyPUGOCOw4qESqMOAm"
},
{
"seller": "Frys",
"lastrecorded_at": "2013-02-03T10:23:20Z",
"currency": "USD",
"firstrecorded_at": "2013-01-26T21:10:00Z",
"availability": "Shipping: In stock, ships same Business Day",
"id": "1OjT5MVnEaassqsoQ04YWq",
"price": "199.99"
}
],
"url": "http://www.frys.com/product/7019281",
"name": "frys.com",
"recentoffers_count": 0
},
{
"offers_count": 3,
"sku": "N82E16834131287",
"geo": "usa",
"latestoffers": [
{
"seller": "newegg.com",
"lastrecorded_at": "2013-02-13T10:08:20Z",
"currency": "USD",
"firstrecorded_at": "2013-02-11T19:18:20Z",
"availability": "Now: $199.00 [BBX: Buy Box]",
"price": "199.00",
"id": "3cZQSqxDeCiA66wmWeACcq"
},
{
"seller": "Newegg",
"lastrecorded_at": "2013-02-13T10:08:20Z",
"currency": "USD",
"firstrecorded_at": "2013-02-03T09:35:00Z",
"price": "199.00",
"id": "50CKLhuO1AkkOE4YSssGqS"
},
{
"seller": "Newegg",
"lastrecorded_at": "2012-10-20T12:21:29Z",
"firstrecorded_at": "2012-10-20T12:21:29Z",
"currency": "USD",
"availability": "In Stock",
"id": "6RH9a1UhNIgayU6e0Iwgqi",
"price": "249.00"
}
],
"url": "http://www.newegg.com/Product/Product.aspx?Item=N82E16834131287",
"name": "newegg.com",
"recentoffers_count": 2
}
]
},
{
"cat_id": "23042",
"ean": "0635753498493",
"model": "GT P5113TSYXAR",
"offers_total": 608,
"weight": "580598.23",
"category": "Tablets",
"name": "Samsung Galaxy Tab 2 (10.1-Inch, Wi-Fi)",
"updated_at": "2013-02-07T14:06:07Z",
"price": "340.46",
"width": "9.65",
"upc": "635753498493",
"brand": "Samsung",
"color": "Black",
"sem3_id": "6pn5sHhc5AOSgaomqOSYkA",
"created_at": "2012-09-26T15:59:47Z",
"features": {
"blob": [
"Android 4.0 (Ice Cream Sandwich) OS",
"10.1-inch Multitouch 720p HD Screen (1280 x 800)",
"16GB Internal Memory; microSD expansion up to 32GB",
"Wireless N Wi-Fi (802.11b/g/n); Bluetooth 3.0,GPS Enabled with Latitude, Google Maps",
"1GHz Dual-Core Processor; 1GB RAM"
]
},
"mpn": "GT-P5113TSYXAR",
"height": "256.54",
"length": "175.26",
"sitedetails": [
{
"sku": "B007M50PTM",
"geo": "usa",
"latestoffers": [
{
"offers_count": 2,
"geo": "usa",
"sku": "7018011",
"latestoffers": [
{
"seller": "Frys",
"lastrecorded_at": "2012-09-26T10:38:20Z",
"firstrecorded_at": "2012-09-26T10:38:20Z",
"currency": "USD",
"availability": "Shipping: In stock, ships same Business Day",
"price": "399.99",
"id": "5vOhtS8gwCm20SaWi0CuUY"
},
{
"seller": "Frys",
"lastrecorded_at": "2013-02-07T14:05:00Z",
"currency": "USD",
"firstrecorded_at": "2013-01-20T13:15:00Z",
"availability": "Shipping: In stock, ships same Business Day",
"id": "0KthEwsss6YQeowC2U602E",
"price": "349.99"
}
],
"name": "frys.com",
"url": "http://www.frys.com/product/7018011",
"recentoffers_count": 0
}
],
"manufacturer": "Samsung Electronics"
}
]
}
]
}