api-postcode/php-client
最新稳定版本:1.0.4
Composer 安装命令:
composer require api-postcode/php-client
包简介
PHP Client Api Postcode
README 文档
README
A PHP client for fetching address detials from https://api-postcode.nl
Installation
Installation is a quick step process:
- Download the client with composer
Step 1: Download php-client using composer
$ composer require api-postcode/php-client
Usage
$token = 'secret-token'; $client = new ApiPostcode\Client\PostcodeClient($token); $address = $client->fetchAddress('1082MD', 34); $address->getStreet(); // Claude Debussylaan $address->getCity(); // Amsterdam $address->getHouseNumber(); // 34 $address->getZipCode(); // 1082MD $address->getLatitude(); // 52.3377074 $address->getLongitude(); // 4.8719565
统计信息
- 总下载量: 47.64k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 9
- 点击次数: 1
- 依赖项目数: 2
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2017-06-04