Type of listing, statistics of listed places?

4 views
Skip to first unread message

Herr Kaleun

unread,
Mar 22, 2011, 4:09:23 PM3/22/11
to Hyperpublic API Developers
Hello :)

thank you for this great api point.

How can i know what do i list and what the limit is?
E.g., if i for example, call https://api.hyperpublic.com/api/v1/places
do i have a list of all places available?

What if no?

Will there be a place, where i can see some stats about all places in
the system and maybe do something
with the data?


Thank you!

Doug Petkanics

unread,
Mar 22, 2011, 4:15:23 PM3/22/11
to hyperpublic-a...@googlegroups.com
If you call the endpoint you listed you'll receive 10 places. The API is still in Beta so we're improving it frequently, and soon we'll add pagination so that you can request the next 10 places, and the next 10 etc. The endpoint is actually meant to be called with some the options listed in the documentation here: http://developer.hyperpublic.com/places/find-places/

For example, pass in a lat and a lon and a limit of 50 to get the 50 places closest to the location you pass in. Right now the data is richest in NYC and San Francisco, but we'll be adding more cities shortly.

Herr Kaleun

unread,
Mar 22, 2011, 4:26:08 PM3/22/11
to Hyperpublic API Developers
This is very good news my friend :)

I already posted something on the mail list about this. However a
stackoverflowish system will
benefit much more in the long run, for a dev mail list.


It will be like following, since i really do not require places like
laundries (actually only cafe's and
bar's) i will take them from your database, sync them everyday (look
for changes etc.) and in the
opposite site, will also sync unmatched places from my database back
to yours and link them
on my site with the hyperpublic_place_id so i know if they matched
correctly and stuff.

What i want to ask you is, and probably more developers will ask is,
what is the proper database
layout for keeping such data?
For example, will a location have multiple addresses, locations and
pictures? ( for example my places,
have at least 3 pictures each )

What to do then?

I dont want to keep you busy all the time, this are my final questions
my friend, so if you would
provide a example db layout, that would be very very professional.



I also noticed some errors maybe in the documentation
http://developer.hyperpublic.com/places/find-places/

if you look at the example and the table, the /places and /things url
tags have a mismatch.

Doug Petkanics

unread,
Mar 22, 2011, 5:51:32 PM3/22/11
to hyperpublic-a...@googlegroups.com
We will provide examples of all datatypes in the documents very soon. We'll also be supporting multiple photos for a place.

You can use tags to search for specific business types. Try "cafe" or "restaurant"

Places will generally only have one location. People may have many (their home, their work, etc). So the location value will be an array, but like I said, it will generally have one location for places.

Eric Tang

unread,
Mar 22, 2011, 6:11:11 PM3/22/11
to Herr Kaleun, hyperpublic-a...@googlegroups.com
Hi Herr,

As for the tags search, the format is a comma-separated list (tags=tag1,tag2,tag2).  
I'll update the documentation accordingly.

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