Created
May 17, 2010 21:45
-
-
Save mager/404270 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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