Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

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

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)