Skip to content
Client
Server

Reference / @open-music-sdk/types / tPersonalRecommendationAttributes

Interface: tPersonalRecommendationAttributes ​

Defined in: personal-recommendation.ts:20

The attributes for a recommendation resource.

Properties ​

isGroupRecommendation ​

ts
isGroupRecommendation: boolean;

Defined in: personal-recommendation.ts:22

Whether the recommendation is of group type.


kind ​

ts
kind: "music-recommendations" | "recently-played" | "unknown";

Defined in: personal-recommendation.ts:24

The type of recommendation. Possible values are:


nextUpdateDate ​

ts
nextUpdateDate: string;

Defined in: personal-recommendation.ts:26

The next date in UTC format for updating the recommendation.


reason? ​

ts
optional reason?: tPersonalRecommendationAttributesReason;

Defined in: personal-recommendation.ts:28

The localized reason for the recommendation.


resourceTypes ​

ts
resourceTypes: string[];

Defined in: personal-recommendation.ts:30

The resource types supported by the recommendation.


title? ​

ts
optional title?: tPersonalRecommendationAttributesTitle;

Defined in: personal-recommendation.ts:32

The localized title for the recommendation.

MIT licensed. Not affiliated with, endorsed by, or sponsored by Apple Inc. Apple Music and MusicKit are trademarks of Apple Inc.