EVDB::API::JSON - Use the JSON flavor of the Eventful API


EVDB-API documentation  | view source Contained in the EVDB-API distribution.

Index


NAME

Top

EVDB::API::JSON - Use the JSON flavor of the Eventful API

SYNOPSIS

Top

    my $evdb    = EVDB::API->new(app_key => $app_key, flavor => 'json');
    my $results = $evdb->call('events/get', { id => 'E0-001-001336058-5' });

DESCRIPTION

Top

Parses JSON from the Eventful API.

METHODS

Top

flavor

Return the flavor name.

ctype

Return a checkstring for the expected return content type.

parse

Parse JSON data from the Eventful API using JSON::Syck or JSON.

AUTHORS

Top

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

LICENSE

Top

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

SEE ALSO

Top

* EVDB::API
* JSON::Syck
* JSON

EVDB-API documentation  | view source Contained in the EVDB-API distribution.