Details
geo-name-search
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");
|
Name: |
GeoNames PHP API |
Base name: |
geo-name-search |
Description: |
Search for geographic places using GeoNames API |
Version: |
- |
PHP version: |
5 |
License: |
GNU General Public License (GPL) |
All time users: |
69 users |
All time rank: |
10102 |
Week users: |
0 users |
Week rank: |
189  |
|
|
Not yet rated by the users |
|
Applications that use this package |
|
No pages of applications that use this class were specified.
If you know an application of this package, send a message to the author to add a link here.
|
Files |
|
|
Files |
|