Skip to content

IIvexII/LGU-TimetableAPI

Repository files navigation

⚠ No longer maintained ⚠ check out new APIS

+ This repository is still worth checking if you want to scrap data on your own


Lahore Garrison University
Timetable API

Blazingly fast, lightweight and easy to use.

Node 18.7.0

Key FeaturesHow To UseDownloadRoutesTechnologiesUsed ByContributorsLicense

Key Features

  • 📑 Provide data in JSON
  • 🤝 APIs for all the important data like semesters, degrees, sections and timetable
  • ⚡ Fast and easy to use
  • 🔻 ligneweight with avg response size of 633.38 bytes per request

How To Use

To clone and run this application, you'll need Git and Node.js (which comes with npm) installed on your computer. From your command line:

# Clone this repository
$ git clone https://github.com/IIvexII/LGU-TimetableAPI.git

# Go into the repository
$ cd LGU-TimetableAPI

# Install dependencies
$ npm install

# Run the app
$ npm start

Note If you're using Linux Bash for Windows, see this guide or use node from the command prompt.

Download

You can download the latest installable version of Timetable API for Windows, macOS and Linux.

Routes

Method Route Special Params Description Example
GET /semesters _ return a JSON Object containing semesters. demo
GET /degrees semester all the degree programs in a specific semester. demo
GET /sections semester,degree all the section in a semester with via degree program. demo
GET /timetable semester, degree, section all the degree programs in a specific semester. demo
GET /metadata _ all the metadata about sections, semesters and degrees demo
GET /days _ return all days of week with their id used in official timetable demo
GET /rooms _ return all rooms available in the university demo
GET /freeRooms day, time (both optional) give the rooms that doesn't not have lecture in it demo

Technologies

Technologies used in this project:

Used By

LGU Timetable Front-end - Lightweight timetable frontend on top of this API.

Our Contributors

This repository is maintained by IIvexII

Show some ❤️ by starring this awesome repository!

License

MIT - ✔️ Commercial use ✔️ Modification ✔️ Distribution ✔️ Private use