
WebService::Gnavi - Use Gnavi API From Perl

my $gnavi = WebService::Gnavi->new(
access_key => $key
);
my $res = $gnavi->search(\%params);
my $pager = $res->pager;
my @list = $res->list;
my @list = $gnavi->areas();
my @list = $gnavi->prefectures();
my @list = $gnavi->category_large();
my @list = $gnavi->category_small();

WebService::Gnavi allows you to access gnavi.co.jp's APIs from Perl.

Creates a new instance of WebService::Gnavi. The access_key argument is required.
Searches for restaurants using the specified params
Returns the list of areas.
Returns the list of prefectures.
Returns the list of large categories.
Returns the list of small categories.
Sends a request to the API

WebService::Gnavi::SearchResult doesn't collect categories at the moment. This is planned to be fixed soon-ish (or, send in a patch, please ;)

Copyright (c) 2007 Daisuke Maki <daisuke@endeworks.jp>

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.