Skip to content

chellarao-chowdary/Nitp_web-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

32 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Nitp_Web API [Unofficial]


This API is capable of fetching notices from NITP Website


Show some ❀️ and ⭐ the repo to support the project

Thank You:)

πŸ‘Š Script written in Python using Beautiful Soup and Flask


🚧 Categories

This API supports category wise. Here is a complete list of all categories.

  • all
  • events
  • important
  • announcements
  • blink
  • archive

Usage

Make a request specifying the category of notices you want

https://nitp-web-api.vercel.app/news?category={category_name}

Example - https://nitp-web-api.vercel.app/news?category=events

In case of error , please refresh the page.

Note:- As the official website is too slow, response may delay and the API is hosted on free service.


Response Format

The response JSON Object looks something like this -

{
	"category": "announcements",
	"data": [
		{
		"link": "http://www.nitp.ac.in/uploads/Walk-in-interviewforProject%20Assistant.pdf",
		"title": " Walk-in-interview for Project Assistant"
		},
		{
		"link": "http://www.nitp.ac.in/uploads/evaluation-21.10.2020.pdf",
		"title": " Assessment of students i.r.o July-December,2020"
		},
	],
	"success": true,
	"total":2
}

Setup ↗️

Use the git to clone script of Nitp_webite-scraping

git clone https://github.com/chellarao-chowdary/Nitp_web-api.git

Install dependencies

Install all dependencies listed in requirements.txt file

  1. To install all dependencies run -

    $ sudo -H pip3 install -r requirements.txt
  2. Start the server

    $ python3 app.py

πŸ“In case of WINDOWS, use pip and python


Apps using this API

Telegram Channel of NITP Web

Telegram


You can fork the repo and deploy on VPS, Heroku or Vercel :)

Deploy

Deploy to Vercel


⭐ the Repo in case you liked it :)

Made with ❀️ in India

Contributing πŸ’―

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

About

Get these updates in our telegram channel πŸ‘‡πŸ‘‡πŸ‘‡

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages