ayctor/geoapifr
Composer 安装命令:
composer require ayctor/geoapifr
包简介
Small PHP client library for geo api fr
README 文档
README
It is a small php client library to use the GéoAPI.
See official documentation for availables methods.
Instalation
composer require ayctor/geoapifr
Usage
use GeoApiFr\GeoApiFr; // Create instance $instance = new GeoApiFr; $regions = $instance->get('regions'); // OR $versailles = GeoApiFr::getInstance()->get('communes', ['nom' => 'versailles']);
Errors
It will return an empty array if the request came up empty.
Return GuzzleHttp\Exception\RequestException object if error 400.
统计信息
- 总下载量: 1.9k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 3
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2017-04-24