|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectBase.GroovesharkClient
public class GroovesharkClient
Field Summary | |
---|---|
java.lang.String |
client
|
java.lang.String |
clientRevision
|
java.lang.String |
staticRandomizer
|
boolean |
UseGZip
|
Constructor Summary | |
---|---|
GroovesharkClient(boolean ConnectJustInTime)
Initialized the GroovesharkClient |
|
GroovesharkClient(boolean ConnectJustInTime,
java.lang.String GrooveFixData)
Initialized the GroovesharkClient with GrooveFixData from a String |
Method Summary | |
---|---|
java.lang.String |
CommunicationToken()
|
Base.GroovesharkCountry |
Country()
|
java.lang.String |
Cowbell()
|
Functions.GetArtistAutocomplete.GetArtistAutocompleteResponse |
GetArtistAutocomplete(java.lang.String search)
Searches for Artists beginning with your search |
Base.GroovesharkAudioStream |
GetMusicStream(int SongId)
|
Functions.UserGetPlaylists.UserGetPlaylistsResponse |
GetPlaylists(int userId)
Get the playlists of a user |
Functions.PlaylistGetSongs.PlaylistGetSongsResponse |
GetPlaylistSongs(int playlistId)
Fetches the songs from a playlist |
Functions.ArtistGetSongs.ArtistGetSongsResponse |
GetSongsByArtist(Functions.SearchArtist.SearchArtistResult song)
Searches for songs by the same artist of the song. |
Functions.AlbumGetSongs.AlbumGetSongsResponse |
GetSongsFromAlbum(Functions.SearchArtist.SearchArtistResult song)
Searches for songs in the same album of the song. |
boolean |
isConnected()
|
Functions.AuthenticateUserEx.AuthenticateUserExResponse |
Login(java.lang.String user,
java.lang.String pass)
Logins into the grooveshark(tm) service. |
Functions.LogoutUser.LogoutUserResponse |
Logout()
Logs out |
Functions.PopularSongs.popularGetSongsResultsResponse |
PopularSongs()
Searches for popular Songs |
void |
Reconnect()
Reconnects the api |
Functions.SearchArtist.getSearchArtistResultsResponse |
SearchArtist(java.lang.String Search)
Searches for Songs |
Functions.SearchArtist.getSearchArtistResultsResponse |
SearchArtist(java.lang.String Search,
int Limit)
|
java.lang.String |
SecretKey()
|
java.lang.String |
SessionID()
|
java.lang.String |
UserId()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public java.lang.String client
public java.lang.String clientRevision
public java.lang.String staticRandomizer
public boolean UseGZip
Constructor Detail |
---|
public GroovesharkClient(boolean ConnectJustInTime) throws java.lang.Exception
ConnectJustInTime
- Should the api connect now or then when needed?
java.lang.Exception
public GroovesharkClient(boolean ConnectJustInTime, java.lang.String GrooveFixData) throws java.lang.Exception
ConnectJustInTime
- Should the api connect now or then when needed?GrooveFixData
- The XML String to parse that contains the GrooveFixData
java.lang.Exception
Method Detail |
---|
public Base.GroovesharkAudioStream GetMusicStream(int SongId) throws java.lang.Exception
java.lang.Exception
public Functions.PopularSongs.popularGetSongsResultsResponse PopularSongs() throws java.lang.Exception
java.lang.Exception
public void Reconnect() throws java.lang.Exception
java.lang.Exception
public Functions.SearchArtist.getSearchArtistResultsResponse SearchArtist(java.lang.String Search) throws java.lang.Exception
Search
- A string to search for
java.lang.Exception
public Functions.SearchArtist.getSearchArtistResultsResponse SearchArtist(java.lang.String Search, int Limit) throws java.lang.Exception
java.lang.Exception
public Functions.AlbumGetSongs.AlbumGetSongsResponse GetSongsFromAlbum(Functions.SearchArtist.SearchArtistResult song) throws java.lang.Exception
song
- Song
java.lang.Exception
public Functions.ArtistGetSongs.ArtistGetSongsResponse GetSongsByArtist(Functions.SearchArtist.SearchArtistResult song) throws java.lang.Exception
song
- Song
java.lang.Exception
public Functions.AuthenticateUserEx.AuthenticateUserExResponse Login(java.lang.String user, java.lang.String pass) throws java.lang.Exception
user
- Usernamepass
- Password
java.lang.Exception
public Functions.LogoutUser.LogoutUserResponse Logout() throws java.lang.Exception
java.lang.Exception
public Functions.GetArtistAutocomplete.GetArtistAutocompleteResponse GetArtistAutocomplete(java.lang.String search) throws java.lang.Exception
search
- beginning of an artist name
java.lang.Exception
public Functions.UserGetPlaylists.UserGetPlaylistsResponse GetPlaylists(int userId) throws java.lang.Exception
userId
- The userid of the user. Can be fetched over the login
java.lang.Exception
public Functions.PlaylistGetSongs.PlaylistGetSongsResponse GetPlaylistSongs(int playlistId) throws java.lang.Exception
playlistId
- playlists id
java.lang.Exception
public java.lang.String CommunicationToken()
public Base.GroovesharkCountry Country()
public java.lang.String Cowbell()
public boolean isConnected()
public java.lang.String SecretKey()
public java.lang.String SessionID()
public java.lang.String UserId()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |