api_calls
A group of functions to query the Fingertips api and retrieve data in a variety of formats.
- fingertips_py.api_calls.get_json(url)
- Parameters:
url – A url to make a request
- Returns:
A parsed JSON object
- fingertips_py.api_calls.make_request(url, attr=None)
- Parameters:
url – A url to make a request
attr – The attribute that needs to be returned
- Returns:
a dict of the attribute and associated data