A python library for collegescorecard.ed.gov
Project description
scorecard
A python library for collegescorecard.ed.gov
Getting Started
Before you do anything, you're going to need an API key. You can apply for one here.
Then import the ScoreCard
class.
from scorecard.api import ScoreCard
Create a ScoreCard
instance.
sc = ScoreCard(API_KEY='your api key')
Search for a college
colleges = sc.search('Howard University')
search()
will return a list of College
objects.
You can also search for a specific college using it's id.
howard = sc.search(id=131520)
The College
Object
College.name
returns the name of the college.College.location
returns a dictionary with the city, state, and zip code of the campus.College.gender_breakdown
returns a dictionary with the percentage of males and females.College.undergrad
returns the amount of undergrad students.College.acceptance_rate
returns the acceptance rate.College.sat_scores
returns a dictionary with the math, writing, critical reading, and overall SAT scores.College.tuition
returns a dictionary with the in-state and out-of-state tuition. If the university is a private one, both the in-state and out-of-state tuition will be the same,
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for college_scorecard-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ffe195d56445ae52603bfb5540d63c50df33d11d24125f6e570d65c8fc1d9426 |
|
MD5 | 458f65bac8bb7b64af759822cd3279a4 |
|
BLAKE2b-256 | 7a25e423d5af41dbc8b15c9181accd7dbc77f57ad313bec44e1ddd2a49c98037 |