Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[wip] Grab random shelter id based on zip code #29

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

millidavids
Copy link

No description provided.

@millidavids millidavids changed the title Grab random shelter id based on zip code [wip] Grab random shelter id based on zip code Jun 14, 2015
@substars
Copy link
Contributor

Maybe people already know this, but just for context since I was working on something similar: this is probably the only way to get a random animal from any shelter because you can't use pet.getRandom with a location.

i.e. the API documentation says that this should work, but it ignores ZIP:
http://api.petfinder.com/pet.getRandom?format=json&key=GETYOUROWN&location=55406&output=basic

I emailed Petfinder and they are aware of the bug but don't know when it'll be fixed.

@boonrs
Copy link
Contributor

boonrs commented Jul 17, 2015

Let me know when this is no longer a WIP.

  • Add a spec for get_local_shelter_ids

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants