Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
NeumoNeumo opened this issue Nov 26, 2023 · 0 comments
Open

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

NeumoNeumo opened this issue Nov 26, 2023 · 0 comments

Comments

@NeumoNeumo
Copy link
Contributor

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant