All Projects → pittcsc → Pittapi

pittcsc / Pittapi

Licence: gpl-2.0
An API to easily get data from the University of Pittsburgh

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Pittapi

awesome-utrecht-university
A curated list of awesome open source projects from Utrecht University.
Stars: ✭ 31 (-58.11%)
Mutual labels:  university, open-data
Jd Autobuy
Python爬虫,京东自动登录,在线抢购商品
Stars: ✭ 1,174 (+1486.49%)
Mutual labels:  scraper
University News Notifier
📚 University news notifier
Stars: ✭ 56 (-24.32%)
Mutual labels:  university
Pitchfork
🎶 Unofficial python API for pitchfork.com reviews.
Stars: ✭ 67 (-9.46%)
Mutual labels:  scraper
Geodata Br
Free open public domain geographic data of Brazil available in multiple languages and formats.
Stars: ✭ 57 (-22.97%)
Mutual labels:  open-data
Nosdeputes.fr
Repository of NosDéputés.fr : the french parliamentary monitoring website
Stars: ✭ 69 (-6.76%)
Mutual labels:  open-data
Anutimetable
Intuitive timetable builder for the Australian National University.
Stars: ✭ 52 (-29.73%)
Mutual labels:  scraper
Kamu Cli
Next generation tool for decentralized exchange and transformation of semi-structured data
Stars: ✭ 69 (-6.76%)
Mutual labels:  open-data
Skraper
Kotlin/Java library and cli tool for scraping posts and media from various sources with neither authorization nor full page rendering (Facebook, Instagram, Twitter, Youtube, Tiktok, Telegram, Twitch, Reddit, 9GAG, Pinterest, Flickr, Tumblr, IFunny, VK, Pikabu)
Stars: ✭ 72 (-2.7%)
Mutual labels:  scraper
Pastebin Scraper
Live-scraping pastebin to fight boredom.
Stars: ✭ 66 (-10.81%)
Mutual labels:  scraper
Scrape
Distributed Scraper
Stars: ✭ 65 (-12.16%)
Mutual labels:  scraper
Open Science Resources
A publicly-editable collection of open science resources, including tools, datasets, meta-resources, etc.
Stars: ✭ 58 (-21.62%)
Mutual labels:  open-data
Friendly Public Transport Format
A format for APIs, libraries and datasets containing and working with public transport data.
Stars: ✭ 69 (-6.76%)
Mutual labels:  open-data
Warta Scrap
Indonesia Index News Crawler, including 10 online media
Stars: ✭ 57 (-22.97%)
Mutual labels:  scraper
Goscraper
Golang pkg to quickly return a preview of a webpage (title/description/images)
Stars: ✭ 72 (-2.7%)
Mutual labels:  scraper
Tangerine
Tangerine Bank scraper
Stars: ✭ 54 (-27.03%)
Mutual labels:  scraper
Turnoff Namuwiki
조별과제 때마다 "나무위키 꺼라."라고 말하시는게 피곤하신 여러분을 위해 만들어진 Browser Extension, 나무위키를 꺼 드립니다.
Stars: ✭ 59 (-20.27%)
Mutual labels:  university
Goscrape
Web scraper that can create an offline readable version of a website
Stars: ✭ 69 (-6.76%)
Mutual labels:  scraper
Pymarketcap
Python3 API wrapper and web scraper for https://coinmarketcap.com
Stars: ✭ 73 (-1.35%)
Mutual labels:  scraper
Umdio
An open API for the University of Maryland
Stars: ✭ 72 (-2.7%)
Mutual labels:  university

Pitt API

|Build Status| |License GPLv2| |Python >= 3.6|

Made by Ritwik Gupta at the University of Pittsburgh in an effort to get more open data from Pitt.

Usage examples

.. code:: python

from PittAPI import course, dining, lab, laundry, library, news, people, shuttle, textbook

### Courses
# Will return a list of dictionaries containing courses in subject
cs_subject = course.get_term_courses(term='2194', subject='CS')
cs_course = cs_subject['1501']
cs_section_list = cs_course.sections
big_dict = cs_section_list[0].to_dict()

### Textbook
# Will return a list of dictionaries containing textbooks for a class
# term number comes from pitt.verbacompare.com
small_dict = textbook.get_textbook(term="3150", department="CS", course="445", instructor="RAMIREZ")

### Library
# Will return a dictionary containing results from query
big_dict = library.get_documents(query="computer")

### News
# Will return a list of dictionaries containing news from main news feed
medium_dict = news.get_news()

### Laundry
# Will return a dictionary with amount of washers and dryers
# in use vs. total washers and dryers at building
small_dict = laundry.get_status_simple(building_name="TOWERS")

### Computer Lab
# Will return a dictionary with status of the lab, and amount
# of machines with a certain OS
small_dict = lab.get_status(lab_name="ALUMNI")

### Shuttle
# Will return a list of dictionaries containing routes of shuttles
big_dict = shuttle.get_routes()

### People
# Will return a list of people based on the query
list_of_peeps = people.get_person(query="Smith")

### Dining
# Will return a dictionary of dictionaries containing each dining location,
# with its name, its open/closed status, and open times (if it exists)
medium_dict = dining.get_locations()
medium_dict = dining.get_locations_by_status(status="open")
medium_dict = dining.get_locations_by_status(status="closed")
# Will return a single dictionary of a dining location,
# with its name, its open/closed status, and open times (if it exists)
one = dining.get_location_by_name("taco_bell-schenley_cafe")
two = dining.get_location_by_name("cup_&_chaucer-hillman")

Tests

| Run tests with python3 -m "nose" --with-coverage --cov PittAPI/ --with-timer tests/*. | If your python -v is 3+, replace python3 with python.

License

This project is licensed under the terms of the GPLv2 license <LICENSE>__.

.. |Build Status| image:: https://travis-ci.org/Pitt-CSC/PittAPI.svg?branch=master :target: https://travis-ci.org/Pitt-CSC/PittAPI .. |License GPLv2| image:: https://img.shields.io/badge/license-GPLv2-blue.svg :target: LICENSE .. |Python >= 3.6| image:: https://img.shields.io/badge/python-%3E%3D%203.6-green

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].