Where do the People Live?

2 views
Skip to first unread message

crunchysue

unread,
Mar 17, 2009, 3:36:55 PM3/17/09
to Shizzow-Dev
Hi,

How could I get a list of all the places people live (just City,
State, Country)?

A query like this - https://v0.api.shizzow.com/people - is limited
because I can't get ALL the people.

Maybe you could add an API call that returns the top 20 places where
people live, and how many people live there? Here's an example using
the above query, but it's only getting the top 100 people alphabetical
by people_name and aggregating those.

http://houseofcrunchy.com/shz/test/

Thanks.
Sue

Ryan Snyder

unread,
Mar 25, 2009, 4:59:33 PM3/25/09
to Shizzow-Dev
Hi Sue,

The only call available to fetch this information is the /people
call. In your application's down hours, you can cron these calls on a
nightly or even weekly basis, using the ?limit=100&start=X parameters
to fetch all of the people in Shizzow and cache the data on your
server.

I'll add a ticket to make this information easier to pull out of the
database, but there are much more pressing issues at the moment so
don't expect that anytime soon. :)

Cheers,
Ryan


On Mar 17, 12:36 pm, crunchysue <crun...@houseofcrunchy.com> wrote:
> Hi,
>
> How could I get a list of all the places people live (just City,
> State, Country)?
>
> A query like this -https://v0.api.shizzow.com/people- is limited
Reply all
Reply to author
Forward
0 new messages