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 echo 'Arquay is nice' ?> |
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')); |
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
import simplegeo | |
import datetime | |
import time | |
from lxml import etree | |
from simplegeo import Client, Record, APIError | |
MY_OAUTH_KEY = 'my-oauth-key' | |
MY_OAUTH_SECRET = 'my-oauth-secret' | |
MY_LAYER = 'gov.usgs.earthquake' |
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
#!/usr/bin/python | |
import simplegeo | |
import time | |
import feedparser | |
from simplegeo import Client, Record, APIError | |
MY_OAUTH_KEY = '[insert_your_oauth_key_here]' | |
MY_OAUTH_SECRET = '[insert_your_oauth_secret_here]' |
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
import csv | |
import simplegeo | |
OAUTH_TOKEN = '[insert_oauth_token_here]' | |
OAUTH_SECRET = '[insert_oauth_secret_here]' | |
CSV_FILE = '[insert_csv_file_here]' | |
LAYER = '[insert_layer_name_here]' | |
client = simplegeo.Client(OAUTH_TOKEN, OAUTH_SECRET) |
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
{ "created" : 1271993072, | |
"distance" : 185.12556955794582, | |
"geometry" : { "coordinates" : [ -105.27319199999999, | |
40.019390999999999 | |
], | |
"type" : "Point" | |
}, | |
"id" : "141254950", | |
"layerLink" : { "href" : "http://api.simplegeo.com/0.1/layer/com.simplegeo.us.business.json" }, | |
"properties" : { "area_code" : "303", |
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
{housenumber} {pre_directional} {street_name} {street_type} {post_directional} {apt_type} {aptnumber} | |
{city} {state} {zip}-{plus4} |
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
{area_code}-{exchange}-{phone_number} |
OlderNewer