Save Episodes for Current User
client.Me.Episodes.Save(ctx, body) error
PUT/me/episodes
Save one or more episodes to the current user's library.
This API endpoint is in beta and could change without warning. Please share any feedback that you have, or issues that you discover, in our developer community forum.
Parameters
Save Episodes for Current User
package main
import (
"context"
"github.com/cjavdev/spotted-go"
"github.com/cjavdev/spotted-go/option"
)
func main() {
client := spotted.NewClient(
option.WithAccessToken("My Access Token"),
)
err := client.Me.Episodes.Save(context.TODO(), spotted.MeEpisodeSaveParams{
IDs: []string{"string"},
})
if err != nil {
panic(err.Error())
}
}