Skip to content
This repository has been archived by the owner on Oct 18, 2019. It is now read-only.

A Java library for crawling timetable events from the DHBWs rapla system.

License

Notifications You must be signed in to change notification settings

dhbw-timetable/rapla-parser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rapla-parser

This is a library for crawling timetable events from the rapla website of DHBWs. It parses the appointments into its own data structure. rapla-parser is available on maven central.

Import

Gradle (Maven Import):

compile 'com.github.dhbw-timetable:rapla-parser:0.3.3'

Maven:

<dependency>
   <groupId>com.github.dhbw-timetable</groupId>
   <artifactId>rapla-parser</artifactId>
   <version>0.3.3</version>
</dependency>

Usage

You can import a range of weeks via using:

Map<LocalDate, ArrayList<Appointment>> data = DataImporter.ImportWeekRange(start, end, url)

If you have to use java.util.Date API for a good reason (e.g. Android JDK and NDK not available) we provide backport methods you can use:

Map<TimelessDate, ArrayList<Appointment>> data = DataImporter.Backport.ImportWeekRange(start, end, url)

Contribute

You are free to customize this library for your own under the given MIT License.

Build

Generate GPG keys and login to ossrh. Use the maven profile to build the library:

$ mvn clean install -Possrh

Deploy

Same as build but with deploy to ossrh:

$ mvn clean deploy -Possrh

About

A Java library for crawling timetable events from the DHBWs rapla system.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages