Package Sharky will offer support for GrooveShark implemented in Go. There are still many methods waiting to be implemented, but the most important once are good to go.
go get github.com/maistora/sharky
The library is ready to use apart from the methods that I did not have access to. These methods panic with NO_ACCESS_ERR.
func ExampleSharky_GetSongSearchResults() {
shrky := ExampleSetUp()
country := shrky.GetCountry("")
song := shrky.GetSongSearchResults("counting stars", country, 10, 0)[0]
fmt.Println(song.SongID)
fmt.Println(song.SongName)
fmt.Println(song.ArtistName)
// Output:
// 38377063
// Counting Stars
// OneRepublic
}
Copyright 2013 Nikolay Goergiev
Licensed under the BSD-2-Clause license (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at