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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
PyScorecard-0.2.1.tar.gz
(3.3 kB
view details)
Built Distribution
File details
Details for the file PyScorecard-0.2.1.tar.gz
.
File metadata
- Download URL: PyScorecard-0.2.1.tar.gz
- Upload date:
- Size: 3.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.40.0 CPython/3.7.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
fb15a7c10036f313d9beb7219e12af855f70c30c1ebc837db749133f5a25ca67
|
|
MD5 |
a4cd8ca5720e9032e8fd1b47ae87e6ac
|
|
BLAKE2b-256 |
e55946d1325f1baac4e12110b7e049c1d51ce06aa1e35e049126cc7a04b7d27b
|
File details
Details for the file PyScorecard-0.2.1-py3-none-any.whl
.
File metadata
- Download URL: PyScorecard-0.2.1-py3-none-any.whl
- Upload date:
- Size: 15.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.40.0 CPython/3.7.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
25aab84065edb71477f8e2dc6cd5bc09d16807af0ff35170624b54ff5f607555
|
|
MD5 |
ef9cf158f3da6ac81208e9f32d2e1e8a
|
|
BLAKE2b-256 |
62e288ec68b4db696469e0239b405d21a7c1692a9596f621688585dce98ec30d
|