gnavi / gnavi-api
Gurunavi API - PHP
Installs: 24
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/gnavi/gnavi-api
Requires
- php: >=5.4.0
This package is auto-updated.
Last update: 2025-09-20 23:40:12 UTC
README
Yii2 library for gnavi.co.jp based upon https://github.com/fukata/php-gnavi
How to
use GNavi\Api;
$apikey = 'Your API KEY';
$query = array(
'name' => 'ワイン',
);
$gnavi = new Gnavi($apikey);
$data = $gnavi->doRestSearchApi($query);
if ( isset( $data->error ) ) {
// error
} else {
// success
foreach ( $data->rest as $r ) {
print("name: " . $r->name);
}
}
Please access gnavi api list for further informaiton.
Licence
Apache Licence 2.0