/temperature

Small example of async geolocation and weather API calls in Rust

Primary LanguageRust

This is a small example of calling a couple of free REST APIs for (a) geolocation from IP address (so not very accurate) and (b) getting weather information.

Example output:

The current temperature for lat 48.8323, lon 2.4075 (Paris) is 0.8°C