You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: SpotifyAPI/Web/SpotifyWebAPI.cs
+64Lines changed: 64 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -1146,6 +1146,70 @@ public async Task<ListResponse<Boolean>> CheckSavedAlbumsAsync(List<string> ids)
1146
1146
1147
1147
#endregion Library
1148
1148
1149
+
#region Personalization
1150
+
1151
+
/// <summary>
1152
+
/// Get the current user’s top tracks based on calculated affinity.
1153
+
/// </summary>
1154
+
/// <param name="timeRange">Over what time frame the affinities are computed.
1155
+
/// Valid values: long_term (calculated from several years of data and including all new data as it becomes available),
1156
+
/// medium_term (approximately last 6 months), short_term (approximately last 4 weeks). </param>
1157
+
/// <param name="limit">The number of entities to return. Default: 20. Minimum: 1. Maximum: 50</param>
1158
+
/// <param name="offest">The index of the first entity to return. Default: 0 (i.e., the first track). Use with limit to get the next set of entities.</param>
/// Get the current user’s top tracks based on calculated affinity asynchronously.
1168
+
/// </summary>
1169
+
/// <param name="timeRange">Over what time frame the affinities are computed.
1170
+
/// Valid values: long_term (calculated from several years of data and including all new data as it becomes available),
1171
+
/// medium_term (approximately last 6 months), short_term (approximately last 4 weeks). </param>
1172
+
/// <param name="limit">The number of entities to return. Default: 20. Minimum: 1. Maximum: 50</param>
1173
+
/// <param name="offest">The index of the first entity to return. Default: 0 (i.e., the first track). Use with limit to get the next set of entities.</param>
/// Get the current user’s top artists based on calculated affinity.
1183
+
/// </summary>
1184
+
/// <param name="timeRange">Over what time frame the affinities are computed.
1185
+
/// Valid values: long_term (calculated from several years of data and including all new data as it becomes available),
1186
+
/// medium_term (approximately last 6 months), short_term (approximately last 4 weeks). </param>
1187
+
/// <param name="limit">The number of entities to return. Default: 20. Minimum: 1. Maximum: 50</param>
1188
+
/// <param name="offest">The index of the first entity to return. Default: 0 (i.e., the first track). Use with limit to get the next set of entities.</param>
/// Get the current user’s top artists based on calculated affinity asynchronously.
1198
+
/// </summary>
1199
+
/// <param name="timeRange">Over what time frame the affinities are computed.
1200
+
/// Valid values: long_term (calculated from several years of data and including all new data as it becomes available),
1201
+
/// medium_term (approximately last 6 months), short_term (approximately last 4 weeks). </param>
1202
+
/// <param name="limit">The number of entities to return. Default: 20. Minimum: 1. Maximum: 50</param>
1203
+
/// <param name="offest">The index of the first entity to return. Default: 0 (i.e., the first track). Use with limit to get the next set of entities.</param>
Copy file name to clipboardExpand all lines: SpotifyAPI/Web/SpotifyWebBuilder.cs
+44Lines changed: 44 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -545,6 +545,50 @@ public string CheckSavedAlbums(List<string> ids)
545
545
546
546
#endregion Library
547
547
548
+
#region Personalization
549
+
550
+
/// <summary>
551
+
/// Get the current user’s top tracks based on calculated affinity.
552
+
/// </summary>
553
+
/// <param name="timeRange">Over what time frame the affinities are computed.
554
+
/// Valid values: long_term (calculated from several years of data and including all new data as it becomes available),
555
+
/// medium_term (approximately last 6 months), short_term (approximately last 4 weeks). </param>
556
+
/// <param name="limit">The number of entities to return. Default: 20. Minimum: 1. Maximum: 50</param>
557
+
/// <param name="offest">The index of the first entity to return. Default: 0 (i.e., the first track). Use with limit to get the next set of entities.</param>
/// Get the current user’s top artists based on calculated affinity.
572
+
/// </summary>
573
+
/// <param name="timeRange">Over what time frame the affinities are computed.
574
+
/// Valid values: long_term (calculated from several years of data and including all new data as it becomes available),
575
+
/// medium_term (approximately last 6 months), short_term (approximately last 4 weeks). </param>
576
+
/// <param name="limit">The number of entities to return. Default: 20. Minimum: 1. Maximum: 50</param>
577
+
/// <param name="offest">The index of the first entity to return. Default: 0 (i.e., the first track). Use with limit to get the next set of entities.</param>
0 commit comments