History

Uniopen started from a personal project by Michele, who had the idea to build a Telegram Bot providing info on University of Padova.

He then got in touch with Gianluca, Giovanni and Federico, who were at the time starting a different project, Uniwhere.

The idea was then to make Uniopen something bigger combining what Michele did, and what Uniwhere could bring.

The project is now rebooting: a brand new architecture, developed with Node.js and TypeScript will replace the old python scripts - it will be flexible and modular, and it will allow to easily plug new universities and new data.

The first release of uniopen 2.0 will be published by Dec 15th, 2017: just in time for Christmas :)

Stay tuned!

Fabio, a different Fabio, Marco, Giacomo, Gianluca, Giovanni, Federico, Michele are already working on uniopen: give us a shout and join!


As a reference, below the old uniopen APIs:


Old UniOpen Api

Description of available methods.

For all API calls, you should set the content-type in the call's header to application/json

No authentication required. Read-only access.

Available methods:



/api

Endpoint: /api

Full url: http://uniopen.org/api

It will return data about the currently supported universities and the data available for each University.

Header Parameter Set to
content-type application/json

Example response is the following:

{
    "unipd": [
    "dirittostudio",
    "udupadova",
    "biblioteca",
    "mensa",
    "aulastudio"
    ],
    "univr": [
    "biblioteca",
    "mensa",
    "aulastudio"
    ]
}


/api/uni_ID

Endpoint: /api/uni_ID

Full url: http://uniopen.org/api/uni_ID

This call will return the list of available data for a certain University. Remember: "uni_ID" must be the ID of an available University. Check available universities with the /api call. An example url is: /api/univr

Header Parameter Set to
content-type application/json

Example response is the following:

{
  "data": [
    "biblioteca",
    "mensa",
    "aulastudio"
  ]
}


/api/uni_ID/mensa

Endpoint: /api/uni_ID/mensa

Full url: http://uniopen.org/api/uni_ID/mensa

This api call will return data about all the canteens of the selected University. Remember: "uni_ID" must be the ID of an available University. Check available universities with the /api call. An example url is: /api/unipd/mensa

Header Parameter Set to
content-type application/json

Example response is the following:

{
  "acli": {
    "calendario": {
      "cena": 1,
      "pranzo": 1
    },
    "coord": {
      "lat": 45.405255,
      "lon": 11.871526
    },
    "indirizzo": "Via Bonporti, 20",
    "menu": {
      "contorno": [
        "Crocchette* di Patate",
        "Cavolfiori* all'Olio Extravergine",
        "Insalata Mista Fresca"
      ],
      "dessert": [
        "Mele, Arance e Banane",
        "Gelato, Yogurt e Budino",
        "Caffè Lavazza"
      ],
      "primo": [
        "Cellentani con Pesto e Peperoni ",
        "Caserecce al Ragù di Tacchino ",
        "Caserecce e Riso Bollito al Pomodoro e all'Olio Extravergine ",
        "Zuppa di Cipolla "
      ],
      "secondo": [
        "Bistecca di Manzo alla Griglia",
        "Arista di Maiale ai Funghi",
        "Filetto di Tilapia* in Guazzetto"
      ]
    },
    "nome": "Acli - Pio X",
    "orari": "11:45 - 14:30, 18:45 - 21:00",
    "telefono": "049 8762255"
  },
  "agripolis": { .. },
  ".." : {..}
}


/api/uni_ID/biblioteca

Endpoint: /api/uni_ID/biblioteca

Full url: http://uniopen.org/api/uni_ID/biblioteca

This api call will return data about all the libraries of the selected University. Remember: "uni_ID" must be the ID of an available University. Check available universities with the /api call. An example url is: /api/unipd/biblioteca

Header Parameter Set to
content-type application/json

Example response is the following:

{
  "agribiblio": {
    "coord": {
      "lat": 45.353451,
      "lon": 11.951161
    },
    "indirizzo": "Viale dell'Università, 16 - Legnaro",
    "nome": "Biblioteca di Agripolis - Pietro Arduino",
    "orari": {
      "0": "08:20 - 18:00",
      "1": "08:20 - 18:00",
      "2": "08:20 - 18:00",
      "3": "08:20 - 18:00",
      "4": "08:20 - 18:00",
      "5": "",
      "6": ""
    },
    "orario": "Lunedì - Venerdì: 08:20 - 18:00"
  },
  "bibliochimica": {..},
  ".." : {..}
}


/api/uni_ID/aulastudio

Endpoint: /api/uni_ID/aulastudio

Full url: http://uniopen.org/api/uni_ID/aulastudio

This api call will return data about all the study rooms of the selected University. Remember: "uni_ID" must be the ID of an available University. Check available universities with the /api call. An example url is: /api/unipd/aulastudio

Header Parameter Set to
content-type application/json

Example response is the following:

{
  "galilei": {
    "coord": {
      "lat": 45.403446,
      "lon": 11.87996
    },
    "indirizzo": "Via Galilei, 42",
    "nome": "Galilei",
    "orari": {
      "0": "08:30 - 20:00",
      "1": "08:30 - 20:00",
      "2": "08:30 - 20:00",
      "3": "08:30 - 20:00",
      "4": "08:30 - 20:00",
      "5": "",
      "6": ""
    },
    "orario": "Lunedì - Venerdì: 08:30 - 20:00",
    "posti": "280",
    "tel": "049 8273909"
  },
  "jappelli": {..},
  ".." : {..}


/api/uni_ID/which_data/data_ID

Endpoint: /api/uni_ID/which_data/data_ID

Full url: http://uniopen.org/api/uni_ID/which_data/data_ID

This api call will return data about a single "structure" (library, canteen or study room) in a selected University. Remember: "uni_ID" must be the ID of an available University, "which_data" must be "mensa" or "aulastudio" or "biblioteca" and "data_ID" must be the ID of a selected structure (for example: "piovego", "jappelli"..). An example url is: /api/unipd/mensa/piovego

Header Parameter Set to
content-type application/json

Example response (for the above example url) is the following:

{
  "calendario": {
    "cena": 0,
    "pranzo": 1
  },
  "coord": {
    "lat": 45.4109516,
    "lon": 11.8896592
  },
  "indirizzo": "Viale Giuseppe Colombo, 1",
  "menu": {
    "contorno": [
      "Patate prezzemolate",
      "Buffet di verdure fresche",
      "Piselli al tegame"
    ],
    "dessert": [
      "Frutta assortita",
      "Caffè",
      "Sorbetto"
    ],
    "primo": [
      "Pasta al pomodoro o ragù",
      "Spadellata ",
      "Riso all'inglese ",
      "Crema di cavolfiori "
    ],
    "secondo": [
      "Filetto di scorfano al limone *",
      "Braciola di maiale alla griglia",
      "Peperoni alla piemontese"
    ]
  },
  "nome": "Piovego",
  "orari": "11:30 - 14:30",
  "telefono": "049 807 1530"
}


Toggle Menu Home