News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

James Morris' Blog:
A Symfony2 Console Command and the Foursquare API Venuehistory
September 05, 2011 @ 09:54:40

In a new post to his blog James Morris has shared a custom Symfony2 console command he's written to pull in Foursquare data for his testing locally.

I've been playing with the Foursquare API recently, I'm attempting to get a new homepage built and want to display a map of where I hang out. I use Foursquare quite a bit so wanted to get the locations from their API then plot them on Google maps. There's a venuehistory endpoint that gives you a massive list of all the venues you've checked into with details such as the venue name, location including lat and lng coordinates, and the count of times you've checked in.

He includes a screenshot of the API's results, the code you'll need to recreate it and an example of it running.

0 comments voice your opinion now!
tutorial symfony2 api foursquare custom command


blog comments powered by Disqus

Similar Posts

NETTUTS.com: Creating a File Hosting Site with CodeIgniter

PHP-Coding-Practices.com: How I Turned A Slow Array Sort Into A Quick One Using Quicksort Algorithm

Zend Developer Zone: Debugging PHP applications with xdebug

SitePoint PHP Blog: Visualize Your Code’s Quality with PhpMetrics

Eirik Hoem's Blog: Prado Framework 3.1.2 released


Community Events

Don't see your event here?
Let us know!


unittest api laravel5 introduction language threedevsandamaybe series symfony library community security laravel voicesoftheelephpant version podcast extension release interview opinion framework

All content copyright, 2015 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework