bpm_client 1.0.0 copy "bpm_client: ^1.0.0" to clipboard
bpm_client: ^1.0.0 copied to clipboard

A library that makes it easy to interact with the GetSongBPM API to get beats per minute for many songs.

example/bpm_client_example.dart

import 'package:bpm_client/bpm_client.dart';

void main() async {
  final client = GetSongBPMClient('YOUR_API_KEY');

  final song = await client.song('o2r0L');
  print(song);

  final artist = await client.artist('nZR');
  print(artist);

  final songResults = await client.songSearch('Master of Puppets');
  songResults.songs.forEach((s) => print(s));

  final artistResults = await client.artistSearch('Metallica');
  artistResults.artists.forEach((a) => print(a));

  final searchResults =
      await client.songAndArtistSearch('Master of Puppets', 'Metallica');
  searchResults.items.forEach((s) => print(s));
}
0
likes
35
pub points
0%
popularity

Publisher

unverified uploader

A library that makes it easy to interact with the GetSongBPM API to get beats per minute for many songs.

Repository (GitHub)
View/report issues

License

MIT (LICENSE)

Dependencies

http

More

Packages that depend on bpm_client