Show HN: Weather API for non-commercial use
11–20 of 154 posts
Re: Show HN: Weather API for non-commercial use
#12Re: Show HN: Weather API for non-commercial use
#13Re: Show HN: Weather API for non-commercial use
#14Looks great. What is the funding model for the project? What are the current costs?
To keep it simple, I also do not want to have any income with it. In case larger API consumers are on the horizon, I will contact them and ask to sponsor a couple more VMs.
Re: Show HN: Weather API for non-commercial use
#15It's free for a reasonable number of requests and has a solid API and a good variety of functionality.
Yours looks well designed! I will give it a shot if I ever need to revisit my local weather script.
Did you chose swift for any reason besides existing knowledge? Python can be compiled down to a binary pretty easily, along with many other languages. Just curious. Cheers.
Re: Show HN: Weather API for non-commercial use
#16I've used the Open Weather Map API in the past ( https://openweathermap.org/api ). It's free for a reasonable number of requests and has a solid API and a good variety of functionality. Yours looks well designed! I will give it a shot if I ever need to revisit my local weather script. Did you chose swift for any reason besides existing knowledge? Python can be compiled down to a binary pretty easily, along with many…
With Python I always struggled to get performance to a very high level. I am sure it is possible, but Swift with some C code was more natural for me.
Re: Show HN: Weather API for non-commercial use
#17I used VisualCrossing [3] which seems quite good, and crucially allows 2 weeks historical data, which I think is quite rare. It looks like you offer 2? Darksky did not offer this feature I don't think.
For my use the accuracy is not critical.
[1] https://github.com/mattarderne/clearmycal
[2] xbarapp.com/
Re: Show HN: Weather API for non-commercial use
#18Looks great. What is the funding model for the project? What are the current costs?
There is no funding. Costs are negligible. Currently it is running on a cheap rented VM. Per single VM, it should scale to 3+ million API calls per days easily. To keep it simple, I also do not want to have any income with it. In case larger API consumers are on the horizon, I will contact them and ask to sponsor a couple more VMs.
Re: Show HN: Weather API for non-commercial use
#19Thats cool, I'll be having a closer look. I'm working on an xbar plugin app [1][2] that alerts me when there is a warmer day in the coming week. I used VisualCrossing [3] which seems quite good, and crucially allows 2 weeks historical data, which I think is quite rare. It looks like you offer 2? Darksky did not offer this feature I don't think. For my use the accuracy is not critical. [1] https://github.com/mattarder…
Most likely I can store some basic weather variables like temperature, humidity, wind, precipitation and weather code for a couple of weeks. I will keep you request in my backlog: https://github.com/open-meteo/open-meteo/issues/27 Thanks!
Re: Show HN: Weather API for non-commercial use
#20Looks great. What is the funding model for the project? What are the current costs?
There is no funding. Costs are negligible. Currently it is running on a cheap rented VM. Per single VM, it should scale to 3+ million API calls per days easily. To keep it simple, I also do not want to have any income with it. In case larger API consumers are on the horizon, I will contact them and ask to sponsor a couple more VMs.
A cheaper/scalable approach instead would be to re-process your data into an appropriately chunked, cloud-optimized storage format like Zarr and save it in object storage. Then your scaling bottleneck would just be the VMs or compute you use to query from object storage, as a function of traffic/load.