@PetraOleum ✋
I have been looking into this and I was going to start playing around over the holidays.
Wanna work on it together?
@pearofdoom I wouldn't be against it!
@PetraOleum i think based on snooping with browser developer tools metlink is api driven. So all we need is frontend code to call metlink's api.
@pearofdoom There's the links in here that would be a good start: https://fyi.org.nz/request/14090-metlink-api-documentation
@PetraOleum well I think it must be mid development because the new site is only on beta.metlink.org.nz and the new api stuff doesn't really work.
I did manage to get a token and added a note on the fyi.org.nz thread.
@pearofdoom I've been playing with a proof of concept using the "secret" api mentioned in the first post of that thread, which works ok
@pearofdoom well it's midnight, but: rti.petras.space
I will have to redo the css for mobile though, but that can be tomorrow's problem
@pearofdoom er, that is https://rti.petras.space/
@pearofdoom Works now!
@PetraOleum that's so cool!
@pearofdoom Thanks! I haven't tested it in the field yet though
@PetraOleum I'll give it a go too
@pearofdoom @PetraOleum sourcecode somewhere?
@Firesphere @pearofdoom https://github.com/PetraOleum/RTI
It's a bit of a mess, first time really messing with this stuff
better late than never
I'm going to make a GIS dataset from the undocumented api
https://github.com/Mossman1215/metlink-tracker-rust
in rust
@PetraOleum @Firesphere
I'm hoping to see in the data that congestion in town makes the whole network delayed.
I'm also wanting to try anomaly detection to find drivers that get lost.
@pearofdoom @Firesphere ooh, nice! What are you going to do with it?