Skip to content

A dart library for interfacing with the Spotify API.

License

Notifications You must be signed in to change notification settings

prologify/spotify-dart

 
 

Repository files navigation

spotify-dart Pub Build Status

A dart library for interfacing with the Spotify API.

Usage

A simple usage example:

import 'package:spotify/spotify_io.dart';

main() async {
  var credentials = new SpotifyApiCredentials(clientId, clientSecret);
  var spotify = new SpotifyApi(credentials);

  var artist = await spotify.artists.get('0OdUWJ0sBjDrqHygGUXeCF');
}

For usage in the browser use

import 'package:spotify/spotify_browser.dart';

Features and bugs

Please file feature requests and bugs at the issue tracker.

Development

Generating JSON Serializers

Run pub run build_runner build to generate JSON serilizers via json_serializable.

About

A dart library for interfacing with the Spotify API.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Dart 100.0%