Skip to content

rk36/iitbbsnewsapi

 
 

Repository files navigation

IIT Bhubaneswar News API

Build Status

A JSON API to scrap latest news, events details and notices from http://www.iitbbs.ac.in

Features

  • News and Updates
    • Return JSONified count, link text and URL for top 30 news and updates.
  • Events
    • Return JSONified count, link text and URL of all upcoming events.
  • Notices
    • Return JSONified count, link text and URL of all available notices.
  • Bus Schedule
    • Get Latest links of PDF and XLS bus schedule files.

Schema

All API access is over HTTPS, and accessed from the <https://iitbbs.herokuapp.com>. All data is sent as JSON.

curl -i https://iitbbs.herokuapp.com

HTTP/1.1 200 OK
Connection: keep-alive
Server: gunicorn/19.7.1
Date: Wed, 12 Jul 2017 19:31:03 GMT
Content-Type: application/json
Content-Length: 200
Via: 1.1 vegur

{
  'author' : 'Aman Pratap Singh'
  'email' : '[email protected]',
  'endpoint' : 'https://iitbbs.herokuapp.com',
  'project_name' : 'IITBBSNewsAPI',
  'project_url' : 'https://nightawks.github.io/IITBBSNewsAPI/'
}

Endpoints

GET: /news

Result:

{
  "count": 30, 
  "list": [
    {
      "text": "New Admission : 2017-18", 
      "url": "http://www.iitbbs.ac.in/admission-portal.php"
    }, 
    {
      "text": "Recruitment of Part-Time Coaches, Yoga Instructor & Yoga Assistant", 
      "url": "http://www.iitbbs.ac.in/notice/news_1499481442.pdf"
    }, 
    {
      "text": "Information to the provisionally selected candidates  for joining to M.Sc. Programme 2017-18", 
      "url": "http://www.iitbbs.ac.in/msc.php"
    }, 
  ]
}

GET: /events

Result:

{
  "count": 1, 
  "list": [
    {
      "text": "7th International Conference On Soft Computing for Problem Solving during December 23-24, 2017", 
      "url": "http://www.iitbbs.ac.in/notice/event_1488324349.pdf"
    }
  ]
}

GET: /notices

Result:

{
  "count": 39, 
  "list": [
    {
      "text": "Result of Physical Training Instructor", 
      "url": "http://www.iitbbs.ac.in/notice/resultofphysicaltraininginstructor_1498601014.pdf"
    }, 
    {
      "text": "Subjects to be offered for Summer Quarter 2016-17", 
      "url": "http://www.iitbbs.ac.in/notice/subjectstobeofferedforsummerquarter201617_1495022716.pdf"
    }, 
  ]
}

GET: /bus

Result:

{
  "pdf": "www.iitbbs.ac.in/transportation-fle/transport_1529956769.pdf",
  "xls": "www.iitbbs.ac.in/transportation-fle/transport_1529956769.xls"
}

Contributing

Feel free to submit a pull request or an issue. Sugest new features on issue tracker.

License

Built with ♥ by Aman Pratap Singh(@apsknight) for nightawks under MIT License

About

API for fetching content from www.iitbbs.ac.in

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%