4 ms·
OpenMeteo is pretty amazing too, and doesn't require an account or API key, which is nice.
by encrypted_bird 8mo ago
OpenMeteo is pretty amazing too, and doesn't require an account or API key, which is nice.
- firesteelrain 8mo agoI incorporated OpenMeteo into a project recently and got frustrated with their aggressive rate limiting. If in the US, weather dot gov has an excellent, free API. Or, OpenWeatherAPI which works internationally and has support for more things that weather dot gov does not. OpenWeatherAPI will also synthetically provide weather data based on their models if there is missing station data
- the_arun 8mo agoUsing your own weather station is another option
- embedding-shape 8mo ago> I incorporated OpenMeteo into a project recently and got frustrated with their aggressive rate limiting Which one? They seem to do 600 calls / min, 5.000 calls / hour, 10.000 calls / day, 300.000 calls / month, how many times do you need to look up the weather for personal use? Fine, maybe you want 3 different locations, you can still call each of those sufficiently with those rate limits, no?
- oneneptune 8mo agoa redis geospatial index + redis distribution locks you can build a performant cache layer that is consumed by a ton of people and stay well under that rate limit.... the weather data only updates every 5 minutes too, so you can use that for your cache ttl.
- firesteelrain 8mo agoI have to sample multiple lat/lon across the world all at once
- embedding-shape 8mo agoFor what purpose? And multiple times per hour for each of those? Sounds like not a personal project already.
- firesteelrain 8mo agoIt’s for a hobbyist project and non commercial use.
- embedding-shape 8mo agoRight, but less "I want to know what the weather is locally and maybe in my summer house" and more "I'm curious about sampling global weather/temperatures", right? I don't think the intention of the API is for the latter, but more for the former.