/DSBmobile-API

A simple Java library for DSBmobile

Primary LanguageJavaMIT LicenseMIT

DSBmobile-API

Release Version Maven Version Build Status License

Unofficial DSBmobile API for Java.

A simple Java library for DSBmobile.

Code example

TimeTable

DSBMobile dsbMobile = new DSBMobile("username", "password");

ArrayList<TimeTable> timeTables = dsbMobile.getTimeTables();
for (TimeTable timeTable : timeTables) {

	UUID uuid = timeTable.getUUID();

	String groupName = timeTable.getGroupName();
	String date = timeTable.getDate();

	String title = timeTable.getTitle();
	String detail = timeTable.getDetail();

}

News

DSBMobile dsbMobile = new DSBMobile("username", "password");

ArrayList<News> newsList = dsbMobile.getNews();
for (News news : newsList) {

	UUID uuid = news.getUUID();
	String date = news.getDate();

	String title = news.getTitle();
	String detail = news.getDetail();

}

Implementation

Gradle:

dependencies {
	implementation 'de.sematre.dsbmobile:DSBmobile-API:1.8'
}

Maven:

<dependency>
	<groupId>de.sematre.dsbmobile</groupId>
	<artifactId>DSBmobile-API</artifactId>
	<version>1.8</version>
</dependency>

Release History

  • 1.8
    • News implementation
  • 1.7
    • Make UUID random
  • 1.6
    • Performance improvement
  • 1.5
    • Web interface update
    • Fix: Inner tables are now included
  • 1.4
    • Change time zone formatting: ISO 8601 -> RFC 822
    • Make GZIP methods private
    • Merge: Base64 -> DSBMobile
  • 1.3
    • Web handler update
  • 1.2
    • Maven implementation
  • 1.1
    • Code cleanup
    • Readme update
  • 1.0
    • Initial version

Dependencies

Info

© Sematre 2019

Distributed under the MIT License. See LICENSE for more information.