Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Building Compelling Applications Using eBay API Platform


Published on

Get up-to-speed on the range of Web Services/APIs offered by the eBay Developers Program. You'll learn best-practices and how to leverage these services to build compelling apps on the eBay platform.

  • Hi my name is Tonya with TonyasDynamicDesigns.
    I am an eBay Stores Designer. I know HTML, XHTML, and CSS code
    to create eBay Auction Listing Templates and eBay Store Designs.
    I want to learn how to get started with eBay API. I am totally new to
    learning about API. Do you know of any websites that can help me
    to learn API from the ground up?

    Thank you so much,
    Are you sure you want to  Yes  No
    Your message goes here

Building Compelling Applications Using eBay API Platform

  1. 1. BUILDING COMPELLING APPLICATIONS USING eBay API PLATFORM Rekha Patel, Staff Developer Technical Support Engineer
  2. 2. AGENDA <ul><li>API Products </li></ul><ul><li>Making an API Call with APPID: Demo </li></ul><ul><li>Making an API Call with User Token: Demo </li></ul>
  3. 3. THE POSSIBILITIES Widgets Gadgets Plug ins Mobile Applications Toolbars and more ….
  4. 4. API FUNCTIONALITY <ul><li>APIs give you most of the functionality available on the eBay website: </li></ul><ul><ul><li>List items and manage inventory </li></ul></ul><ul><ul><li>Find items and purchase them </li></ul></ul><ul><ul><li>Integrate with fulfillment systems </li></ul></ul><ul><ul><li>Manage communications </li></ul></ul><ul><ul><li>Manage user accounts </li></ul></ul><ul><li>API request format: </li></ul><ul><ul><li>XML </li></ul></ul><ul><ul><li>SOAP </li></ul></ul><ul><ul><li>Name-Value Pair (NVP) </li></ul></ul><ul><ul><li>JavaScript Object Notation (JSON) </li></ul></ul>
  5. 5. API PRODUCTS <ul><li>Product overview: </li></ul><ul><li>API by feature: </li></ul>
  6. 6. API PRODUCTS <ul><li>Product overview: </li></ul><ul><li>API by feature: </li></ul>
  7. 7. API PRODUCTS <ul><li>Product overview: </li></ul><ul><li>API by feature: </li></ul>
  8. 8. API PRODUCTS <ul><li>Product overview: </li></ul><ul><li>API by feature: </li></ul>
  9. 9. GETTING STARTED <ul><li>Step 1: </li></ul><ul><li>Join the developer program: </li></ul><ul><li> </li></ul><ul><li>Step 2: Get your keyset: </li></ul><ul><li> </li></ul>Sandbox is different from Production. Keyset cannot used interchangeably.
  10. 10. AUTHENTICATION FOR APIs <ul><li>APIs that need just the AppID </li></ul><ul><ul><li>Finding </li></ul></ul><ul><ul><li>Shopping </li></ul></ul><ul><ul><li>Merchandising </li></ul></ul><ul><ul><li>Price research </li></ul></ul><ul><ul><li>Advanced research </li></ul></ul><ul><ul><li>Client alerts (public alerts) </li></ul></ul><ul><li>APIs that need user token </li></ul><ul><ul><li>Trading and platform notifications </li></ul></ul><ul><ul><li>Large merchant services </li></ul></ul><ul><ul><li>Feedback </li></ul></ul><ul><ul><li>Best match </li></ul></ul><ul><ul><li>Client alerts (user alerts) </li></ul></ul><ul><ul><li>Selling Manager Apps </li></ul></ul>
  11. 11. AGENDA <ul><li>API Products </li></ul><ul><li>Making an API Call with APPID: Demo </li></ul><ul><li>Making an API Call with User Token: Demo </li></ul>
  12. 12. MAKING AN API CALL WITH APPID: DEMO <ul><li>Writing a simple search application using the Finding API </li></ul><ul><ul><li>Components for constructing the request: </li></ul></ul>Component Values Server URL Required parameters SERVICE-VERSION=1.0.0 SECURITY-APPNAME=eBayAPID-73f4-45f2-b9a3-c8f6388b38d8 OPERATION-NAME=findItemsByKeywords keywords=harry%20potter%20phoenix Defaults GLOBAL-ID=EBAY-US REQUEST-DATA-FORMAT=NV RESPONSE-DATA-FORMAT=XML Filters itemFilter.value=10.00 itemFilter.paramName=Currency itemFilter.paramValue=USD buyerPostalCode=95125 itemFilter.value=25 paginationInput.pageNumber=1 paginationInput.entriesPerPage=3 Output parameters outputSelector=SellerInfo
  13. 13. OBSERVATIONS FROM THE DEMO <ul><li>Information returned in the response can vary by eBay site. </li></ul><ul><li>The request version is honored but the response version is always the latest. </li></ul><ul><li>DateTime values are always in GMT. </li></ul><ul><li>You can control the amount of information returned using pagination, filters, and output selector. </li></ul>
  14. 14. AGENDA <ul><li>API Products </li></ul><ul><li>Making an API Call with APPID: Demo </li></ul><ul><li>Making an API Call with User Token: Demo </li></ul>
  15. 15. MAKING A TRADING API CALL WITH USER TOKEN: DEMO <ul><li>Create a user: </li></ul><ul><ul><li>Production – </li></ul></ul><ul><ul><li>Sandbox – Sandbox User Registration Tool </li></ul></ul><ul><li>Generate a user token: </li></ul><ul><ul><li> </li></ul></ul><ul><li>Use the API test tool: </li></ul><ul><ul><li> </li></ul></ul><ul><ul><li>Select the environment </li></ul></ul><ul><ul><li>Keyset </li></ul></ul><ul><ul><li>API </li></ul></ul><ul><ul><li>Site </li></ul></ul><ul><ul><li>Use call template or insert your request </li></ul></ul><ul><ul><li>Submit request </li></ul></ul>
  16. 16. DESIGN CONSIDERATIONS <ul><li>Use the API with the least authentication. </li></ul><ul><li>Use the Sandbox to test if you “write” data. </li></ul><ul><li>Implement retries for eBay server and network errors. </li></ul><ul><li>Implement best practices in the documentation and knowledge base. </li></ul><ul><li>Ask for only as much data as you need. </li></ul><ul><li>Implement logging, especially for selling applications. </li></ul><ul><li>User tokens expire every 18 months. Renew them before expiration. </li></ul><ul><li>Plan to update your application at least once in 6 months. </li></ul>
  17. 17. CONCLUDING THOUGHTS <ul><li>Estimate your call limit (usually 5,000) and see if you need more than the defaults: </li></ul><ul><li> </li></ul><ul><li>File a compatible application check to increase call limit: </li></ul><ul><li> </li></ul><ul><li>Use API call use report to monitor Trading API call usage: </li></ul><ul><li> </li></ul>
  18. 18. MORE INFORMATION <ul><li>Documentation </li></ul><ul><li> </li></ul><ul><li>Developer tool </li></ul><ul><li> </li></ul><ul><li>Code samples </li></ul><ul><li> </li></ul><ul><li>Knowledge base </li></ul><ul><li> </li></ul><ul><li>System announcements </li></ul><ul><li> </li></ul><ul><li>Forums </li></ul><ul><li> </li></ul><ul><li>Developer support </li></ul><ul><li> </li></ul>
  19. 19. LEARN AND SHARE <ul><li> </li></ul><ul><li>Twitter:  @paypalx </li></ul><ul><li> </li></ul><ul><li>Innovate 09 hashtag:  #ppxi09 </li></ul>LEARN AND SHARE Twitter: @paypalx Innovate 09 hashtag: #ppxi09 Proprietary