NAME
    Catalyst::Model::EVDB - EVDB Catalyst model component

SYNOPSIS
      # Use the Catalyst helper
      script/myapp_create.pl model EVDB EVDB xxxxxxxxxxxxxxxx

      # lib/MyApp/Model/People.pm
      package MyApp::Model::EVDB;

      use base qw/Catalyst::Model::EVDB/;

      __PACKAGE__->config(
          app_key => 'xxxxxxxxxxxxxxxx',
      );

      1;

      my $args = {
          location => 'Gainesville, FL',
          keywords => 'tag:music',
      };

      # As object method
      my $events = $c->comp('M::EVDB')->call('events/search', $args)
          or die "Error searching for events: " . $evdb->error;

      # As class method
      my $events = MyApp::Model::EVDB->call('events/search', $args)
          or die "Error searching for events: " . $evdb->error;

DESCRIPTION
    This is the EVDB::API model class for Catalyst. EVDB::API is a Perl
    interface to EVDB, the Events and Venues Database.

    Please note that EVDB API methods require an application key.

    For more information on EVDB, or to obtain an application key, see
    <http://api.evdb.com/>.

METHODS
  new
    Create a new EVDB API object, using "app_key" as specified in your
    configuration.

  error
    Return the EVDB API error message.

AUTHOR
    Daniel Westermann-Clark <danieltwc@cpan.org>

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

SEE ALSO
    * Catalyst
    * EVDB::API

