4 groovesharkApi
= GrooveAPI()
5 res
= groovesharkApi
.pingService()
6 res
= groovesharkApi
.login(sys
.argv
[1], sys
.argv
[2])
8 #songIds.append('28645456')
9 #songIds.append('26579347')
10 #res=groovesharkApi.playlistRename(58197714, 'renamed playlist2')
11 #res = groovesharkApi.createPlaylist("Test", songIDs)
12 #res = groovesharkApi.setPlaylistSongs('58197714',songIds)
14 #res = groovesharkApi.getPlaylistSongs('58197714')
15 #res = groovesharkApi.getSongSearchResults('jimmy jazz', 3)
16 #res = groovesharkApi.getPopularSongsToday(3)
17 #res = groovesharkApi.getSongURLFromSongID('26579347')
18 #res = groovesharkApi.getAlbumSearchResults('london calling', 3)
19 #res = groovesharkApi.getArtistAlbums('52283')
20 #res = groovesharkApi.getArtistSearchResults('the clash', 3)
21 res
= groovesharkApi
.getUserFavoriteSongs()
22 #res = groovesharkApi.getUserPlaylists()
23 #res = groovesharkApi.getSongInfos('27425375')
24 #res = groovesharkApi.getPlaylistSongs(40902662)
25 #res = groovesharkApi.addUserFavoriteSong('27425375')
26 #res = groovesharkApi.logout()
27 #res = groovesharkApi.getUserPlaylistsByUsername('stephendenham')
28 #res = groovesharkApi.getArtistPopularSongs('3707')