key_song_artist

🟡 Incomplete

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


Input a Song key, retrieve its Artist.

Inputs

FieldTypeDescription
keySong key (unsigned integer)See Key

Outputs

FieldTypeDescription
artistArtist objectSee Artist

Example Request

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

Example Response

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