Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bukinoshita/metrosp-status
A real-time API for MetroSP status
https://github.com/bukinoshita/metrosp-status
brasil metro metrosp real-time sp transport
Last synced: 2 months ago
JSON representation
A real-time API for MetroSP status
- Host: GitHub
- URL: https://github.com/bukinoshita/metrosp-status
- Owner: bukinoshita
- License: mit
- Created: 2017-08-12T18:14:10.000Z (over 7 years ago)
- Default Branch: main
- Last Pushed: 2023-01-06T01:56:40.000Z (about 2 years ago)
- Last Synced: 2024-10-10T16:07:16.957Z (3 months ago)
- Topics: brasil, metro, metrosp, real-time, sp, transport
- Language: TypeScript
- Homepage:
- Size: 506 KB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 11
-
Metadata Files:
- Readme: readme.md
- License: license
Awesome Lists containing this project
README
# metrosp-status [![Build Status](https://travis-ci.org/bukinoshita/metrosp-status.svg?branch=master)](https://travis-ci.org/bukinoshita/metrosp-status)
> A real-time API for [MetroSP](http://www.metro.sp.gov.br/) status
## Install
```bash
$ yarn add metrosp-status
```## Usage
```js
import { metroStatus } from 'metrosp-status'metroStatus()
```## API
### metroStatus()
returns a `promise`
## Related
- [metrosp-status-cli](https://github.com/bukinoshita/metrosp-status-cli) — CLI for this module
- [cptm-sp-status](https://github.com/bukinoshita/cptm-sp-status) — A real-time API for [CPTM](https://www.cptm.sp.gov.br/) status## License
MIT © [Bu Kinoshita](https://bukinoshita.com)