PEAR Articles
  Home arrow PEAR Articles arrow Using Web Service APIs (Amazon and Yah...
Codewalker Forums 
  Tutorials  
Database Articles  
Miscellaneous  
Navigation Usability  
PEAR Articles  
Programming Basics  
Server Administration  
XML Tutorials  
  Reviews  
Database Book Reviews  
Linux Book Reviews  
Miscellaneous Reviews  
PHP Book Reviews  
PHP Software Reviews  
Server Admin Reviews  
SQL Tool Reviews  
  Code Gallery  
Content Management Code  
Contest Code  
Counters Code  
Database Code  
Date Time Code  
Discussion Board Code  
Email Code  
File Manipulation Code  
GUI Code  
Link Farm Code  
Miscellaneous Code  
Search Code  
Site Navigation Code  
User Management Code  
Mobile Linux 
App Generation ROI 
IBM® developerWorks 
Download TestComplete 
Forums Sitemap 
Weekly Newsletter 
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
PEAR ARTICLES

Using Web Service APIs (Amazon and Yahoo!) with PEAR
By: Chris Moyer
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 5 stars5 stars5 stars5 stars5 stars / 2
    2008-07-23

    Table of Contents:
  • Using Web Service APIs (Amazon and Yahoo!) with PEAR
  • Services_Amazon
  • Services_Yahoo
  • Further Steps

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT


    Using Web Service APIs (Amazon and Yahoo!) with PEAR


    (Page 1 of 4 )

    In this third part to a four-part series that takes you on a tour of the PEAR package, you'll learn how to handle Web Service APIs with PEAR. If you've ever used Web Service APIs before, you'll be pleased at how easy this is. If you've never used one, never fear: we start by briefly explaining what they are and what they let you do. Then we'll take a close look at two: one from Amazon, and one from Yahoo.

    About Web Services

    Many modern web sites provide an interface to their data and functionality with an API or Web Service. Many of these services are provided over the web, and are often free to use, although many require you to register and obtain an API key, so they can better track how their services are being used. Generally, you can obtain the key immediately online after providing contact information and agreeing to specific terms of service.

    Within PEAR (PHP Extension and Application Repository), there are pre-written interfaces to many of these services. These packages act as drop-in modules that make connecting to and using these web services very simple. Without using a pre-written library, you'll find yourself writing code to create requests in various formats, parsing XML or other results, and handling varying authentication and error code systems.

    In this article, we'll look at two of theses packages: Services_Amazon and Services_Yahooo. These services allow us to create a storefront and provide search and other analysis capabilities to our end-user. We can provide these capabilities primarily on a site we host, harnessing Amazon and Yahoo! from our PHP code.

    More PEAR Articles Articles
    More By Chris Moyer


     

    PEAR ARTICLES ARTICLES

    - Deleting Authors from a PEAR Content Managem...
    - PEAR CMS: Index and Delete Scripts
    - Listing Articles for a PEAR Content Manageme...
    - Building an Authors Page for a PEAR CMS
    - Building the View Details Page in a PEAR CMS
    - Creating the Main Pages of a PEAR CMS
    - Completing the Login Script for a PEAR CMS
    - User Authentication for a PEAR CMS
    - A PEAR CMS: Examining the Code
    - Building a Content Management System with PE...
    - Installing a PEAR Package
    - My PEAR: The Beginning
    - Using XML_RPC2 with PEAR
    - Using Web Service APIs (Amazon and Yahoo!) w...
    - Database Abstraction with MDB2 from PEAR





    © 2003-2009 by Developer Shed. All rights reserved. DS Cluster 5 Hosted by Hostway
    Stay green...Green IT