2013-12-10 00:26:26 +00:00
|
|
|
extends ../layout
|
|
|
|
|
|
|
|
block content
|
|
|
|
.page-header
|
2013-12-12 07:21:39 +00:00
|
|
|
h2
|
2014-06-05 16:56:06 +00:00
|
|
|
i.fa.fa-play-circle-o(style='color: #db1302')
|
2013-12-10 00:26:26 +00:00
|
|
|
| Last.fm API
|
|
|
|
.btn-group.btn-group-justified
|
2013-12-12 07:21:39 +00:00
|
|
|
a.btn.btn-primary(href='https://github.com/jammus/lastfm-node#lastfm-node', target='_blank')
|
2013-12-10 00:26:26 +00:00
|
|
|
i.fa.fa-check-square-o
|
2013-12-10 05:03:49 +00:00
|
|
|
| Last.fm Node Docs
|
2013-12-12 07:21:39 +00:00
|
|
|
a.btn.btn-primary(href='http://www.last.fm/api/account/create', target='_blank')
|
2013-12-10 00:26:26 +00:00
|
|
|
i.fa.fa-laptop
|
2013-12-10 05:03:49 +00:00
|
|
|
| Create API Account
|
2013-12-12 07:21:39 +00:00
|
|
|
a.btn.btn-primary(href='http://www.last.fm/api', target='_blank')
|
2013-12-10 05:03:49 +00:00
|
|
|
i.fa.fa-code-fork
|
|
|
|
| API Endpoints
|
2013-12-10 00:26:26 +00:00
|
|
|
|
2014-06-05 16:56:06 +00:00
|
|
|
h3= artist.name
|
|
|
|
img.thumbnail(src='#{artist.image}')
|
2013-12-10 05:32:23 +00:00
|
|
|
|
2014-06-05 16:56:06 +00:00
|
|
|
h3 Tags
|
|
|
|
for tag in artist.tags
|
|
|
|
span.label.label-primary
|
|
|
|
i.fa.fa-tag
|
|
|
|
| #{tag.name}
|
|
|
|
|
|
2013-12-10 05:32:23 +00:00
|
|
|
|
2014-06-05 16:56:06 +00:00
|
|
|
h3 Biography
|
|
|
|
p!= artist.bio
|
2013-12-10 05:32:23 +00:00
|
|
|
|
2014-06-05 16:56:06 +00:00
|
|
|
h3 Top Albums
|
2013-12-10 05:32:23 +00:00
|
|
|
for album in artist.topAlbums
|
2013-12-10 05:36:52 +00:00
|
|
|
img(src='#{album}', width=150, height=150)
|
|
|
|
|
|
2013-12-10 05:32:23 +00:00
|
|
|
|
2014-06-05 16:56:06 +00:00
|
|
|
h3 Top Tracks
|
|
|
|
ol
|
|
|
|
for track in artist.topTracks
|
|
|
|
li
|
|
|
|
a(href='#{track.url}') #{track.name}
|
|
|
|
|
|
|
|
h3 Similar Artists
|
|
|
|
ul.list-unstyled.list-inline
|
2013-12-10 04:46:10 +00:00
|
|
|
for similarArtist in artist.similar
|
|
|
|
li
|
2014-06-05 16:56:06 +00:00
|
|
|
a(href='#{similarArtist.url}') #{similarArtist.name}
|