Code Monkey home page Code Monkey logo

gulasch's Introduction

gulasch

View the Fahrplan for #gpn19 from your terminal. Type

$ curl frcl.de/gulasch

and get

screenshot

Usage

By default frcl.de/gulasch returns a nicely formatted timetable of events starting in the next two ours. You can control the dispalyed data with parameters.

If the timetable is to large for your needs you can change the column width

$ curl frcl.de/gulasch\?colwidth=15

or get a more compact list with

$ curl frcl.de/gulasch\?format=list

(Notice that the ? needs to be escaped for most shells, alternativly use a quoted string as URL.) If you want to reuse the data, format=json gets you a machine readable version.

You can extend the time period for dispalyed events with the within parameters.

$ curl frcl.de/gulasch\?within=4h

It accepts hours with h or minutes with min.

The from parameter lets you see the events from the future. For example all events on day 2 starting at noon:

$ curl frcl.de/gulasch\?from=2019-05-31T12:00\&within=12h

Server installation and usage

If you want to run the server on your own machine, clone the git repository and run

pipenv run python gulaschkanone.py -p 8080

You can then find the Fahrplan under localhost:8080/gulasch.

gulasch's People

Contributors

dependabot[bot] avatar frcl avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

let0r

gulasch'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.