Quantcast
Channel: Pebble Watchapp Directory - Pebble Forums
Viewing all articles
Browse latest Browse all 5890

[Watch app] LA Metro Status/Times [httpebble]

$
0
0
Thanks to Katharine's amazing protocol, I've managed to hack together a small app that tells you when the next trains are arriving for the station closest to you. I'm having a small issue with buffer overflows as some of the station names (e.g. "Sierra Marde Villa") have a tendency to be long. Does anyone have a way of doing multiple calls without an HTTP_BUSY error popping up? Let me know if you are interested and I'll throw the code on GitHub. (Along with the PHP file it uses.)

p.s. No wise-cracks about LA not actually having a public transport system.

p.p.s. This uses NextBus data, so I'm fairly sure it will work with systems listed here: http://www.nextbus.com/predictor/agencySelector.jsp

image

Link to GitHub (Thought the code is VERY alpha): https://github.com/bnazari/metro


Viewing all articles
Browse latest Browse all 5890

Trending Articles