spotify 0.0.6

  • README.md
  • CHANGELOG.md
  • Installing
  • Versions
  • 49

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.

Changelog

0.0.6

  • add pagination support

0.0.5

  • add user and playlist endpoints

0.0.4

  • fix typo in artists endpoint
  • add basic unit tests

0.0.3

  • add support for albums and artists
  • refactor code a little

0.0.1

  • Initial version

1. Depend on it

Add this to your package's pubspec.yaml file:


dependencies:
  spotify: "^0.0.6"

2. Install it

You can install packages from the command line:

with pub:


$ pub get

with Flutter:


$ flutter packages get

Alternatively, your editor might support pub get or packages get. Check the docs for your editor to learn more.

3. Import it

Now in your Dart code, you can use:


import 'package:spotify/spotify_browser.dart';

import 'package:spotify/spotify_browser.json.g.dart';

import 'package:spotify/spotify_io.dart';

import 'package:spotify/spotify_io.json.g.dart';
        
Version Uploaded Documentation Archive
0.0.6 Oct 15, 2017 Go to the documentation of spotify 0.0.6 Download spotify 0.0.6 archive
0.0.5 Oct 14, 2017 Go to the documentation of spotify 0.0.5 Download spotify 0.0.5 archive
0.0.4 Oct 12, 2017 Go to the documentation of spotify 0.0.4 Download spotify 0.0.4 archive
0.0.3 Aug 13, 2017 Go to the documentation of spotify 0.0.3 Download spotify 0.0.3 archive
0.0.2 Aug 12, 2017 Go to the documentation of spotify 0.0.2 Download spotify 0.0.2 archive
0.0.1 Aug 12, 2017 Go to the documentation of spotify 0.0.1 Download spotify 0.0.1 archive

Analysis

This feature is new.
We welcome feedback.

We analyzed this package, and provided a score, details, and suggestions below.

  • completed on Dec 6, 2017
  • Dart: 2.0.0-dev.8.0
  • pana: 0.7.3+1

Scores

Popularity:
Describes how popular the package is relative to other packages. [more]
0
Health:
Code health derived from static analysis. [more]
98
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
95
Overall score:
Weighted score of the above. [more]
49

Platforms

Detected platforms: Flutter, server, web

all of the above

Dependencies

Package Constraint Resolved Available
Direct dependencies
http ^0.11.3+14 0.11.3+16
owl >=0.2.1 <0.3.0 0.2.1+1
Transitive dependencies
async 2.0.1
charcode 1.1.1
collection 1.14.3
http_parser 3.1.1
path 1.5.1
source_span 1.4.0
string_scanner 1.0.2
typed_data 1.1.5
Dev dependencies
owl_codegen >=0.2.1+2 <0.3.0
test ^0.12.0