I'm working on a project and I just wanted to know what route (If I'm not going down the correct route) I should go down in order to successfully complete this project.
Ferry Time: This application uses boat coordinates and ETA algorithms to determine when a boat will be approaching a certain destination.
Now, I've worked up a prototype that works, but not the way I want it to. In order for my ETA's to show up on my website accurately, I have a python script that runs every minute to webscrape these coordinates from a specific site, do an algorithm, and spit out an ETA. The ETA is then sent to my database, where I display it on my website using PHP and SQL.
The ETA's only update as long as this script is running (I literally run the script on Eclipse and just leave it there)
Now my question: Is there a way I can avoid running the script? Almost like an API. Or to not use a database at all?
Thanks !