Update: Gowalla has been bought by Facebook and been discontinued.
I just quickly made a class for accessing the Gowalla API because I needed it myself. I looked for an existing class on the internet but could only find some crappy stuff on Google Code.
So I decided to make one myself.
The use of the class is fairly simple. Include the class file (don’t forget to add you API-key), make an instance and do your calls.
The class internally uses CURL to do the requests to the server and returns the data as an associative array.
I tried to document the methods enough so it’s easy to use them.
Example:
getSpotEvents(846403);
foreach ($events['activity'] as $event)
{ // do stuff }
?>