Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Jon's Ramblings:
Using Services_Google (PEAR)
Aug 09, 2004 @ 12:18:23

In a new posting on Jon's Ramblings (one of the PEAR developers working with the Auth_PrefManager, Auth_Enterprise, and Services_Google packages), he talks about one of his packages he maintains - Services_Google.

Since there's currently a lack of documentation for it, I thought I'd do a quick entry on using the Services_Google package. The package allows you to access the Google Web APIs using the Iterator interface available in PHP 5.

The weblog posting continues on to show some (simple) sample code as a guide to using this package. It not only allows you to do the obvious searches against Google's data, but it will also give you spelling suggestions and even fetch the cached version of a web page. It's a pretty powerfull little package, and, if you don't have the time to write it all yourself, Services_Google can make life a whole lot easier...

UPDATE: Jon has posted a more extended version concerning his Advanced Services_Google PEAR package. He provides sample code and a listing of the search parameters/options the package allows.

tagged:

Link:


Trending Topics: