A python library for collegescorecard.ed.gov
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 ScoreCardCreate 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)