Display the reservations of several rooms in the form of a dashboard using the unofficial Affluences API
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
Knowing the resource_id
of the rooms you want to see on your dashboard
How to get them ?
-
Using the Affluences page, search for your university or company.
-
Open the "Developer" menu (F12) and go to the "Network" tab.
-
Select the types of room you would like to book and check the requests sent by the server.
watch out for the
available?date=...
file. -
Inside of the available file you can find all
resource_id
of this types of room.
Repeat this step to fetch data for every room you want to add to the dashboard.
Start by cloning this repo and editing the rooms.js
file with the informations you gathered on the Affluences website. you can let "name": "roomX"
inside this file, it has no relation with the REAL name of the room.
In the index.html
file add the exact number of rooms you need and match the id
with the name
inside the rooms.js
file.
Here you go ! Host it on a web server and you are ready to go !
- Bootstrap-Calendar - A Full view calendar based on Twitter Bootstrap - @Serhioromano
- Jquerry, underscore.js and all libs needed by bootstrap-calendar.
- Ical.js - Parse the iCalendar format using JavaScript - @mozilla-comm
- Thomas Boeglin - Initial work - Boeglin.me
This project is licensed under the GNU General Public License v3.0 - see the LICENSE file for details