Now that we have secured our foundation for building the Weather
app, it's time to look at the WeatherBug
API, understand the API calls, and understand how we can build our app around it. For the purpose of our Weather App
, we are considered about the following Weather
API calls: Live Weather, Forecast, and Alerts. Let us look at how the WeatherBug
API solves our requirement for the three mentioned Weather
queries.
Register for the WeatherBug
API at http://weather.weatherbug.com/desktop-weather/api-register.html.
The documentation can be found at http://weather.weatherbug.com/desktop-weather/api-documents.html.
Keep the API key handy.
The following Weather
services are offered by WeatherBug:
Location search |
Weather Camera search |
Live Weather |
Compact Live Weather |
Forecast |
Weather Alerts |
Weather Station search |
We will focus on the API calls for
Live Weather:
http://api.wxbug.net/getLiveWeatherRSS.aspx?ACode=xxxxxxxxxxx...