Nov 3, 2011
i Google's Secret XML APIsI think you all know about iGoogle, Who they dont know can check it out here http://www.google.com/ig. iGoogle is personalized Google home page you can add Gadget that can show you information about Weather, Stocks, currencies etc.
Today in this post we are going to know about few of Google's secrete XML APIs, that make these Gadget work. And good news is that these are open APIs, that mean you have no need to use any key, or authentication mechanism to get data. You just have to parse these XML API data in your code.
Okey let me list out few of them.
Google's Weather APIYou can use this API to show weather reports and weather forecasts for a city, it works for all the cities of world. Here is the Mountain View's weather report http://www.google.com/ig/api?weather=Mountain+View
You should check this post too Weather forecast php application in 7 lines
Google's Movies APIOk movies lover? Want to get report about the movies running in your Theaters? Here is the API -
http://www.google.com/ig/api?movies=chandigarh. You can replace Chandigarh with your own city name.
Google's Stock APIThis API will provide you information about Stock values.
Google's own stock -
Google's News APIHere is the Google's News API, showing top news of today
You can translate them to any language using &hl parameter like -
If you need local news change the URL to your countries Google URL, for India its http://www.google.co.in/ig/api?news
Go write your own weather widgets!!!
I hope this post will be very useful for you. You can use these XML APIs for personal use, I suggest not use in a client project, because Google can make them stop anytime.
If anything helps, feel free to buy me a beer.
By : Motyar+ @motyar