should help you out As you discovered, you don't need the API to construct a simple eBay view item landing page URL. The URL format you discovered works, but it's very old and might not be supported in full or for much longer.
Any of those help This isn't tested, just wrote it out real quick. It should at the very least give you the general idea. It assumes that the id will always be the segment of the url after the last /. If thats not the case, this answer will be pretty useless.
$ebayUrl = "http://www.ebay.com/ctg/TomTom-XXL-550M-US-including-Puerto-Rico-Canada-Mexico-Automotive-GPS-Receiver-/86127922?";
$pos = strrpos($ebayUrl, '/') + 1;
$id = substr($ebayUrl, $pos);
//if you want to remove the question mark left at the end
$id = str_replace("?", "", $id);
c# : how to get all item url based on a keyword using FindingAPI of ebay
wish helps you By default, the response returns the first page of data up to a maximum of 100 items. You can change this value with paginationInput. On the official eBay documentation for findItemsByKeywords, there is a section entitled Paginating the Results which tells you exactly what you need to know:
Ebay Api Sort the searched result based on watchcount of item
I wish did fix the issue. Ebay Api end point "findItemsAdvanced" and "findItemsByKeywords" return the searched items and has their sorting techniques but sortOrder "WatchCountDescending" is not applicable. , This currently doesn't appear possible in the eBay API.
like below fixes the issue You have too many layers in your code and I'm assuming a few things (use of SimpleXML and that there is another layer of data above what you show). But a simple version of the output would be like...