The following tutorials have been written specifically for the Shopping API:
| Tutorial | Description | Complete Source Code |
|---|---|---|
| JavaScript Tutorials (using API directly) | ||
| JavaScript (URL/JSON): Making your first call (FindItems) | In this tutorial you use JavaScript to write a FindItems call to search for eBay listings based on a keyword. You specify that the response to your call is in JavaScript Object Notation (JSON) format. This tutorial shows how easy it is to use the eBay Shopping API. The tutorial utilizes a single JavaScript function for displaying the results in a browser. | JS_SearchGS_NV_JSON.zip |
| PHP Tutorials (using API directly) | ||
| PHP (URL/XML): Making your first call (FindItems) | In this tutorial you use PHP to write a FindItems call in URL format to search for eBay listings based on a keyword. You specify that the response to your call is in XML format. This tutorial shows how easy it is to use the eBay Shopping API. | PHP_SearchGS_NV_XML.zip |
| PHP (XML/XML): Making your first call (FindItems) | In this tutorial you make a PHP application that makes a FindItems call to search for eBay listings based on a keyword. The call request is in XML format and is routed using the HTTP POST protocol. You specify that the response to your call is in XML format. This tutorial shows how easy it is to use the eBay Shopping API. | PHP_SearchGS_XML_XML.zip |
| PHP (URL/XML): Complex searching (FindItemsAdvanced) | This tutorial shows how to use the eBay Shopping API to perform complex searches. Specifically, you use PHP to write a keyword-based FindItemsAdvanced GET request to search for eBay listings and display the results in three price ranges. You specify that the response to your call is formatted as XML, and that the browser displays the results in an HTML table. | PHP_SearchInterm_NV_XML.zip |
| PHP (URL/XML): Getting user information and items ending soonest (FindItemsAdvanced/GetUserProfile) | The objective of this tutorial is to write an application that retrieves items based on a seller ID, retrieves information about a seller and a link to the seller's My World profile, and includes affiliate parameters in the API calls for earning money through the eBay Partner Network. | PHP_FIA_GUP_Interm_NV_XML.zip |
| JavaScript SDK Tutorials | ||
| JavaScript: Searching by Price Range (FindItemsAdvanced) | In this tutorial, you will create a JavaScript application that searches the eBay site for items matching an advanced Shopping API query. The sample application displays the results as a list of links to the item listings on the eBay site. The application uses the eBay Shopping JavaScript SDK, which hides low-level interaction with the API platform and lets you program to interfaces. | Please see the FindItemsAdvanced sample files located within the /samples directory of the eBay Shopping JavaScript SDK. |
| JavaScript: Getting user information and items ending soonest (FindItemsAdvanced/GetUserProfile) | In this tutorial, you create a small Javascript application that searches the eBay site for a specific seller's items that are ending soonest, as well as the seller's public eBay member information. This tutorial shows how simple it is to use two calls together to create a useful application. | Please see the GetUsersProfile sample files located within the /samples directory of the eBay Shopping JavaScript SDK. |
| Flex/Flash SDK Tutorials | ||
| Flex: Searching by Price Range (FindItemsAdvanced) | In this tutorial you will create a Flex application that searches the eBay site for items matching a Shopping API advanced query. The sample application displays the results as a list of links to the item listings on the eBay site. The application uses the eBay Shopping Flex/Flash SDK, which hides low-level interaction with the API platform and lets you program to interfaces. | Please see the FindItemsAdvanced sample files located within the /Samples/Flex/FindItemsAdvanced directory of the eBay Shopping Flex/Flash SDK. |
| Flash: Searching by Price Range (FindItemsAdvanced) | In this tutorial, you will create a Flash CS3 application that searches the eBay site for items matching an advanced Shopping API query. The sample application displays the results as a list of links to the item listings on the eBay site. | Please see the FindItemsAdvanced sample files located within the /Samples/Flash directory of the eBay Shopping Flex/Flash SDK. |
| Flex: Getting user information and items ending soonest (FindItemsAdvanced/GetUserProfile) | In this tutorial, you will create a Flex Builder 2 application that searches the eBay site for a specific seller's feedback and available items, using both the FindItemsAdvanced and GetUserProfile calls. | Please see the the FindItemsAdvanced and GetUserProfile sample files located within the /samples directory of the eBay Shopping Flex/Flash SDK. |
| Flash: Getting user information and items ending soonest (FindItemsAdvanced/GetUserProfile) | In this tutorial, you will create a Flash CS3 application that searches the eBay site for a specific seller's feedback and available items, using both the FindItemsAdvanced and GetUserProfile calls. | Please see the GetUserProfile sample files located within the /Samples/Flash directory of the eBay Shopping Flex/Flash SDK. |
To see tutorials for other eBay products, visit the Tutorials page on the eBay Developers Program site.
© 2008 eBay Inc. All rights reserved.
eBay and the eBay logo are registered trademarks of eBay Inc.
All other brands are the property of their respective owners.