Making JSON calls to Unoffical Pandora API

Again, with the comments from Marc B, I somewhat agree. However, to more generically answer your question- it's probably not worth your time.

Pandora request / response bodies are all sent over HTTP/HTTPS. However, they are all encrypted. There is a "public" list of keys you can use to encrypt and decrypt the responses. Once you have sorted all of that out, you'll have to use the APIs.

First you have to authenticate the user to get an Auth token. From there, you can access the APIs which require the auth tokens.

To your final point, JSON interfaces work in lots of different ways. Sometimes the API is specified through the URL itself like http://example.com/json/foo

Other times, it's specified in the request body through a POST.

If you really want to figure this out, I would play with it. I doubt anybody will post code on how to manipulate an API that isn't really "public". Pandora changes it somewhat frequently to purposefully break third party applications.

A simple JSON example:

POST to http://example.com/json/foo

{ param: "val",
  anotherParam: "val",
  responseType: "XML" }

Response might look like

{ status: 200,
  result: "you called the foo API" }