Skip to main content

account.getSavedMusicIds

Fetch the full list of only the IDs of songs currently added to the profile, see here » for more info.

func (c *Client) AccountGetSavedMusicIDs(ctx context.Context, hash int64) (AccountSavedMusicIDsClass, error)

Calling this method

client.Run(ctx, func(ctx context.Context) error {
api := client.API()

res, err := api.AccountGetSavedMusicIDs(ctx, hash)
if err != nil {
return err
}
_ = res // AccountSavedMusicIDsClass
return nil
})

Parameters

NameTypeRequiredDescription
Hashint64yesHash generated » from the previously returned list of IDs.

Returns

AccountSavedMusicIDsClass

References