Skip to content

ist-group/curriculum-parser-service

Repository files navigation

Open Data Curriculum Service

This is a tool for displaying parsed data from the public open data from opendata.skolverket.se

The actual parser is located in this github project

The service both contains HTML views for the data as well as an API for delivering it in JSON format. The api is reachable from the following urls:

  • <host>/api/subject/{subjectName} - Json structure for the subject level content
  • <host>/api//subject/{subjectName}/courses- Json structure for all the courses
  • <host>/api//subject/{subjectName}/course/{courseCode}- Json structure for a specific course

Platform and dependencies

This project is based on Kotlin so it needs to be downloaded and installed.

Build dependencies

Gradle is used for dependency management.
You can download released versions and nightly build artifacts from: https://gradle.org/downloads

Building and running the application

To build an executable jar type: gradlew jar

To run directly from source type: gradlew bootRun

Set the property curriculum.files_dir=<workdir> to control where the curriculum files should be downloaded to or if you want to use a fixed version of the data.

To use the service open http://localhost:8088