spotify 0.0.7

  • README.md
  • CHANGELOG.md
  • Installing
  • Versions
  • 52

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.7

  • add user's saved tracks endpoints

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.7"

2. Install it

You can install packages from the command line:

with pub:


$ pub get

Alternatively, your editor might support pub 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.7 Feb 10, 2018 Go to the documentation of spotify 0.0.7 Download spotify 0.0.7 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.
More details: scoring.

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

  • tool failures on Feb 10, 2018
  • Dart: 2.0.0-dev.20.0
  • pana: 0.10.1

Scores

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

Platforms

Detected platforms: web

Platform components identified in package: html, io.

Suggestions

  • Fix lib/src/spotify_mock.dart.

    Strong-mode analysis of lib/src/spotify_mock.dart failed with the following error:

    line: 3 col: 7
    Missing concrete implementation of 'SpotifyApiBase._putImpl'.

  • Fix issues reported by dartanalyzer.

    dartanalyzer reported 1 error(s) and 0 warning(s).

  • The description is too short.

    Add more detail about the package, what it does and what is its target use case. Try to write at least 60 characters.

  • Package is pre-v1 release.

    While there is nothing inherently wrong with versions of 0.*.*, it usually means that the author is still experimenting with the general direction API.

  • Maintain an example.

    None of the files in your example/ directory matches a known example patterns. Common file name patterns include: main.dart, example.dart or you could also use spotify.dart.

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=1.20.1 <2.0.0
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.3 2.0.4
charcode 1.1.1
collection 1.14.5
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