Skip to content

Instantly share code, notes, and snippets.

@mager
Created May 17, 2010 21:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mager/404270 to your computer and use it in GitHub Desktop.
Save mager/404270 to your computer and use it in GitHub Desktop.
<?php
set_include_path(get_include_path() . PATH_SEPARATOR . '/home/amager/.pear/usr/local/php5/lib/pear/');
require_once 'Services_SimpleGeo/Services/SimpleGeo.php';
// your OAuth token and secret.
$client = new Services_SimpleGeo('367dYYDWfPvR2GBchKxAv4YpqWY7SvdP', 'XgqGtyRuajWyVKkTTGJqnqvjGRafhtpg');
var_dump($client->getRecord('com.simplegeo.test', '18'));
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment