shinxbot2
shinxbot2 copied to clipboard
[Feat Req] Add support for real-time bus location in SUSTech
Hello, Jayfeather.
Grasping where the buses are is a pragmatic function for a bot. However, different universities have distinct API calling conventions. And it is not wise to add this functionality as a universal method like hhsh
. Instead, implementing it as an optionally compiled dynamic library is probably more appropriate.
Therefore, this issue might involve two steps:
- Provide a consistent dynamic library calling convention (as you said in
README
todo -- 把所有的功能编译成动态库,方便更换和加载) - Add support for real-time bus location in SUSTech
More information about SUSTech:
- This API could be used to get the real-time location of buses: https://bus.sustcra.com/api/v2/monitor_osm/
- This website is also useful