Reputation: 161
I would like to ask you. How to retrieve image by the specific URL (that I already have)? I found a lots of articles about how to retrieve images and items by some keywords etc. but I don't need that search.
I tried to make a crawler to get the image, but it's impossible until I don't use the ebay API (the url to image is hidden).
Is it possible to retrieve images even if I don't want to use ebay AppID, so just somehow crawl the page?
I am not sure what solutions I can get, but I need to use it with PHP
Upvotes: 1
Views: 2976
Reputation: 2878
Without API you can just use
http://i.ebayimg.com/images/i/1234567890123-0-1/s-l250/p.jpg
http://i.ebayimg.com/images/i/[EbayId]-0-1/s-l[width]/p.jpg
Upvotes: 4
Reputation: 308
Here is an example of how to get the pictures via the API, just replace your appid and the item id you want (the pictures are in Item->PictureURL):
http://open.api.ebay.com/shopping?callname=GetSingleItem&responseencoding=JSON&appid=YOURAPPID&siteid=0&version=939&ItemID=ITEMID
Upvotes: 1