Skip to content

teogramm/oasth

Repository files navigation

NOTICE: After changes to the API, this library is no longer working. Currently, there are no plans to update it.

oasth

This is a library for accessing the OASTH API.

Example usage:

import xyz.teogramm.oasth.Oasth

val oasth = Oasth()
val data = oasth.fetch()

Features

  • Get static data about the network. Routes, lines, stops and schedules.
  • Get live data about bus locations and arrival times.

Usage

The library is available in Maven Central with artifact ID: xyz.teogramm:oasth

Gradle Kotlin DSL Example:

build.gradle.kts

repositories {
    mavenCentral()
}
dependencies {
    implementation("xyz.teogramm:oasth:0.9.0")
}

Documentation

Documentation is available on ReadTheDocs.

Contribute

Bug reports and pull requests are welcome!

  • Issue Tracker: github.com/teogramm/oasth/issues

License

The project is licensed under the GPLv3 license.