 | Level: Intermediate Alex Garrett (alex@thinkpig.org), Senior Consultant, Isthmus Group, Inc.
08 Nov 2005 Create applications in PHP5 that interact with eBay through Web services. Almost half of eBay's transactions occur through its Web services platform. In this tutorial, you'll acquire a solid understanding of the mechanics of the eBay XML API and learn how to use the Services_Ebay PHP extension.
In this tutorial
- Write your own eBay XML API test tool.
- Register users and retrieve their authentication tokens.
- List items with Services_Ebay, either as an API call or as a behavior on the Item model.
- Execute eBay searches through the API.
- Capture the response XML and bypass the models in Services_Ebay.
- Retrieve and handle API errors.
- Debug calls made through Services_Ebay.
- View the internal documentation in each Services_Ebay call class.
Prerequisites
This tutorial assumes that you're comfortable with programming in PHP and have at least a basic understanding of the object model in PHP5. You should also have a basic understanding of XML. You'll be wrangling a lot of it in this tutorial. You should understand the criteria for a well-formed XML document, be comfortable with the terminology used to describe XML, and so on. The final prerequisite for this tutorial is a pretty good understanding of the basic patterns of working with the eBay Web services, especially registering your application with eBay and using the authentication and authorization mechanisms. This subject is discussed at length in the Java SDK tutorial (Develop apps with Web services and the eBay SDK, Part 2).
System requirements
In order to execute the examples, you need to have the following software installed:
Duration
More than two hours
Formats html, pdf
|  | |  |