Skip to main content

An unofficial API wrapper for the College Scorecard API.

Project description

PyScorecard is an unofficial Python library for interacting with the US Department of Education’s College Scorecard API.

Installation

Use the package manager pip to install PyScorecard.

pip install PyScorecard

Usage

from PyScorecard import PyScorecard

scorecard = PyScorecard()
scorecard.set_api_key("YOUR_API_KEY_HERE")
scorecard.set_year("2015")

scorecard.add_filter("school.degrees_awarded.predominant","=",["2","3"])

scorecard.add_field("school.name")
scorecard.add_field("ope6_id")
scorecard.add_fields(["cost.tuition.in_state","cost.tuition.out_of_state"])

data = scorecard.fetch_all()

License

GNU GPL-V2

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for PyScorecard, version 0.2.1
Filename, size File type Python version Upload date Hashes
Filename, size PyScorecard-0.2.1-py3-none-any.whl (15.5 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size PyScorecard-0.2.1.tar.gz (3.3 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page