My weekend hack project - the top tweeted spotify albums from the last 24hrs
fyspotify.appspot.com
fyspotify.appspot.com
Built on:
- Google appengine
- Pyhton
APIs used:
- Topsy api (http://corp.topsy.com/developers/api/)
- Spotify metadata api (http://developer.spotify.com/en/metadata-api/overview/)
- Last.fm api (http://www.last.fm/api)
- Amazon api (https://affiliate-program.amazon.com/gp/advertising/api/deta...)
First, I pull the top shared links on spotify from the Topsy api which is dead easy, then process each spotify link with the spotify metadata api to get artist/album.
Unfortunately, the metadata api from spotify doesn't give you the artwork so I head over to last.fm and amazon to see if I can get the artwork. Between last.fm and amazon I'm getting 90% of the album art which is nice.
Any Q's - hit me up on twitter: @tomcritchlow or ask a question below.
I had a few friends who would follow me on @mbesto where I would push a link to a new song everyday. It became a bit troublesome to have to search for the song on youtube, crete a bit.ly link and then post to Twitter. I'm wondering if I can make the whole process a lot easier. User clicks, youtube video opens in pop-up, if they like it they purchase it via Amazon. Until Spotify makes it to the US, youtube is the only option.
I'd love to see an RSS feed with each days albums with a simple format something like;
<artist> <albumname> <spotifylink>
I'm not sure how good the Spotify API is, but could you not also have a spotify playlist of the top ten albums?
Anyway, well done!
I wish playlist stuff was in the metadata api - I'd love to write the same app but for playlists instead of albums. I can get the data but can't decode the playlist to figure out who created it and what's in it etc