Skip to main content

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

college-scorecard-0.0.1.tar.gz (3.6 kB view hashes)

Uploaded Source

Built Distribution

college_scorecard-0.0.1-py3-none-any.whl (4.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page