discogs_api_client 0.1.3 copy "discogs_api_client: ^0.1.3" to clipboard
discogs_api_client: ^0.1.3 copied to clipboard

A Dart/Flutter client to interact with Discogs API to access artists, labels, masters, releases, and search. Does not provide any methods that need user level authentication.

example/lib/main.dart

import 'package:discogs_api_client/discogs_api_client.dart';

void main() async {
  // Create and initialize the Discogs API client
  final client = await DiscogsApiClient.create();

  // Use the client to interact with the Discogs API
  final artist = await client.artists.artists(108713); // Example artist ID
  print(artist);

  final searchResults = await client.search.search(
    query: 'bad bunny',
    type: 'artist',
  );
  print(searchResults);

  // Close the client when done
  client.close();
}
0
likes
0
points
14
downloads

Publisher

verified publisherfryingpan.games

Weekly Downloads

A Dart/Flutter client to interact with Discogs API to access artists, labels, masters, releases, and search. Does not provide any methods that need user level authentication.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter, flutter_dotenv, fuzzy, http, logging

More

Packages that depend on discogs_api_client