An open API service indexing awesome lists of open source software.

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

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).