/ Published in: HTML
This is how you get large photos with the eBay Finding API
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<html> <head> </head> <body> <script> function _cb_findItemsByKeywords(root) { var items = root.findItemsByKeywordsResponse[0].searchResult[0].item || []; var html = []; for (var i = 0; i < items.length; ++i) { var item = items[i]; var title = item.title; var pic = item.pictureURLSuperSize; var viewitem = item.viewItemURL; if (null != title && null != viewitem) { } } document.getElementById("results").innerHTML = html.join(""); } </script> <!-- Use the value of your appid for the appid parameter below. --> <script src=http://svcs.ebay.com/services/search/FindingService/v1?SECURITY-APPNAME=carson2e7-8d18-4e3b-8267-5a37144ec50&OPERATION-NAME=findItemsByKeywords&SERVICE-VERSION=1.13.0&RESPONSE-DATA-FORMAT=JSON&callback=_cb_findItemsByKeywords&REST-PAYLOAD&keywords=iphone%6&paginationInput.entriesPerPage=3&outputSelector=PictureURLSuperSize> </script> </body> </html>​
URL: jonah.net