Petpy is an easy-to-use and convenient Python wrapper for the Petfinder API. Includes methods for parsing output JSON into pandas DataFrames for easier data analysis
I have added an api quota checker, and some if conditions to check if the response dict contains the needed keys as it sometimes returns a KeyError if too many requests / api quota is exhausted
a workaround as petfinder api ignores this parameter if passed in the get request params