Hey there guys,
awesome project! =)
I have been working on something a bit similar (or rather "I am starting to work") and got trouble with the getCommunicationToken procedure.
I am not sure if the POST doesn't work, or if I just misform the JSON object...
(it's in Java so i can't use httplib2 :( )
Is this one ok to be sent to https://cowbell.grooveshark.com/service.php ??
{
"header":{
"session":"24cf16c761dac87ceaa79c706768420f",
"uuid":"deb37af2-44ca-4ce4-85ce-d71217402827",
"client":"gslite",
"clientRevision":"20100211.13"
},
"parameters":{
"secretKey":"382a1ebcb74105894ee8ff551e45c9bd"
},
"method":"getCommunicationToken"
}
Don't tell me just to use one of the existing programs, it's not about the program; it's about the programming :D
Thank you though :)
@Zimmer Great Work :)
EDIT: Here the HTTP-Protocoll (with HTTP insetad of HTTPS in order to capture it):
POST http://cowbell.grooveshark.com/service.php HTTP/1.1
Accept-Encoding: identity
Content-type: application/json
Host: cowbell.grooveshark.com
Content-length: 252
Connection: close
User-Agent: Mozilla/5.0
Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
Connection: keep-alive
{"header":{"session":"94996ccf0e3e8ed65d8918a18524319c", "client":"gslite", "clientRevision":"20100211.16"", "uuid":"5588be94-98f9-4f82-a6db-b650e205c36e}, "parameters":{"secretKey":"59f3474dd112d80149a974002c88b380"}, "method":"getCommunicationToken"}