NAME
WebService::AcousticBrainz - Access to the AcousticBrainz API
VERSION
version 0.0602
SYNOPSIS
use WebService::AcousticBrainz;
my $w = WebService::AcousticBrainz->new;
my $r = $w->fetch(
mbid => 'c51f788f-f2ac-4d4e-aa72-205f002b8752',
endpoint => 'low-level',
query => { n => 2 }, # optional
);
DESCRIPTION
WebService::AcousticBrainz
provides access to the https://acousticbrainz.org/data API.
ATTRIBUTES
base
The base URL. Default: https://acousticbrainz.org
ua
The user agent.
METHODS
new
$w = WebService::AcousticBrainz->new;
Create a new WebService::AcousticBrainz
object.
fetch
$r = $w->fetch(%arguments);
Fetch the results given a mbid (MusicBrainz recording ID), endpoint and optional query arguments.
SEE ALSO
The t/* tests
The eg/* programs
https://acousticbrainz.org/data
https://acousticbrainz.readthedocs.io/api.html
AUTHOR
Gene Boggs <gene@cpan.org>
COPYRIGHT AND LICENSE
This software is copyright (c) 2022 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.