NAME
WWW::EchoNest::Util - Utility functions to support the Echo Nest web API.
VERSION
Version 0.001.
DEPENDENCIES
CPAN
JSON
SYNOPSIS
use WWW::EchoNest::Util;
METHODS
new
Returns a new WWW::EchoNest::Util instance.
FUNCTIONS
user_agent
Returns the LWP::UserAgent instance used by all WWW::EchoNest classes for
making HTTP requests.
json_rep
Attempts to convert it's single argument into a JSON formatted string.
codegen
Calls the codegen program and returns a HASH ref result.
call_api
Calls the Echo Nest web API.
get_conf
Returns the instance of WWW::EchoNest::Config used internally by Util.pm.
set_conf
Creates a new WWW::EchoNest::Config object to be used internally by Util.pm.
Accepts a single HASH ref argument.
post_chunked
Calls the Echo Nest web API. This most important method
of the entire WWW::EchoNest system.
fix_keys
Calls the Echo Nest web API. This most important method
of the entire WWW::EchoNest system.
AUTHOR
Brian Sorahan, <bsorahan@gmail.com>
SUPPORT
Join the Google group: <http://groups.google.com/group/www-echonest>
ACKNOWLEDGEMENTS
Thanks to all the folks at The Echo Nest for providing access to their powerful API.
LICENSE AND COPYRIGHT
Copyright 2011 Brian Sorahan.
This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.
See http://dev.perl.org/licenses/ for more information.