Skip to content
This repository has been archived by the owner on Apr 1, 2019. It is now read-only.

bensquire/postcodeanywhere-php-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

Note

This repo has not been maintained in over 4 years, as such it is currently considered deprecated. Sorry.

postcodeanywhere-php-api

A PHP library to communicate with the PostCodeAnywhere Online service (http://www.postcodeanywhere.co.uk/).

Using simple OO methods, this project will connect to and parse various services exposed by there online service. All of there services require an account, however several functions can be called for free.

(Please note I am in no way affiliated with postcodeanywhere.)

Implemented Functionality:

  • Interactive Find (Free)
  • Interactive Find By Postcode (Free)
  • Interactive Retrieve By Address (Paid)
  • Interactive Retrieve By ID (Paid)

Example Code:

$oPostcode = new interactiveFindByPostcode();
$oPostcode->setLicenceKey('9999-9999-9999-9999');
$oPostcode->setAccountCode('TESTS99999');
$oPostcode->setPostcode('DA1 2EN');
$oPostcode->run();

Requirements:

This library requires no additional software beyond a functional version of PHP 5.2 (or greater), with the simpleXMLElement library include (done by default).

About

PHP API to the postcodeanywhere service

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages