Posted by jay on December 7, 2006 under PHP |
This is another little project that I’ve been hacking around with which simply uses the Yahoo! Video and YouTube Search Service API’s and just for fun phpFlickr to find videos and images.
I’ve managed to figure out that making a REST request can be broken down to 6 lines of code. Six!
- The WebService URL
- 4 Lines of code to set up curl
- A line that converts the Xml Response into an SimpleXmlObject Array()
Read more of this article »
Posted by jay on under API, PHP |
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 more of this article »