Search By ZipCode with radius

38 views
Skip to first unread message

Tazeem Hassan

unread,
Feb 10, 2022, 2:55:59 PM2/10/22
to apidev
Hi,
i want to search dogs with the zipcode 10940 and radius 10miles with all the attributes of the dogs.

Thanks

Richard Saffell

unread,
Feb 10, 2022, 5:46:55 PM2/10/22
to apidev, tazeemh...@gmail.com
Hello,

There are some examples here in this group, and also in the documentation that should do what you're looking for. There's a post from me on ~1/25/22 that has the search by coordinates - you can change that to postal code if you'd like. You can use the available/dogs view as in the example from last month.

Check for Radius searches and the animals endpoint reference for more information. Here's the link to the documentation: https://api.rescuegroups.org/v5/public/docs#animals

Richard

Tazeem Hassan

unread,
Feb 11, 2022, 12:33:15 AM2/11/22
to apidev, Richard Saffell
Hi,
and data :  $postdata = array("filterRadius" => array("miles" => 2, "postalcode" => 10940));
but it showing me total results available {"meta":{"count":32960,"countReturned":2,"pageReturned":1,"limit":2,"pages":16480,"transactionId":"XSFszrojjStJ"}

but i am not sure its returning me correct information. please can you confirm me this.

thanks
Reply all
Reply to author
Forward
0 new messages