I have started a Google Projects Page for my phpYahoo project as well as a new demo site.
I did some extensive work on the class recently by adding caching as well as expanding the search functions to allow searching by either a single string parameter or and array of parameters.
Links
*updated - 2007-01-26*
phpYahoo is a class written in PHP5 that act’s as a wrapper for Yahoo’s! Web Search API. Methods process the response XML and return an array of data to make development easier. With this class you can search for Yahoo! Web content, Yahoo! Videos or Yahoo! Images.
This class follows a similar pattern like phpNapster class.
Read the rest of this entry »
phpNapster is an Unofficial Napster Search API written in PHP5. The origin comes from here and I have merely wrapped it up in a neat package.
This class allows you to search Napster via Artist, Album or Track but be fore warned that if the results come back empty Napster displays an HTTP 404 type of error page and the SimpleXML Object tends to barf on it self.
Read the rest of this entry »
For a few months now I have been playing around with some of the cool API’s listed at ProgrammableWeb. As fun as it is to use these web services it’s not fun trying to get your head around the Request/Response aspects of web http requests. When it comes to .NET and Web Services its is pretty simple because VisualStudio does most of the dirty work and gives you back a class to program against. But when it comes to PHP and Web Services you are pretty much on your own.
In this short hack I am doing to demonstrate how to make a Web Service request using REST.
Read the rest of this entry »