find a place issue

1 view
Skip to first unread message

Lukas Mairl

unread,
Nov 3, 2011, 9:29:54 PM11/3/11
to Hyperpublic API Developers
hi,
im using the ruby library to do simple queries. im not sure why i
don't get results for the following query:

@result = places_client.find(:q => "grimaldis", :limit => 100, :lat
=>
40.6958837, :lon =>-73.9967317, :radius => 300, :location => "New
York, NY")

i've tried to do the same on http://hyperpublic.com/app?utf8=%E2%9C%93&q=grimaldis&x=0&y=0
no results either.

when i search by tag "pizza", i get several results. "grimaldis" is
one if it.
result: http://hyperpublic.com/places/4dd53596e2f2d70228000001/profile)

am i doing something wrong?

thanks

Lukas

Eric Tang

unread,
Nov 4, 2011, 12:29:02 PM11/4/11
to hyperpublic-a...@googlegroups.com
Hi Lukas,

I think the "location" param is overriding the "lat, lon" params.  You only have to pass in one of those params.  In this case, removing the "location" param would work for you.

Cheers,
Eric
Reply all
Reply to author
Forward
0 new messages