Skip to content

Did you know @hypem…

2011/05/15

… exposes resources via a RESTful JSON api? Well, they do. RSS, too. Some of their playlists bear the following text:

“Information on this page is available in RSS and JSON formats for non-commercial, attributed use (CC).”

Viewing the page source reveals a hyperlink:

<a class="rss" title="Use computer software to read this page" href="/playlist/subscriptions/seeflanigan/json/1/data.js">
JSON
</a>

The “Latest” feed is exposed as “/playlist/subscriptions/[yourusername]/json/[pagenumber]/data.js”

Your “Loved” songs are available as “/playlist/loved/[yourusername]/json/[pagenumber]/data.js”

The “Popular” feed is at “/playlist/popular/3day/json/[pagenumber]/data.js”

Lastly, but certainly not least of all, there is a search api. Most excellent. “/playlist/search/[somesearchkey]/json/data.js”

If you dig around and come up with cool stuff or figure out more ways to interact with their api (or better yet, find their api documentation), please share it here?

Advertisements

From → Uncategorized

Leave a Comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: