2m / citywasp-api   2.0.3

GitHub

Scala API for Citybee car sharing application

Citywasp API scaladex-badge ci-badge gitter-badge

This is a Scala API for Citybee car sharing application. Currently it is capable of returning the list of all car descriptions and a list of all available cars.

Running

This library is intended to be used as a dependency from other applications. However this repository includes a small runnable application which lists all available cars. You can run it by one of the following:

coursier

coursier launch lt.dvim.citywasp::citywasp-cli:latest.version -- \
    -J-Dapp=<app-version> \
    -J-Duris=<backend-uri-1>[,<backend-uri-n>]

sbt

Checkout this repository to your computer and then run:

sbtn stage
cli/target/universal/stage/bin/citywasp-cli \
    -Dapp=<app-version> \
    -Duris=<backend-uri-1>[,<backend-uri-n>]

Usages

The only currently known usage of this library in the wild is the @kabrioletas and @fijatas Twitter bots.