How to get weather at current location
let me tell you what you should NOT use.. Google API ( it has been stopped )
http://thenextweb.com/google/2012/08/28/did-google-just-quietly-kill-private-weather-api/
Then, you have other options like
Yahoo Weather API
http://developer.yahoo.com/weather/
Eg.. To get the forecast for Paris, France, with degrees Celsius and other metric units: http://weather.yahooapis.com/forecastrss?w=615702&u=c
for other example visit the link http://developer.yahoo.com/weather/#examples
WunderGround Weather API
http://www.wunderground.com/weather/api/
Another Good Alternate is Open Weather Map API , it supports JSON output by passing just the latitude and longitude of the location.
http://openweathermap.org/wiki/API/JSON_API
Here's a collection of weather APIs that you can experiment with via your browser and then generate source code for in your favorite language:
https://live.temboo.com/library/keyword/weather/
Full disclosure: I work at Temboo.
I have personally used this API its free and you can retrieve weather forecast for any location via postcode, zipcode or latitude and longitude
Free Local Weather REST API
**NOTE:**The Local Weather API returns weather data in XML, JSON and CSV format and contains weather elements like temperature, precipitation (rainfall), weather description, weather icon and wind speed.
**UPDATE:**The www.worldweatheronline.com/ api is not free anymore.
Try these
- accuweather.com
- https://openweathermap.org/
- www.apixu.com