A Spotify widget playingan artist's least popular tracks - built with polymer
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
LICENSE
README.md
bower.json
long-tail.html

README.md

A Spotify widget playing an artist's least popular tracks - built with polymer

Demo and background

Install

The easiest way is to install via Bower:

bower install long-tail

Usage

Import polyfill

<head>
  <script src="bower_components/platform/platform.js"></script>
</head>

Import custom element

<head>
  <script src="bower_components/platform/platform.js"></script>
  <link rel="import" href="bower_components/long-tail/long-tail.html">
</head>

Load element

<body>
  <long-tail artist="4tZwfgrHOc3mvqYlEYSvVi" size="25"></long-tail>
</body>

Arguments

  • artist: A spotify artist ID
  • size: Number of tracks (max/default = 50)

License

MIT

Contact

Alexandre Passant [http://apassant.net] + [http://mdg.io]