☀️ Emoji Weather

Copyright © 2019 Teal Dulcet

Compare the output of free weather and air quality APIs and open source sun/moon JavaScript libraries. Click “Submit” to show. Also see 📅 Emoji Holidays.

Location:

ZIP code:

Country (2 letter code):

Units:

Developers

To test a location other then your current, open your browsers web console (In Firefox, open the menu “≡” > “Web Developer” > “Web Console”) and run aweather(true, latitude, longitude) to show the weather, run aair(latitude, longitude) to show the air quality and run amoon(latitude, longitude) to show the moon info, replacing latitude and longitude with the respective latitude and longitude of the location.

Weather

OpenWeatherMap

Uses the OpenWeatherMap Weather API.

 

Yahoo Weather

Uses the Yahoo Weather API, the Yahoo Weather API Proxy and the CORS Anywhere Reverse Proxy.

 

WeatherAPI.com

Uses the WeatherAPI.com API.

 

Tomorrow.io/ClimaCell

Uses the Tomorrow.io Weather API.

 

Air Quality

OpenWeatherMap

Uses the OpenWeatherMap Air Quality API. Includes the Air quality index (AQI) and raw pollutant measurements.

 

World Air Quality Index Project

Uses the World Air Quality Index Project API. Includes the individual Air quality indexes (AQI) for some pollutants and the weather. Not all pollutant and weather fields are available in all locations.

 

OpenAQ

Uses the OpenAQ API. The values are raw pollutant measurements and their units may be different between locations. Not all pollutant fields are available in all locations.

⚠️ Warning: This API has several unresolved issues and can return old data from inactive locations.

 

Moon

Sun and moon rise/set project

Adapted from Moontool and the Sun and moon rise/set project. See the moon.js and riseset.js files respectively.

 

SunCalc

Uses the SunCalc library.

⚠️ Warning: This library has several unresolved issues and the times may be incorrect.

 

MeeusJs

Uses the MeeusJs library.

⚠️ Warning: This library has several unresolved issues and the times may be incorrect or for a different day.

 

Moon Phase Calendar

ℹ️ Note: Moontool caused this webpage to hang on some dates and has been disabled.