Create an HTTP GET call to calculate current THI for a location - To calculate use the following formula https://www.pericoli.com/en/temperature-humidity-index-what-you-need-to-know-about-it/ ``` THI = (0.8 * T) + (RH * (T-14.4)) + 46.4 ``` - Check if current temperature and humidity for the given location are stored in db - If not fetch weather data from OpenWeatherMap and cache them in the database - Expose data in both JSON and JSON-LD base on OCSM
Create an HTTP GET call to calculate current THI for a location
https://www.pericoli.com/en/temperature-humidity-index-what-you-need-to-know-about-it/
Check if current temperature and humidity for the given location are stored in db
If not fetch weather data from OpenWeatherMap and cache them in the database
Expose data in both JSON and JSON-LD base on OCSM