shinxbot2 icon indicating copy to clipboard operation
shinxbot2 copied to clipboard

[Feat Req] Add support for real-time bus location in SUSTech

Open NeumoNeumo opened this issue 1 year ago • 0 comments

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:

  1. Provide a consistent dynamic library calling convention (as you said in README todo -- 把所有的功能编译成动态库,方便更换和加载)
  2. Add support for real-time bus location in SUSTech

More information about SUSTech:

  1. This API could be used to get the real-time location of buses: https://bus.sustcra.com/api/v2/monitor_osm/
  2. This website is also useful

NeumoNeumo avatar Nov 26 '23 13:11 NeumoNeumo