nyc offers?

5 views
Skip to first unread message

Adam Dinwiddie

unread,
Nov 2, 2011, 12:00:23 PM11/2/11
to Hyperpublic API Developers
does hyperpublic have offers in/near nyc? my api test calls don't
return any:

hp.offers.find(lat =40.7, lon =74.0, radius = 200)

https://api.hyperpublic.com/api/v1/offers?lat=40.7&radius=200&lon=74.0&client_id=noPcXKvns8d2BZRCTxyPb1gR8gJrRwMvL7yMmwuh&client_secret=redacted

Doug Petkanics

unread,
Nov 2, 2011, 12:09:54 PM11/2/11
to hyperpublic-a...@googlegroups.com
Hi Adam, yes we have NYC offers.

The longitude you've passed in 74.0, actually needs to be -74.0. Lon 74 at the same lat as NYC is in Kyrgyzstan.

-Doug
--
Doug Petkanics | @petkanics
Co-founder at Hyperpublic

Adam Dinwiddie

unread,
Nov 2, 2011, 12:30:47 PM11/2/11
to Hyperpublic API Developers
aha, whoops

you might want to update the sample code on github:

https://github.com/hyperpublic/hyperpublic_python

On Nov 2, 12:09 pm, Doug Petkanics <d...@hyperpublic.com> wrote:
> Hi Adam, yes we have NYC offers.
>
> The longitude you've passed in 74.0, actually needs to be -74.0. Lon 74 at
> the same lat as NYC is in Kyrgyzstan.
>
> -Doug
>
> On Wed, Nov 2, 2011 at 12:00 PM, Adam Dinwiddie <adamdinwid...@gmail.com>wrote:
>
> > does hyperpublic have offers in/near nyc? my api test calls don't
> > return any:
>
> > hp.offers.find(lat =40.7, lon =74.0, radius = 200)
>
> >https://api.hyperpublic.com/api/v1/offers?lat=40.7&radius=200&lon=74....
Reply all
Reply to author
Forward
0 new messages