Giter VIP home page Giter VIP logo

schedulostfalia's Introduction

schedulostfalia by igeligel

badge Donate badge Donate badge License

Description

Parser for the time schedule of the Ostfalia Hochschule für angewandte Wissenschaften in Wolfenbüttel. It will give you an easily readable format on your console via Haskell/GHCI.

Dependencies

This library is using wreq to do HTTP Requests so you need to install it before using the library. To install this refer to Installation, You also need cabal for the installation.

Dependency Version
wreq -/-

Installation

To install the dependencies you need to install Cabal.

You have to install wreq in order to run this project. To do so type following into your console:

cabal update
cabal install -j --disable-tests wreq

After this you can clone this repository by using:

git clone https://github.com/igeligel/schedulostfalia.git

How To Use

Switch to the src directory by:

cd ./src

After this run the GHCI:

ghci

Then you should load the the core of this project by typing:

Prelude> :l core.hs

After this you can run the main function of this repository which is called getSchedule. This function will take two parameters:

Name Type Description
CourseId String Id of the course. For a full list of courses lookup this csv.
Week Integer Number of the week you want to lookup.

Examples

Example Call:

Prelude> getSchedule "SPLUS7A3292" 16

Output:

[((8,15),(9,45),"Thursday","Grundlagen des Programmierens - VL","Hörsaal 252","Prof. Dr. F. Höppner"),((10,0),(11,30),"Thursday","Grundlagen des Programmierens - VL","Hörsaal 252","Prof. Dr. F. Höppner"),((12,0),(13,30),"Thursday","Diskrete Strukturen","Hörsaal 252","Prof. Dr. P. Riegler"),((12,0),(13,30),"Friday","Technische Grundlagen der Informatik - VL","11/1","Dipl.-Ing. K. Dammann"),((14,15),(15,45),"Thursday","Technische Grundlagen der Informatik - VL","11/1","Dipl.-Ing. K. Dammann"),((14,15),(15,45),"Friday","Diskrete Strukturen","Hörsaal 252","Prof. Dr. P. Riegler")]

Contributing

To contribute please lookup the following styleguides:

Resources

Motivation

This project was created in the course 'Weitere Programmiersprache' in the Ostfalia Hochschule für angewandte Wissenschaften. It is a simple project to show Haskell's ability to parse HTML into structured data.

Architecture

The architecture contains different modules. Only core.hs should be touched by the outside.

Contact

Discord server of Kevin Peters Twitter of Kevin Peters Steam Profile of Kevin Peters

License

schedulostfalia is realeased under the MIT License.

Contributors


igeligel

Contributions: 20

This readme is powered by vue-readme

Check out vue-readme [Website | GitHub]

schedulostfalia's People

Contributors

igeligel avatar

Watchers

 avatar  avatar

schedulostfalia's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.