- Clone this repo
- Create a virtual environment
virtualenv venv
and enable it.source venv/bin/activate
- Run
pip install -r requirements.txt
to install dependencies. - Launch
python server.py
to run the server.
/courses/<term>/<code>
/class/<class_number>/<term>
/lab_status/<lab_name>
For simple laundry status:
/laundry/simple/<location>
For detailed laundry status:
/laundry/detailed/<location>
/people/<query>
For shuttle routes:
/shuttle/routes
For shuttle vehicle points:
/shuttle/points
For shuttle arrivals:
/shuttle/arrivals/<times_per_stop>
For shuttle stop estimates:
/shuttle/estimates/<vehicle_id>/<quantity>
If the term is to be specified:
/textbook/<department_code>/<course_name>/<instructor>/<term>
If the term is not to be specified:
/textbook/<department_code>/<course_name>/<instructor>
/news/<feed>/<max_news_items>
Web Wrapper for PittAPI, web app for REST endpoints for the PittAPI
Copyright (C) 2015 Ritwik Gupta
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License along
with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.