Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dylanirlbeck/ocaml-bus-tracker
Chicago Transit Authority (CTA) Bus Tracker API OCaml bindings
https://github.com/dylanirlbeck/ocaml-bus-tracker
Last synced: 2 days ago
JSON representation
Chicago Transit Authority (CTA) Bus Tracker API OCaml bindings
- Host: GitHub
- URL: https://github.com/dylanirlbeck/ocaml-bus-tracker
- Owner: dylanirlbeck
- Created: 2022-11-11T16:50:23.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2022-11-11T18:11:26.000Z (about 2 years ago)
- Last Synced: 2024-11-14T08:46:28.568Z (2 months ago)
- Language: OCaml
- Size: 5.86 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Bus Tracker: An OCaml client library for the CTA's API
## Development notes
Register for a Bus Tracker API key by following the instructions at
[https://www.transitchicago.com/developers/bustracker/](https://www.transitchicago.com/developers/bustracker/).### Testing
Run integration tests with `dune exec lib_test/integration.exe` (Unix). NOTE:
You need to have `lib_test/config.ml.in` defined as follows for `Config.key` to
hold the correct API key:```ocaml
let key = ""
```### Resources
- [yojson](https://github.com/ocaml-community/yojson)
- [ppx_yojson_conv](https://github.com/janestreet/ppx_yojson_conv)