Giter VIP home page Giter VIP logo

uiuc-open-data's Introduction

UIUC Open Data API

Build Status Requirements Status

Unofficial Open Data API for the University of Illinois at Urbana-Champaign. I'm building this out of frustration of not having a centralized data source for UIUC information. The idea was fleshed out here. This is still very much a WIP, so please feel free to submit an issue or contribute! The API is built with Python, Flask + Flask RESTful, and Redis.

Note: This is an unofficial API and is not supported or controlled by the University of Illinois at Urbana-Champaign itself. Any questions, comments, feedback or feature requests should be directed to xasos or via an issue in this repo.

Usage

Base URL: http://uiuc-api.herokuapp.com

Output: JSON

Dining Services

Get information about food options from all dining halls.

GET /dining

Example Query:

http://uiuc-api.herokuapp.com/dining

Response:

  {
    "name": "bitcoin",
    "position": "1",
    "price": "356.51",
    "marketCap": "4847623128",
    "ticker": "BTC",
    "volume": "29824000",
    "delta24hr": "2.37",
    "timestamp": 1418325595612,
    "currency": "usd"
  },
  {
    "name": "ripple",
    "position": "2",
    "price": "0.016374",
    "marketCap": "505654484",
    "ticker": "XRP",
    "volume": "1620910",
    "delta24hr": "6.48",
    "timestamp": 1418325595612,
    "currency": "usd"
  },
  ...
  ...

Weather

Get weather information from the Department of Atmospheric Sciences.

GET /weather

Example Query:

http://uiuc-api.herokuapp.com/weather

Response:

  {
    "weather_station_location": "Willard Airport",
    "last_recorded_time": "1446098674",
    "weather_condition": "Cloudy Skies",
    "temperature": "54",
    "dew_point": "45",
    "relative_humidity": "71%",
    "winds": "NW at 17 mph",
    "visibility": "10 miles",
    "pressure": "1020.0 mb (30.13 in)",
    "sunrise": "7:13AM", 
    "sunset": "6:01PM",
    "images": {
      "latest_radar_image": "https://www.atmos.illinois.edu/weather/tree/prods/current/nicerad/nicerad_N.gif",
      "storm_total_precip_image": "https://www.atmos.illinois.edu/weather/tree/prods/current/niceradilxpretx/niceradilxpretx_N.gif",
      "surface_temp_image": "https://www.atmos.illinois.edu/weather/tree/prods/current/sfctmp/sfctmp_N.gif",
      "surface_dew_point_temp_image": "https://www.atmos.illinois.edu/weather/tree/prods/current/sfctdp/sfctdp_N.gif",
      "sea_level_pressure": "https://www.atmos.illinois.edu/weather/tree/prods/current/sfcslp/sfcslp_N.gif",
      "mdw_surface_observations": "https://www.atmos.illinois.edu/weather/tree/prods/current/sfcslp/sfcslp_N.gif",
      "composite_ir_image": "https://www.atmos.illinois.edu/weather/tree/prods/current/satconusenhir/satconusenhir_N.gif",
      "composite_enhanced_ir_image": "https://www.atmos.illinois.edu/weather/tree/prods/current/satnoamir/satnoamir_N.gif"
    },
    "": ""
  }

Wi-Fi

Get Wi-Fi information for various places around campus.

GET /wifi

Example Query:

http://uiuc-api.herokuapp.com/wifi

Response:

  {
    "weather_station_location": "Willard Airport"
  }

Dining Services (https://web.housing.illinois.edu/MobileDining/WebService/SettingTable.aspx?k=7A828F94-620B-4EE3-A56F-328036CC3C04&t=json&ts=5-10-2012%2014:30:00)

  • /dining/menu
  • /dining/halls
  • /dining/{year}/{week}/menu\

Course Information

University Directory

  • /directory/search/:searchType/:query

Faculty

newspaper

Transportation

The Champaign-Urbana Mass Transit District offers an API for transporation information in Champaign-Urbana. There are several API wrappers and Open-source apps written with the CUMTD API on GitHub as well as in their App Garage.

Run Locally

$ pip install -r requirements.txt
$ python api.py

Deploy to Heroku

$ pip install -r requirements.txt
$ heroku create
$ (git add, git commit)
$ git push heroku master

Client Libraries

  • (Python)
  • (Node.js)
  • (Java)

Expo

Some apps built using this API - if you've built an app using this API, feel free to add it by sending a PR!

Name Description URL
uiuc-cli CLI to university services https://github.com/xasos/uiuc-cli

Statistics

So far, x users have used the API and over y requests have been made!

Disclaimer

Use of this API

Todo

License

MIT License

throw in some redis/memcache for less server usage

uiuc-open-data's People

Contributors

xasos avatar

Watchers

 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.