Skip to content

Instantly share code, notes, and snippets.

@cblanc
Last active January 3, 2016 16:19
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 cblanc/8488177 to your computer and use it in GitHub Desktop.
Save cblanc/8488177 to your computer and use it in GitHub Desktop.
$ curl https://api.ideal-postcodes.co.uk/v1/postcodes/ID11QD?api_key=ak_iddqdidkfaidchoppers&callback=foo
# result =>
foo && foo({"result":[
{
"postcode":"ID1 1QD",
"post_town":"LONDON",
"line_1":"Kingsley Hall",
"line_2":"Powis Road",
"line_3":""
"organisation_name": "",
"building_name": "Kingsley Hall",
"udprn": 12345678,
# ... truncated ...
}],
"code":2000,
"message":"Success"
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment