Skip to content

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

MethodRouteSpecial ParamsDescriptionExample
GET/semesters_return a JSON Object containing semesters.demo
GET/degreessemesterall the degree programs in a specific semester.demo
GET/sectionssemester,degreeall the section in a semester with via degree program.demo
GET/timetablesemester, degree, sectionall the degree programs in a specific semester.demo
GET/metadata_all the metadata about sections, semesters and degreesdemo
GET/days_return all days of week with their id used in official timetabledemo
GET/rooms_return all rooms available in the universitydemo
GET/freeRoomsday, time(both optional)give the rooms that doesn't not have lecture in itdemo

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

About

Unofficial API for the timetable of Lahore Garrison University which uses its own internal caching system to serve its users with fast response.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

5 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages