Skip to content

farazkhanfk7/django-rest-api

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sample Django API

A sample api with Django Rest Framework.

Still in Development

Setup project locally

Use a virtual env

  • Clone repo : $ git clone https://github.com/ADC-Club-AMU/django-rest-api.git
  • $ cd django-rest-api
  • Create a virtualenv: $ mkvirtualenv env or $ python -m venv env
  • Activate env : $ workon env or $ source env/bin/activate
  • Install dependencies : $ pip install -r requirements.txt
  • Run project : $ python manage.py runserver

API Endpoints

Returns data of all faculties.

Returns data of a single faculty.

Returns data of all departments.

Returns data of a department.

It will return all the events and university wide events for the day.

It will return all the events, and university wide events for the particular faculty.

It will return all the available exams for the day.

It will return all entrance exams of the year.

It will return all notices.

It will return all holidays for a particular year.

It will return all holidays for that particular month.

This API fetches news heading and url from beta.amu.ac.in using web scraping and returns the data as json.

ToDo

  • Create a Web UI for admins.
  • Create an API that returns json data after webscraping from amu.ac.in (Completed)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%