Git Product home page Git Product logo

hydra's Introduction

Hydra Analytics

hydra-icon-web

Available on the App Store Get it on Google Play

Android and iOS app providing all the information a student at Ghent University needs.

This application was developed by Zeus WPI, the computer science working group. Please contact [email protected] with any questions.

This repo only contains up-to-date scraper code, not for the applications

Links to the Android repo and the iOS repo.

Resto API

The scraper pulls the menu from the UGent website and parses into a workable json format. The current API is located at http://zeus.ugent.be/hydra/api/2.0/resto. The number at the end of the URL indicates the version of the API. Currently the API is at version 2.0

The API currently only supports the JSON format.

Methods provided

  • meta.json

    Some additional information on the UGent resto's such as the legend used and a list of their locations. For each resto a dictionary with 4 values is provided: the name, address, latitude and longitude.

  • menu/[0-9]{4}/[O-9]{2}.json

    This resource contains the menus for a whole week. The first number in the URL is the year, the second one is the weeknumber. The list will at most contain 5 entries, one for each day of the week. Each of those entries contains 1 or 4 keys.

    If the open key is false, all restos are closed that day and no other keys are provided. If open is true, the keys meat, soup and vegetables are also provided.

    An example structure is provided below. This is a typical structure with 4 meat entries, 1 soup entry and 2 vegetable entries.

      "2011-03-21": {
      	"open": true,
      	"meat": [
      		{
      			"name": "Kalkoengebraad",
      			"price": "\u20ac 2,80",
      			"recommended": true
      		}, {
      			"name": "Heekdelight#",
      			"price": "\u20ac 3,50",
      			"recommended": false
      		}, {
      			"name": "Rundshamburger*",
      			"price": "\u20ac 3,20",
      			"recommended": false
      		}, {
      			"name": "Veg. kaasburger",
      			"price": "\u20ac 3,60",
      			"recommended": false
      		}
      	],
      	"soup": {
      		"name": "Uiensoep",
      		"price": "\u20ac 0,50"
      	},
      	"vegetables": [
      		"Hutsepotgroenten",
      		"Appelcomote"
      	]
      }
    

    The menu data is property of Ghent University. We don't guarantee the correctness or completeness of the data.

Contributors

In order of first contribution:

  • Thomas Meire
  • Toon Willems
  • Jasper Van der Jeugt
  • Pieter De Baets
  • Gilles Jacobs
  • Jens Panneel
  • Tom Naessens
  • Yasser Deceukelier
  • Feliciaan De Palmenaer
  • Arya Ghodsi
  • Bart Middag
  • Stijn Seghers
  • Ruben Taelman
  • Wouter Pinnoo
  • Titouan Vervack
  • Caroline De Brouwer

hydra's People

Contributors

feliciaan avatar tomnaessens avatar javache avatar blackskad avatar procrat avatar aryag avatar tivervac avatar nielsdg avatar jaspervdj avatar simonschellaert avatar niknetniko avatar rubensworks avatar gilj avatar jpanneel avatar mivdnber avatar timodw avatar

Watchers

 avatar  avatar

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.