peterujah/geo-name-search
Composer 安装命令:
composer require peterujah/geo-name-search
包简介
Php Geoname search wrapper, to help reduce too much api call.
README 文档
README
Php Geoname search wrapper, to help reduce too much api call
Installation
Installation is super-easy via Composer:
composer require peterujah/geo-name-search
USAGES
First you have to create an account with geoname to acquire api username http://www.geonames.org/export/geonames-search.html
Initialize GeoNameSearch with geoname api username
$geo = new \Peterujah\NanoBlock\GeoNameSearch("username");
List all states in any country Nigeria
$geo->states("Nigeria");
List all cities in any sates Enugu
$geo->cities("Enugu");
Search geoname with query and country
$geo->query("Query", "Country");
统计信息
- 总下载量: 45
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2021-12-26