OpenWeatherMap API vs Wunderground API?

I don't see a lot of information available comparing the available weather APIs. What is the difference between OpenWeatherMap and Wunderground. I see that the paid version of Wunderground has slightly higher tiers with more features, but the free OpenWeatherMap tier allows for a huge number of apps.

Are there implementation tradeoffs that aren't obvious?

+3


source to share


3 answers


Here's a comparison of the various weather forecast APIs:

7 Weather Forecast API for Application Development

It contains a comparison of the following:

  1. Open weather map
  2. AccuWeather
  3. Weather Channel
  4. Dark sky
  5. APIXU Weather API
  6. World Weather Online
  7. Weatherbit.io

Here is the text of the article:

1. Open the weather map

The OpenWeatherMap service provides free weather and forecast APIs suitable for any map service such as web and smartphone apps.

The ideology is inspired by OpenStreetMap and Wikipedia, which make information free and accessible to everyone.

OpenWeatherMap provides a wide range of weather data such as current weather map, weekly forecast, precipitation, wind, clouds, weather station data, and more. Weather data comes from the Global Weather Broadcasting Services and over 40,000 weather stations.

You can receive any weather data for your application using JSON / XML API

Price: Free ( see details )

API: http://www.openweathermap.com/API

2. AccuWeather

AccuWeather provides premium weather forecasting services worldwide. The AccuWeather API provides subscribers with location-based weather data access through a simple RESTful web interface. Data is available in over 40 languages ​​and dialects. Data responses are returned in JSON and JSONP. SSL encryption is also available for secure communication.

An API key is required to access the AccuWeather API. Contact sales@accuweather.com to get your API key.

Update: AccuWeather now offers a new API developer portal for easier API access: https://developer.accuweather.com/

Price: Premium (contact sales@accuweather.com )

API: http://api.accuweather.com/

3. Weather channel

The Weather Channel (Weather.com) is an American satellite TV channel that provides weather forecasts for more than 30 years. The Weather Channel and Weather Underground, Inc. have partnered to provide a weather API with global coverage in 80 languages.

You can get weather data for your application in JSON or XML format. GIF, PNG or SWF format is also offered.

Price: Premium - 500 free API calls per day for development. ( See Pricing Information )

API: http://www.wunderground.com/weather/api/?ref=twc

4. Dark sky



Dark Sky specializes in weather forecasting and visualization and provides a user-friendly global weather forecast API with up to 1000 API calls per day for free.

The API uses a simple JSON interface. Community-provided API wrappers let you integrate with just a few lines of code.

You can use the API in commercial and non-commercial applications. Credit with the "Powered by Dark Sky" badge is required wherever you display data from the API.

Price: Free for 1,000 API calls per day, $ 1 for 10,000 API calls thereafter.

API: https://darksky.net/dev/

5. APIXU Weather API

APIXU provides the Weather API service in JSON and XML format. Their free plan has a limit of 5,000 API calls per month.

They offer current weather information as well as a 10-day forecast along with a 30-day weather history in a free plan.

API libraries are available in all major programming languages ​​such as C #, PHP, JAVA, Ruby, Python, and JavaScript.

Price: Free for 5000 API calls monthly. Quality improvement ( see prices )

API: https://www.apixu.com/api.aspx

6. World Weather Online

The World Weather Online APIs provide the ability to retrieve local weather, historical local weather, ski and mountain weather, and marine weather data. APIs provide weather information using standard HTTP / S requests in formats such as XML, JSON, and JSON-P.

They provide API Explorer for you to dive into their API. While their free plan is no longer supported, you can try their premium API for 60 days.

Code examples in all major programming languages ​​are provided on their website, including VB.Net, PHP, Objective-C, C #, etc.

Price: Premium with 60-day free trial ( see Pricing )

API: https://developer.worldweatheronline.com/api/

7. Weatherbit.io

Weatherbit.io provides a free weather API as well as a historical weather data API. Their free plan allows 45 API calls per minute, plus access to 30-day historical weather data and a 5-day forecast with a 2-hour update interval.

You will need to upgrade to a premium plan to access HTTPS API calls and also reduce the refresh interval to 10 minutes. With the update, you can also access hourly weather forecast and higher API calls per minute.

Price: Free tier with premium upgrades ( see Pricing )

API: https://www.weatherbit.io/api

+5


source


You can find a good comparison between most of the weather APIs here .



0


source


I made a small Python script for WorldWeatherOnline historical weather data for my personal project. The result can be saved in pandas dataframe and csv files.

Install the package:

pip install wwo-hist

      

Import package

from wwo_hist import retrieve_hist_data

      

Sample code

frequency=3
start_date = '11-DEC-2018'
end_date = '11-MAR-2019'
api_key = 'YOUR_API_KEY'
location_list = ['singapore','california']

hist_weather_data = retrieve_hist_data(api_key,
                                location_list,
                                start_date,
                                end_date,
                                frequency,
                                location_label = False,
                                export_csv = True,
                                store_df = True)

      

You can check it out here.

https://github.com/ekapope/WorldWeatherOnline

0


source







All Articles