https://github.com/ptrcnull/zditm-api
A simple API for scrapping departure times
https://github.com/ptrcnull/zditm-api
Last synced: about 1 month ago
JSON representation
A simple API for scrapping departure times
- Host: GitHub
- URL: https://github.com/ptrcnull/zditm-api
- Owner: ptrcnull
- Created: 2019-09-04T07:44:16.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2020-09-06T13:50:54.000Z (almost 6 years ago)
- Last Synced: 2025-03-21T02:41:31.050Z (over 1 year ago)
- Language: Go
- Size: 8.79 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# zditm-api
> A simple API for getting departure times from ZDiTM
Default port: `38126`
Endpoint: `GET /json/:id`
Response:
```
[
{
line: string
direction: string
time: string
}
]
```
Endpoint: `/text/:id`
Response:
```
${line}: ${direction} ${time}
```
Best used with a HTTP widget like [this one](https://apkpure.com/http-widget/com.axgs.httpwidget).