-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
54 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,56 @@ | ||
long-tail | ||
========= | ||
|
||
A Spotify widget playingan artist's least popular tracks - built with polymer | ||
A Spotify widget playing an artist's least popular tracks - built with polymer | ||
|
||
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) | ||
|
||
|
||
Demo | ||
---- | ||
|
||
http://longtail.mdg.io | ||
|
||
License | ||
------- | ||
|
||
MIT | ||
|
||
Contact | ||
------- | ||
|
||
Alexandre Passant [http://apassant.net] + [http://mdg.io] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters