aschleg / petpy

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
http://petpy.readthedocs.io
MIT License
28 stars 13 forks source link

Fix animal_type param and add api limit checkers #19

Closed ma7555 closed 4 years ago

ma7555 commented 4 years ago

1- Fixes animal_type param in the get request as the api only accepts it when passed in the url 2- Add api checkers to avoid errors on long requests where the api limit could be hit

aschleg commented 4 years ago

Hello!

Thank you so much for submitting the pull request with the changes and additional methods for checking the limits! Apologies for not getting to your pull request sooner.

Went ahead and merged the request and will update the current documentation and release a new version of petpy on PyPI shortly!

Thanks again!