Angular-echonest v0.2.6
Angular-echonest allows you to easily call Echo Nest methods in AngularJS.
Uses EchoNest API v4.
Installation
var myApp = angular; myApp;
Get an API key.
Usage
myApp;
Tests
npm install
bower install angular
bower install angular-mocks
grunt karma:unit
Artists Methods
- search - Search artists.
- get - Get artist by id or name.
- topHot - Return a list of the top hottt artists.
- suggest - Suggest artists based upon partial names. This method will return a list of potential artist matches based upon a query string. The method returns the most familiar best matching artist for the query.
- extract - Extract artist names from text.
Artist Methods
- getBiographies - Get a list of artist biographies.
- getBlogs - Get a list of blog articles related to an artist.
- getImages - Get a list of artist images.
- getNews - Get a list of news articles found on the web related to an artist.
- getReviews - Get reviews related to an artist's work.
- getSongs - Get a list of songs created by an artist.
- getFamiliarity - Get our numerical estimation of how familiar an artist currently is to the world.
- getHotnes - Returns our numerical description of how hottt an artist currently is.
- getSimilar - Return similar artists given one or more artists for comparison. The Echo Nest provides up-to-the-minute artist similarity and recommendations from their real-time musical and cultural analysis of what people are saying across the Internet and what the music sounds like.
- getTerms - Get a list of most descriptive terms for an artist.
- getTwitter - Gets the twitter handle for an artist.
- getUrls - Get links to the artist's official site, MusicBrainz site, MySpace site, Wikipedia article, and official URL.
- getVideo - Get a list of video documents found on the web related to an artist.
Songs Methods
- search - Search for songs given different query types.
- get - Get song by id or track_id.
- identify - Identifies a song given an Echoprint or Echo Nest Musical Fingerprint hash codes.
Example
Get artist songs
// Multiple requestsEchonestartists; // or // Single requestEchonestartists;
Search for artists from the Boston area
Echonestartists;
Get artist by name
Echonestartists;
Get top 3 rock artists
Echonestartists;
Get song by artist and title
Echonestsongs;
Get song by id
Echonestsongs;
Get song by code, artist and title
Echonestsongs;
TO DO
- Genre API Methods
- Track API Methods
© 2014 Maciej Podsiedlak - Released under MIT License