Skip to content

Instantly share code, notes, and snippets.


Leigh Dodds ldodds

View GitHub Profile
lgladdy / banes-ishare.php
Last active May 27, 2018
BANES Council Data from iShare
View banes-ishare.php
$pc = 'ba11be';
//HACKY HACKY. GET the first properly in the postcode.
$url = ''.$pc.'&pagesize=1&startnum=1';
$data = json_decode(file_get_contents($url),true);
$x = $data['data'][0][4];
$y = $data['data'][0][5];
$id = $data['data'][0][0];
JeniT / gist:2927644
Created Jun 14, 2012
Possible way to provide POSTable URI in RDF
View gist:2927644
eg:reviews <> ;
eg:order "{?copies}" ;
and then the definition of eg:reviews would say "the object of this property
provides reviews of the subject of this property" and the definition of
eg:order would say "POST to the URI generated by expanding the URI template
value of this property where the copies variable is the number of copies to
be ordered"