WebService::GetSongBPM - Access to the getsongbpm.com API
version 0.0401
use WebService::GetSongBPM; my $ws = WebService::GetSongBPM->new( api_key => '1234567890abcdefghij', artist => 'van halen', song => 'jump', ); # OR $ws = WebService::GetSongBPM->new( api_key => '1234567890abcdefghij', artist_id => 'abc123', ); # OR $ws = WebService::GetSongBPM->new( api_key => '1234567890abcdefghij', song_id => 'xyz123', ); my $res = $ws->fetch(); my $bpm = $res->{song}{tempo};
WebService::GetSongBPM provides access to https://getsongbpm.com/api.
WebService::GetSongBPM
Your authorized access key.
The base URL. Default: https://api.getsongbpm.com
The artist for which to search.
The artist id for which to search.
The song for which to search.
The song id for which to search.
The user agent.
$ws = WebService::GetSongBPM->new(%arguments);
Create a new WebService::GetSongBPM object.
$r = $w->fetch();
Fetch the results and return them as a HashRef.
Moo
Mojo::UserAgent
Mojo::JSON::MaybeXS
Mojo::JSON
https://getsongbpm.com/api
Gene Boggs <gene@cpan.org>
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.
To install WebService::GetSongBPM, copy and paste the appropriate command in to your terminal.
cpanm
cpanm WebService::GetSongBPM
CPAN shell
perl -MCPAN -e shell install WebService::GetSongBPM
For more information on module installation, please visit the detailed CPAN module installation guide.