Skip to main content


developerWorks  >  SOA and Web services | Open source | XML  >

Develop apps with Web services and the eBay SDK, Part 3: Develop eBay applications with PHP5 and Web services

developerWorks

Level: Intermediate

Alex Garrett (alex@thinkpig.org), Senior Consultant, Isthmus Group, Inc.

08 Nov 2005

Register now or sign in using your IBM ID and password.

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:

  • PHP5
  • CURL
  • OpenSSL


Duration

More than two hours


Formats

html, pdf


Share this....

digg Digg this story del.icio.us del.icio.us Slashdot Slashdot it!


Back to top


Document options

Document options requiring JavaScript are not displayed


Learn and share!

Exchange know-how with your peers -- try our new Pass It Along beta app


More in this series:
Develop apps with Web services and the eBay SDK