geonames-client:GeoNames API客户端

时间:2021-03-21 04:10:21
【文件属性】:
文件名称:geonames-client:GeoNames API客户端
文件大小:134KB
文件格式:ZIP
更新时间:2021-03-21 04:10:21
api database geonames countries languages GeoNames客户端 适用于PHP的 API客户端。 快速开始 了每个端点的可用API参数的概述。 <?php use GeoNames \ Client as GeoNamesClient ; $ g = new GeoNamesClient ( 'username' ); // get a list of supported endpoints $ endpoints = $ g -> getSupportedEndpoints (); // get info for country // note that I'm using the array destructor introduced in PHP 7.1 [ $ country ] = $ g -> countryInfo ([ 'country' => 'IL' , 'lang' => 'ru' ,
【文件预览】:
geonames-client-master
----src()
--------Client.php(12KB)
--------cacert.pem(217KB)
----publish.sh(850B)
----LICENSE.md(1KB)
----phpunit.xml(593B)
----README.md(3KB)
----tests()
--------GeoNames()
----.gitignore(103B)
----phpcs.xml(1KB)
----CHANGELOG.md(1KB)
----composer.json(1KB)

网友评论