14027e83dc
Since OpenWeather doesn't provide this with their API, we query ip-api.com, which has a free geoip location service and we can even restrict the data pulled in from it so we're not storing more sensitive data than just a city. Seems to work okay in Japan, but I'll try it from other locations...
8 lines
348 B
JSON
8 lines
348 B
JSON
{
|
|
"city": "guess",
|
|
"units": "metric",
|
|
|
|
"--comment": "The key below is provided for use in ToaruOS for free from OpenWeatherMap.org. We must provide the key so that the weather widget can make API queries. Use of this key for other purposes is against OpenWeatherMap's terms of service.",
|
|
"key": "78c832cfada2b0337f516891afb4f13b"
|
|
}
|