https://github.com/matthewbdaly/postcode-client
Postcode lookup client
https://github.com/matthewbdaly/postcode-client
php postcode uk
Last synced: 3 months ago
JSON representation
Postcode lookup client
- Host: GitHub
- URL: https://github.com/matthewbdaly/postcode-client
- Owner: matthewbdaly
- License: mit
- Created: 2017-11-26T12:15:14.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-11-28T12:14:31.000Z (over 7 years ago)
- Last Synced: 2025-01-21T07:09:08.664Z (5 months ago)
- Topics: php, postcode, uk
- Language: PHP
- Size: 13.7 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# postcode-client
[](https://travis-ci.org/matthewbdaly/postcode-client)
Postcode lookup client. Uses [Ideal Postcodes](https://ideal-postcodes.co.uk/) to look up UK postcodes. You will need to obtain an API key in order to use it.
Installation
------------```
composer require matthewbdaly/postcode-client
```This library uses [HTTPlug](http://docs.php-http.org/en/latest/httplug/introduction.html) for making HTTP requests, therefore you will also need to install [a client or adapter](http://docs.php-http.org/en/latest/clients.html).
Usage
-----```
setKey('')
->get('ID1 1QD');
```