NAME
WebService::AcousticBrainz - Access to the AcousticBrainz API
VERSION
version 0.0101
SYNOPSIS
use WebService::AcousticBrainz;
my $w = WebService::AcousticBrainz->new;
my $r = $w->fetch(
mbid => '96685213-a25c-4678-9a13-abd9ec81cf35',
endpoint => 'low-level',
query => { n => 2 },
);
DESCRIPTION
WebService::AcousticBrainz
provides access to the https://acousticbrainz.org/data API.
ATTRIBUTES
base
The base URL. Default: https://acousticbrainz.org/api/v1
METHODS
new()
$x = WebService::AcousticBrainz->new;
Create a new WebService::AcousticBrainz
object.
fetch()
$r = $w->fetch(%arguments);
Fetch the results given the mbid (MusicBrainz ID), endpoint and optional query arguments.
SEE ALSO
https://acousticbrainz.org/data
AUTHOR
Gene Boggs <gene@cpan.org>
COPYRIGHT AND LICENSE
This software is copyright (c) 2018 by Gene Boggs.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.