+ 1
[SOLVED] Is there a way to run a program continuously for the whole day on any cloud platform for free?
I have a python program that actually hits a weather API and gives me the temperature and other weather related details as the output. I need to collect 3 of these parameters and store it in a list and calculate the average of it by the end of the day. Is there a cloud platform that allows me to do this for free currently. It's not like I want this code itself to run. All I need is for the API to be fired periodically. One way I know is by using postman health monitor. But wanted to know if there was any other way to do this.
6 ответов
+ 5
Maybe google firebase spark plan will be satisfated:
https://firebase.google.com/pricing
+ 5
Manoj Kumar S did you see that,
1,000 API calls per day for free?
This can be useful for your project:
https://openweathermap.org/api
+ 4
You are welcome!
+ 3
My main goal was to create a solar water heater prediction program. i.e. I wanted the code to let me know if I will get hot or cold water based on average temperature and humidity.
I had an API which would give me the temperature of each hour and I thought I have to run it every hour and get the average. To run every hour I needed a cloud setup.
But the solution was very simple. I found another API which would directly give me the average temperature and humidity. So, now the need for a cloud platform to run the code every hour was eliminated.
All I have to do is run the code at the end of the day and have the prediction.
For those who are thinking that predicting water hotness in a solar water heater is easy and there was no need of a code and all, trust me it is easy during summer, but during rainy season it's very tough. We expect water to not be heated only to find it hot. This actually helps me in deciding if I have to heat the water via electricity or not and save bills 😂
+ 2
JaScript thanks again 🙂
+ 1
JaScript Thanks for letting me know about this. Will explore and check on this.