|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.umass.lastfm.ImageHolder
de.umass.lastfm.MusicEntry
de.umass.lastfm.Album
public class Album
Wrapper class for Album related API calls and Album Bean.
| Field Summary |
|---|
| Fields inherited from class de.umass.lastfm.MusicEntry |
|---|
id, listeners, mbid, name, percentageChange, playcount, streamable, tags, url, userPlaycount |
| Fields inherited from class de.umass.lastfm.ImageHolder |
|---|
imageUrls |
| Method Summary | |
|---|---|
static Result |
addTags(String artist,
String album,
String tags,
Session session)
Tag an album using a list of user supplied tags. |
String |
getArtist()
|
static Collection<BuyLink> |
getBuylinks(String artist,
String albumOrMbid,
String country,
String apiKey)
Get a list of Buy Links for a particular Album. |
static Album |
getInfo(String artist,
String albumOrMbid,
String apiKey)
Get the metadata for an album on Last.fm using the album name or a musicbrainz id. |
static Album |
getInfo(String artist,
String albumOrMbid,
String username,
String apiKey)
Get the metadata for an album on Last.fm using the album name or a musicbrainz id. |
Date |
getReleaseDate()
|
static PaginatedResult<Shout> |
getShouts(String artist,
String albumOrMbid,
int page,
int limit,
String apiKey)
Get shouts for an album. |
static PaginatedResult<Shout> |
getShouts(String artist,
String albumOrMbid,
int page,
String apiKey)
Get shouts for an album. |
static PaginatedResult<Shout> |
getShouts(String artist,
String albumOrMbid,
String apiKey)
Get shouts for an album. |
static Collection<String> |
getTags(String artist,
String album,
Session session)
Get the tags applied by an individual user to an album on Last.fm. |
static Collection<Tag> |
getTopTags(String artist,
String albumOrMbid,
String apiKey)
Get the top tags for an album on Last.fm, ordered by popularity. |
Collection<Track> |
getTracks()
Returns the list of Tracks on this album. |
static Result |
removeTag(String artist,
String album,
String tag,
Session session)
Remove a user's tag from an album. |
static Collection<Album> |
search(String album,
String apiKey)
Search for an album by name. |
| Methods inherited from class de.umass.lastfm.MusicEntry |
|---|
getId, getListeners, getMbid, getName, getPercentageChange, getPlaycount, getSimilarityMatch, getTags, getUrl, getUserPlaycount, getWikiLastChanged, getWikiSummary, getWikiText, isStreamable, loadStandardInfo, toString |
| Methods inherited from class de.umass.lastfm.ImageHolder |
|---|
availableSizes, getImageURL, loadImages |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public String getArtist()
public Date getReleaseDate()
public Collection<Track> getTracks()
Tracks on this album. This information is only available in
getInfo(String, String, String) responses.
getInfo(String, String, String)
public static Album getInfo(String artist,
String albumOrMbid,
String apiKey)
artist - Artist's namealbumOrMbid - Album name or MBIDapiKey - The API key
public static Album getInfo(String artist,
String albumOrMbid,
String username,
String apiKey)
artist - Artist's namealbumOrMbid - Album name or MBIDusername - The username for the context of the request. If supplied, the user's playcount for this album is included in the response.apiKey - The API key
public static Result addTags(String artist,
String album,
String tags,
Session session)
artist - The artist name in questionalbum - The album name in questiontags - A comma delimited list of user supplied tags to apply to this album. Accepts a maximum of 10 tags.session - The Session instance
Authenticator
public static Result removeTag(String artist,
String album,
String tag,
Session session)
artist - The artist name in questionalbum - The album name in questiontag - A single user tag to remove from this album.session - The Session instance
Authenticator
public static Collection<String> getTags(String artist,
String album,
Session session)
artist - The artist name in questionalbum - The album name in questionsession - A Session instance
public static Collection<Album> search(String album,
String apiKey)
album - The album name in question.apiKey - A Last.fm API key.
public static Collection<BuyLink> getBuylinks(String artist,
String albumOrMbid,
String country,
String apiKey)
artist - The artist name in questionalbumOrMbid - Album name or MBIDcountry - A country name, as defined by the ISO 3166-1 country names standardapiKey - A Last.fm API key
BuyLinks
public static Collection<Tag> getTopTags(String artist,
String albumOrMbid,
String apiKey)
null for the first parameter.
artist - The artist namealbumOrMbid - Album name or MBIDapiKey - A Last.fm API key
public static PaginatedResult<Shout> getShouts(String artist,
String albumOrMbid,
String apiKey)
artist - The artist namealbumOrMbid - The album name or a mausicbrainz idapiKey - A Last.fm API key.
Shouts
public static PaginatedResult<Shout> getShouts(String artist,
String albumOrMbid,
int page,
String apiKey)
artist - The artist namealbumOrMbid - The album name or a mausicbrainz idpage - The page number to fetchapiKey - A Last.fm API key.
Shouts
public static PaginatedResult<Shout> getShouts(String artist,
String albumOrMbid,
int page,
int limit,
String apiKey)
artist - The artist namealbumOrMbid - The album name or a mausicbrainz idpage - The page number to fetchlimit - An integer used to limit the number of shouts returned per page or -1 for defaultapiKey - A Last.fm API key.
Shouts
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||