GithubHelp home page GithubHelp logo

rk36 / iitbbsnewsapi Goto Github PK

View Code? Open in Web Editor NEW

This project forked from dsciitbbs/iitbbsnewsapi

0.0 1.0 0.0 20 KB

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

License: MIT License

Python 100.00%

iitbbsnewsapi's Introduction

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

iitbbsnewsapi's People

Contributors

apsknight avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.