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

animal_type parameter does not work #16

Closed ma7555 closed 4 years ago

ma7555 commented 4 years ago

Hello, specifing animal_type in the animals call does not work and the returned df contains all animals

pf.animals(results_per_page=50, pages=1, return_df=True, animal_type='cat')

image

ma7555 commented 4 years ago

I have identified the problem and will create a PR soon, it is not a problem in your code though but rather on their side

aschleg commented 4 years ago

Hello!

Thank you so much for investigating the issue and submitting a pull request! As I mentioned on the pull request, I went ahead and merged it and will release a new version of petpy on PyPI shortly. Thanks again for your help!