2017 © Pedro Peláez
 

library postcode-client

A postcode lookup client.

image

matthewbdaly/postcode-client

A postcode lookup client.

  • Tuesday, November 28, 2017
  • by matthewbdaly
  • Repository
  • 1 Watchers
  • 0 Stars
  • 21 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 4 Versions
  • 0 % Grown

The README.md

postcode-client

Build Status, (*1)

Postcode lookup client. Uses Ideal Postcodes to look up UK postcodes. You will need to obtain an API key in order to use it., (*2)

Installation

composer require matthewbdaly/postcode-client

This library uses HTTPlug for making HTTP requests, therefore you will also need to install a client or adapter., (*3)

Usage

<?php

require 'vendor/autoload.php';

use Matthewbdaly\Postcode\Client;

$client = new Client();
$response = $client->setKey('<MY_API_KEY>')
    ->get('ID1 1QD');

The Versions