Copyright © 2019 Teal Dulcet
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
to show the air quality and run
amoon(latitude, longitude) to show the moon info, replacing
longitude with the respective latitude and longitude of the location.
Uses the OpenWeatherMap Weather API.
Uses the Yahoo Weather API, the Yahoo Weather API Proxy and the PHP CORS Reverse Proxy.
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.
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.
Adapted from Moontool and the Sun and moon rise/set project.
Uses the SunCalc library.
⚠️ Warning: This library has several unresolved issues and the times may be incorrect.
Uses the MeeusJs library.
⚠️ Warning: This library has several unresolved issues and the times may be incorrect or for a different day.