Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Android Build a Weather App Exploring an API The Dark Sky API

The Dark Sky API is GONE. It's been purchased by Apple.

What now???

Alex z
Alex z
9,027 Points

accu weather is legit and have free req, u need to register, get token, req to api is almost similar

4 Answers

Steven Parker
Steven Parker
231,248 Points

Some other popular weather API's (I just found these descriptions online, I don't vouch for any):

  • AccuWeather Enterprise API
    AccuWeather is one of the leading digital weather information providers. According to its website, AccuWeather provides weather forecasts for nearly 3 million locations worldwide, and over a billion people worldwide rely on AccuWeather every day. Its data is available in more than 100 languages and dialects.
  • Yahoo Weather API
    Weather API provided by Yahoo. This will fetch up-to-date weather information for your location including 5-day forecast, wind, atmosphere, astronomy conditions
  • World Weather Online
    Accurate and reliable world weather forecasts, forecasts up to 14 days as well as radar, satellites and historic data. They provide some additional tool like location search API and time zone API.
  • Weatherbit
    Realtime, on-the-fly adjustments, and flagging of data based on live backtesting/verification of model forecasts.
  • Australian Bureau of Meteorology API
    The Australian Bureau of Meteorology is the government agency responsible for providing Australians with assistance in dealing with drought, floods, fires, storms and other harsh weather conditions. The agency also provides a variety of weather, climate and water data, including real-time observations, computer model forecasts and agricultural bulletins.
  • BloomSky
    It can export a given station's latest weather data, pictures, and time-lapse videos. This API is provided by BloomSky, a hyperlocal network of weather cameras that provides real time visual weather information from around the world.
  • Aeris Weather
    Founded in 1996, AerisWeather's mission is to "be the most dependable weather source in the country." The company provides detailed and comprehensive weather information, including local weather forecasts, extended forecasts and weather maps.

i did my with Accu Weather, its easy and similar route

Steven Parker
Steven Parker
231,248 Points

I'll move that one to the top of the list.

Can you share link where we can get API? .. The website Accu Weather is a bit confusing.

Chavey Villegas
Chavey Villegas
8,941 Points

Did you have to pay for an API key?

I was just checking this course to study in a later date and found out that DarkSky API is gone, like said above.

I checked other options and AccuWeather seems to be paid.

I found some 2 popular options to the already cited above ones.

;-)

Another option that you can consider is the Visual Crossing Weather API

https://www.visualcrossing.com/weather-api

The API offers 1000 free records per day including worldwide weather history and forecast data just like Dark Sky. Also, like Dark Sky, you can retrieve data in JSON format (or CSV format if you prefer) so that it is compatible with any project.

The Timeline API designed to easily and directly replace Dark Sky for anyone who wants to learn about APIs as well as those who want to build a serious app.

There is also an online Query Builder page that you can use to build and test queries as well as download data files for later use.

If you have any questions, just reach out to us, and we’ll be glad to help.

--Sam (Full disclosure, I’m from Visual Crossing.)