piemadd / amtrak

NPM library to get Amtrak tracking data.
GNU Affero General Public License v3.0
49 stars 4 forks source link

MagicMirror Module #2

Open RoninActual opened 2 years ago

RoninActual commented 2 years ago

First of all, thank you so much for making an accessible and clean method for accessing the Amtrak API! This is a public good, kudos.

Would you be interested in developing a MagicMirror module that displays this data on a map? I know the community would really appreciate it and I personally will do what I can to test and contribute.

https://github.com/MichMich/MagicMirror

Thanks again!

piemadd commented 2 years ago

I'll look into it, seems pretty interesting. I am a bit busy right now with school, but eventually I think I can pull this off.

RoninActual commented 2 years ago

No rush at all, I am going to play around with the code and see if I can get it started. In the meantime I was able to use the google map API and a maps module to display some of the information about upcoming trains. Your code would be much more useful as it has the live tracking features though.

piemadd commented 2 years ago

Ooh this look would be super cool! Will definitely look into it now, as my ADHD has taken over lol.

piemadd commented 2 years ago

Ooh just some clarification, my library is able to give live train data, as it updates every minute. In the new amtrak.cc API, I might add a way to use websockets to receive new data every minute, but as that is something outside of the space of Cloudflare caching (to my knowledge) I might have to charge $0.50-$1.00 a month to cover compute costs.

Not 100% sure though, will let you know if anything changes.