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
/* | |
** | |
*** Came across this article during my learning JS travels : https://blog.codinghorror.com/why-cant-programmers-program/ | |
*** Decided to have a go. Took about 15 minutes to get perfect. | |
*** I've been learning HTML/CSS/JS for a day each week for about 5 months. | |
** | |
*/ | |
for (i = 0; i<100; i++) { | |
let toPrint = i+1; |
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 | |
/* | |
Postcoder example | |
Allies Computing Ltd | |
Demonstrates UK Address lookup rest web service | |
Product URL: https://postcoder.com | |
Technical Specs: https://developers.alliescomputing.com/postcoder-web-api/address-lookup/premise | |
Example output: http://ws.postcoder.com/pcw/PCW45-12345-12345-1234X/address/UK/NR147PZ |
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
// Postcoder Java example | |
// Allies Computing Ltd | |
// | |
// Demonstrates UK Address lookup rest web service | |
// | |
// Product URL: https://postcoder.com | |
// Technical Specs: https://developers.alliescomputing.com | |
// Example output: http://ws.postcoder.com/pcw/PCW45-12345-12345-1234X/address/UK/NR147PZ | |
// | |
// This demo shows how to perform an address lookup and parse the results into Java objects. |
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
# Postcoder Ruby example | |
# Allies Computing Ltd | |
# | |
# This demo shows how to perform an address lookup in ruby. | |
# | |
# Note: This script has been developed for ruby >= 1.9.3 | |
# | |
require 'cgi' | |
require 'json' |
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
// Postcoder example | |
// Allies Computing Ltd | |
// | |
// Demonstrates UK Address lookup rest web service | |
// | |
// Product URL: https://postcoder.com/address-lookup | |
// Technical Specs: https://developers.alliescomputing.com/postcoder-web-api/address-lookup/premise | |
// Example output: http://ws.postcoder.com/pcw/PCW45-12345-12345-1234X/address/UK/NR147PZ | |
// | |
// This demo shows how to perform an address lookup and parse the results into C# objects. |
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
' Postcoder example | |
' Allies Computing Ltd | |
' | |
' Demonstrates UK Address lookup rest web service | |
' | |
' Product URL: https://postcoder.com/ | |
' Technical Specs: https://developers.alliescomputing.com/ | |
' Example output: http://ws.postcoder.com/pcw/PCW45-12345-12345-1234X/address/UK/NR147PZ | |
' | |
' This demo shows how to perform an address lookup and parse the results into VB.Net objects. |
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
# Postcoder Python example | |
# Allies Computing Ltd | |
# | |
# This demo shows how to perform an address lookup in Python. | |
# | |
import json | |
import urllib | |
searchkey = 'PCW45-12345-12345-1234X'; # Test search key, replace with your |