Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/alganet/demoseille
Analytics for Foursquare venue owners. Also a famous brazillian plane from Santos Dumont. Also a brazillian beer.
https://github.com/alganet/demoseille
Last synced: about 1 month ago
JSON representation
Analytics for Foursquare venue owners. Also a famous brazillian plane from Santos Dumont. Also a brazillian beer.
- Host: GitHub
- URL: https://github.com/alganet/demoseille
- Owner: alganet
- License: agpl-3.0
- Created: 2012-05-05T22:02:51.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2012-09-10T03:36:23.000Z (over 12 years ago)
- Last Synced: 2024-10-14T10:51:32.666Z (3 months ago)
- Language: PHP
- Homepage:
- Size: 132 KB
- Stars: 3
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
locais.mobi
===========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).Requirements
------------* 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.0Installation
------------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
```API endpoints
-------------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### [GET/POST] `/venues`
List and search of venues.
Examples:
* `/venues?q=tribeca` Lists venues that are managed by the current API with the given name
### [GET] `/venues/*`
Shows basic information about an specific venue.
### [GET] `/venues/*/stats`
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### [GET] `/venues/*/people`
Shows detailed information from the given venue related to people.
* Top people
* Recent people
* Unique people### [GET] `/venues/*/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.**
### [GET] `/venues/*/near`
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.**
### [GET] `/venues/*/near/*`
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.**
### [GET] `/venues/*/snapshot`
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.**
License
-------Locais.mobi, Foursquare statistics for venue owners.
Copyright (C) 2012 AeronauticsThis 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 .Contact
-------If you feel like talking, you can reach us at:
* Alexandre Gaigalas: @alganet or [email protected]
* Augusto Pascutti: @augustohp or [email protected]