Analytics for Foursquare venue owners.
This is a work in progress project, this documentation does not imply all the existing features (for more or less).
- PHP >= 5.3.5
- Respect (PHP Components)
- Loader >= 0.2.0
- Rest >= 0.4.1
- Config >= 0.4.1
- Relational >= 0.4.4
- Validation >= 0.4.4
- Twig >= 1.7.0
Point the web server to use the public
folder as the Document Root. All requests
must be redirected to the index.php
file. If Apache is used, a .htaccess
is already provided.
Below are the pear installation commands for the before mentioned dependencies:
sudo pear channel-discover respect.li/pear
sudo pear install Respect/Loader-0.2.0
sudo pear install Respect/Rest-0.4.1
sudo pear install Respect/Relational-0.4.4
sudo pear install Respect/Config-0.4.1
sudo pear install Respect/Validation-0.4.4
sudo pear channel-discover pear.twig-project.org
sudo pear install twig/Twig
A list of URIs identifying the availiable resources in the given supported formats:
- text/html
- application/json
- text/xml
- application/x-net.php.serialize.vnd
List and search of venues.
Examples:
/venues?q=tribeca
Lists venues that are managed by the current API with the given name
Shows basic information about an specific venue.
Shows detailed statics about the given venue:
- Total checkins
- New chekeins
- Unique visitors
- Sharing (Facebook/Twitter)
- Gender (Male/Female)
- Age
- Checkins per hour
- Histogram
- Tips
- Photos
Shows detailed information from the given venue related to people.
- Top people
- Recent people
- Unique people
Shows detailed information from the given venue related to a given person.
- Checkin history
- Tip history
- Photo history
- Comentary history
- Related people
OBS: Information provided only since the crawling for that vendor started.
Shows information about near venues related to the given venue.
- Similar audience
- Similar venues
- Same venue category
- Popular venues
OBS: Information provided only since the crawling for that vendor started.
Shows information about a near venue related to the given venue.
- Distance
- Same people
- Competing audience
OBS: Information provided only since the crawling for that vendor started.
Basic information resuming what is provided by stats
, near
and people
for
the last hour.
OBS: Information provided only since the crawling for that vendor started.
Locais.mobi, Foursquare statistics for venue owners.
Copyright (C) 2012 Aeronautics
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
If you feel like talking, you can reach us at:
- Alexandre Gaigalas: @alganet or alexandre@gaigalas.net
- Augusto Pascutti: @augustohp or augusto@phpsp.org.br