Thursday, December 18, 2008

REST Describe & Compile - BBC API Walkthru

(My Original Blog Post: -*http://api-madness.com/post/rest-describe-compile-bbc-api-walkthru/)
[youtube]http://www.youtube.com/watch?v=ZlbYxiraW7k[/youtube]

Attention! API Garbage (might be unreadable):

BBC method request

Will go to him by a real-world walk-through this is the website of the BBC meant that you had the BBC is the British broadcasting Corp. president is a Giants allow people greater access to information on the BBC from all the methods of the currently available beta version of the API near having a closer look at the method BBC journalists this method takes just one argument it allows you to specify and response format and have the choice between simple and TV and phone after a check of the response samples I signed for the TV anytime response format now the BBC API documentation allows me to simply check the mythical I have successfully called the BBC channel list method and got a new analyst of fava beans and channels that there seems on BBC2 BBC News 24 etc. etc. in their address bar of the browser you can see the complete request URI if I select everything and off you go festering into the system clipboard now I switch over to rest describe nascent space for the new request sample and then finally pays the festering into the text field after that the list of their address details gets updated and I now have 2 nm one with the Main method in the well new BBC channel list and the other with the name format and a valued TV and now I can start to analyze the request but before digging into the generated outside of exactly reject the best salad and indeed I get the same results I see for so everything s okay-except the request for easier editing message to closely you the application container element and other resources hierarchy seem alright other than the type of the method reader could not be recognized this can easily fixed message to access the string and the symbol of the estimation apologies to just talk manual you have probably noticed that the method reader contains the name of the method to be called to serve both animators are required sausage that required attribute in both cases to true by default they required attributes of his faults and all I want to show you one of my favorite parts of the application that autodiscovery feature for namespace you send to us thanks to this feature of the application contained name spaces and the XML schema embedded API uses in its your dog foods to manner the application executes the code that generated before this is realized by means of a proxy remote edge Expo in BBC API does not include an XML schema however the XML namespace as an independent panel file as a council seat in the metal reach finally none is perfect in the battle for other generates and source code in this case the Jim s PHP five is just the generic rest request superclass and there is the automatically generated BBC channel his request for you to not easily integrate this in PHP classes for the BBC API and whenever she achieved the objective might be looking so much more informational message and compile is available on code.google.com/T./rest API code jam

No comments: