key_artist

🟡 Incomplete

This API's output may have additions in the future.


Input an Artist key, retrieve an Artist.

Inputs

FieldTypeDescription
keyArtist key (unsigned integer)See Key

Outputs

FieldTypeDescription
artistArtist objectSee Artist

Example Request

festival-cli key_artist --key 65
curl http://localhost:18425 -d '{"jsonrpc":"2.0","id":0,"method":"key_artist","params":{"key":65}}'

Example Response

{
  "jsonrpc": "2.0",
  "result": {
    "artist": {
      "name": "Rex Orange County",
      "key": 65,
      "runtime": 7583,
      "albums": [
        237
      ],
      "songs": [
        2800,
        2803,
        2809
      ]
    }
  },
  "id": 0
}