Get Spotify catalog information for several shows based on their Spotify IDs.
Parameters
Returns
Get Several Shows
package main
import (
"context"
"fmt"
"github.com/cjavdev/spotted-go"
"github.com/cjavdev/spotted-go/option"
)
func main() {
client := spotted.NewClient(
option.WithAccessToken("My Access Token"),
)
response, err := client.Shows.BulkGet(context.TODO(), spotted.ShowBulkGetParams{
IDs: "5CfCWKI5pZ28U0uOzXkDHe,5as3aKmN2k11yfDDDSrvaZ",
})
if err != nil {
panic(err.Error())
}
fmt.Printf("%+v\n", response.Shows)
}
{
"shows": [
{
"id": "id",
"available_markets": [
"string"
],
"copyrights": [
{
"published": true,
"text": "text",
"type": "type"
}
],
"description": "description",
"explicit": true,
"external_urls": {
"published": true,
"spotify": "spotify"
},
"href": "href",
"html_description": "html_description",
"images": [
{
"height": 300,
"url": "https://i.scdn.co/image/ab67616d00001e02ff9ca10b55ce82ae553c8228\n",
"width": 300,
"published": true
}
],
"is_externally_hosted": true,
"languages": [
"string"
],
"media_type": "media_type",
"name": "name",
"publisher": "publisher",
"total_episodes": 0,
"type": "show",
"uri": "uri",
"published": true
}
]
}Returns Examples
{
"shows": [
{
"id": "id",
"available_markets": [
"string"
],
"copyrights": [
{
"published": true,
"text": "text",
"type": "type"
}
],
"description": "description",
"explicit": true,
"external_urls": {
"published": true,
"spotify": "spotify"
},
"href": "href",
"html_description": "html_description",
"images": [
{
"height": 300,
"url": "https://i.scdn.co/image/ab67616d00001e02ff9ca10b55ce82ae553c8228\n",
"width": 300,
"published": true
}
],
"is_externally_hosted": true,
"languages": [
"string"
],
"media_type": "media_type",
"name": "name",
"publisher": "publisher",
"total_episodes": 0,
"type": "show",
"uri": "uri",
"published": true
}
]
}