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.
By : Motyar+ @motyar
Second, Do you know how can I get the image URL for each link in google news??
The weather google api cannot be used. They treat thee request to get the xml file as an automated query, and just outputs this message:
We’re sorry… … but your computer or network may be sending automated queries. To protect our users, we can’t process your request right now.