Skip to content

Commit dd716b6

Browse files
authored
Merge pull request #180 from adamint/dev
Update documentation, add samples, add PagingObject#getWithNext
2 parents a2c3a8e + 2250acb commit dd716b6

File tree

958 files changed

+15944
-1350
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

958 files changed

+15944
-1350
lines changed

docs/docs/spotify-web-api-kotlin/alltypes/index.html

Lines changed: 57 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -104,10 +104,12 @@ <h5><a href="../com.adamratzman.spotify.models/-audio-segment/index.html">com.ad
104104
<tr>
105105
(common, js, jvm)
106106
<h5><a href="../com.adamratzman.spotify.models/-authentication-error/index.html">com.adamratzman.spotify.models.AuthenticationError</a></h5>
107+
<p>An exception during the authentication process</p>
107108
</tr>
108109
<tr>
109110
(common, js, jvm)
110111
<h5><a href="../com.adamratzman.spotify/-authorization-type/index.html">com.adamratzman.spotify.AuthorizationType</a></h5>
112+
<p>The type of Spotify authorization used to build an Api instance</p>
111113
</tr>
112114
<tr>
113115
(common, js, jvm)
@@ -157,7 +159,7 @@ <h5><a href="../com.adamratzman.spotify.endpoints.client/-client-player-a-p-i.ht
157159
(common, js, jvm)
158160
<h5><a href="../com.adamratzman.spotify.endpoints.client/-client-player-api/index.html">com.adamratzman.spotify.endpoints.client.ClientPlayerApi</a></h5>
159161
<p>These endpoints allow for viewing and controlling user playback. Please view <a href="https://developer.spotify.com/web-api/working-with-connect/">the official documentation</a>
160-
for more information on how this works. This is in beta and is available for <strong>premium users only</strong>. Endpoints are <strong>not</strong> guaranteed to work</p>
162+
for more information on how this works. This is in beta and is available for <strong>premium users only</strong>. Endpoints are <strong>not</strong> guaranteed to work and are subject to change!</p>
161163
</tr>
162164
<tr>
163165
(common, js, jvm)
@@ -250,7 +252,7 @@ <h5><a href="../com.adamratzman.spotify.models/-error-object/index.html">com.ada
250252
<tr>
251253
(common, js, jvm)
252254
<h5><a href="../com.adamratzman.spotify.models/-error-response/index.html">com.adamratzman.spotify.models.ErrorResponse</a></h5>
253-
<p>Wraps around <a href="../com.adamratzman.spotify.models/-error-object/index.html#com.adamratzman.spotify.models.ErrorObject">ErrorObject</a></p>
255+
<p>Wraps around <a href="../com.adamratzman.spotify.models/-error-object/index.html#com.adamratzman.spotify.models.ErrorObject">ErrorObject</a>. Serialized raw Spotify error response</p>
254256
</tr>
255257
<tr>
256258
(common, js, jvm)
@@ -264,6 +266,7 @@ <h5><a href="../com.adamratzman.spotify.models/-external-id/index.html">com.adam
264266
<tr>
265267
(common, js, jvm)
266268
<h5><a href="../com.adamratzman.spotify.models/-external-url/index.html">com.adamratzman.spotify.models.ExternalUrl</a></h5>
269+
<p>Key/value pair mapping a name to an arbitrary url</p>
267270
</tr>
268271
<tr>
269272
(common, js, jvm)
@@ -290,10 +293,27 @@ <h5><a href="../com.adamratzman.spotify.utils/kotlin.collections.-hash-map/index
290293
</tr>
291294
<tr>
292295
(common, js, jvm)
296+
<h5><a href="../com.adamratzman.spotify.http/-http-connection/index.html">com.adamratzman.spotify.http.HttpConnection</a></h5>
297+
<p>Provides a fast, easy, and slim way to execute and retrieve HTTP GET, POST, PUT, and DELETE requests</p>
298+
</tr>
299+
<tr>
300+
(common, js, jvm)
301+
<h5><a href="../com.adamratzman.spotify.http/-http-connection-status/index.html">com.adamratzman.spotify.http.HttpConnectionStatus</a></h5>
302+
</tr>
303+
<tr>
304+
(common, js, jvm)
305+
<h5><a href="../com.adamratzman.spotify.http/-http-header/index.html">com.adamratzman.spotify.http.HttpHeader</a></h5>
306+
</tr>
307+
<tr>
308+
(common, js, jvm)
293309
<h5><a href="../com.adamratzman.spotify.http/-http-request-method/index.html">com.adamratzman.spotify.http.HttpRequestMethod</a></h5>
294310
</tr>
295311
<tr>
296312
(common, js, jvm)
313+
<h5><a href="../com.adamratzman.spotify.http/-http-response/index.html">com.adamratzman.spotify.http.HttpResponse</a></h5>
314+
</tr>
315+
<tr>
316+
(common, js, jvm)
297317
<h5><a href="../com.adamratzman.spotify.models/-identifiable/index.html">com.adamratzman.spotify.models.Identifiable</a></h5>
298318
<p>Represents an identifiable Spotify object such as an Album or Recommendation Seed</p>
299319
</tr>
@@ -305,14 +325,23 @@ <h5><a href="../com.adamratzman.spotify.models/-identifiable-nullable/index.html
305325
<tr>
306326
(common, js, jvm)
307327
<h5><a href="../com.adamratzman.spotify/-i-spotify-api-builder/index.html">com.adamratzman.spotify.ISpotifyApiBuilder</a></h5>
328+
<p>Spotify Api builder interface</p>
308329
</tr>
309330
<tr>
310331
(common, js, jvm)
311332
<h5><a href="../com.adamratzman.spotify/-i-spotify-app-api-builder.html">com.adamratzman.spotify.ISpotifyAppApiBuilder</a></h5>
333+
<p>App Api builder interface</p>
312334
</tr>
313335
<tr>
314336
(common, js, jvm)
315337
<h5><a href="../com.adamratzman.spotify/-i-spotify-client-api-builder/index.html">com.adamratzman.spotify.ISpotifyClientApiBuilder</a></h5>
338+
<p>Client interface exposing <a href="../com.adamratzman.spotify/-i-spotify-client-api-builder/get-authorization-url.html#com.adamratzman.spotify.ISpotifyClientApiBuilder$getAuthorizationUrl(kotlin.Array((com.adamratzman.spotify.SpotifyScope)))">getAuthorizationUrl</a></p>
339+
</tr>
340+
<tr>
341+
(common, js, jvm)
342+
<h5><a href="../com.adamratzman.spotify.utils/-language/index.html">com.adamratzman.spotify.utils.Language</a></h5>
343+
<p><a href="http://en.wikipedia.org/wiki/ISO_639-1">ISO 639-1</a>
344+
language code.</p>
316345
</tr>
317346
<tr>
318347
(common, js, jvm)
@@ -327,6 +356,11 @@ <h5><a href="../com.adamratzman.spotify.models/-linked-track/index.html">com.ada
327356
</tr>
328357
<tr>
329358
(common, js, jvm)
359+
<h5><a href="../com.adamratzman.spotify.utils/-locale/index.html">com.adamratzman.spotify.utils.Locale</a></h5>
360+
<p>Locale code.</p>
361+
</tr>
362+
<tr>
363+
(common, js, jvm)
330364
<h5><a href="../com.adamratzman.spotify.models/-local-track-uri/index.html">com.adamratzman.spotify.models.LocalTrackUri</a></h5>
331365
<p>Represents a Spotify <strong>local track</strong> URI</p>
332366
</tr>
@@ -426,7 +460,12 @@ <h5><a href="../com.adamratzman.spotify.models/-recommendation-seed/index.html">
426460
</tr>
427461
<tr>
428462
(common, js, jvm)
463+
<h5><a href="../com.adamratzman.spotify.models/-release-date/index.html">com.adamratzman.spotify.models.ReleaseDate</a></h5>
464+
</tr>
465+
<tr>
466+
(common, js, jvm)
429467
<h5><a href="../com.adamratzman.spotify.models/-relinking-available-response/index.html">com.adamratzman.spotify.models.RelinkingAvailableResponse</a></h5>
468+
<p>Represents a response for which a relinked track could be available</p>
430469
</tr>
431470
<tr>
432471
(common, js, jvm)
@@ -441,6 +480,7 @@ <h5><a href="../com.adamratzman.spotify.models/-restrictions/index.html">com.ada
441480
<tr>
442481
(common, js, jvm)
443482
<h5><a href="../com.adamratzman.spotify.models/-result-enum/index.html">com.adamratzman.spotify.models.ResultEnum</a></h5>
483+
<p>Interface that allows easy identifier retrieval for children with an implemented identifier</p>
444484
</tr>
445485
<tr>
446486
(common, js, jvm)
@@ -500,6 +540,7 @@ <h5><a href="../com.adamratzman.spotify/-spotify-api-builder/index.html">com.ada
500540
<tr>
501541
(common, js, jvm)
502542
<h5><a href="../com.adamratzman.spotify/-spotify-api-options/index.html">com.adamratzman.spotify.SpotifyApiOptions</a></h5>
543+
<p>API Utilities</p>
503544
</tr>
504545
<tr>
505546
(common, js, jvm)
@@ -519,6 +560,7 @@ <h5><a href="../com.adamratzman.spotify/-spotify-app-a-p-i.html">com.adamratzman
519560
<tr>
520561
(common, js, jvm)
521562
<h5><a href="../com.adamratzman.spotify/-spotify-app-api-builder/index.html">com.adamratzman.spotify.SpotifyAppApiBuilder</a></h5>
563+
<p><a href="../com.adamratzman.spotify/-spotify-app-api/index.html#com.adamratzman.spotify.SpotifyAppApi">SpotifyAppApi</a> builder for api creation using client authorization</p>
522564
</tr>
523565
<tr>
524566
(common, js, jvm)
@@ -542,6 +584,7 @@ <h5><a href="../com.adamratzman.spotify/-spotify-client-a-p-i.html">com.adamratz
542584
<tr>
543585
(common, js, jvm)
544586
<h5><a href="../com.adamratzman.spotify/-spotify-client-api-builder/index.html">com.adamratzman.spotify.SpotifyClientApiBuilder</a></h5>
587+
<p><a href="../com.adamratzman.spotify/-spotify-client-api/index.html#com.adamratzman.spotify.SpotifyClientApi">SpotifyClientApi</a> builder for api creation using client authorization</p>
545588
</tr>
546589
<tr>
547590
(common, js, jvm)
@@ -567,6 +610,14 @@ <h5><a href="../com.adamratzman.spotify/-spotify-exception/index.html">com.adamr
567610
</tr>
568611
<tr>
569612
(common, js, jvm)
613+
<h5><a href="../com.adamratzman.spotify.annotations/-spotify-experimental-function-api/index.html">com.adamratzman.spotify.annotations.SpotifyExperimentalFunctionApi</a></h5>
614+
</tr>
615+
<tr>
616+
(common, js, jvm)
617+
<h5><a href="../com.adamratzman.spotify.annotations/-spotify-experimental-http-api/index.html">com.adamratzman.spotify.annotations.SpotifyExperimentalHttpApi</a></h5>
618+
</tr>
619+
<tr>
620+
(common, js, jvm)
570621
<h5><a href="../com.adamratzman.spotify.models/-spotify-image/index.html">com.adamratzman.spotify.models.SpotifyImage</a></h5>
571622
<p>A Spotify image</p>
572623
</tr>
@@ -625,10 +676,12 @@ <h5><a href="../com.adamratzman.spotify.models/-spotify-uri/index.html">com.adam
625676
<tr>
626677
(common, js, jvm)
627678
<h5><a href="../com.adamratzman.spotify.models/-spotify-uri-exception/index.html">com.adamratzman.spotify.models.SpotifyUriException</a></h5>
679+
<p>Exception instantiating or deserializing a uri perceived as invalid</p>
628680
</tr>
629681
<tr>
630682
(common, js, jvm)
631683
<h5><a href="../com.adamratzman.spotify/-spotify-user-authorization/index.html">com.adamratzman.spotify.SpotifyUserAuthorization</a></h5>
684+
<p>User-defined authorization parameters</p>
632685
</tr>
633686
<tr>
634687
(common, js, jvm)
@@ -664,7 +717,7 @@ <h5><a href="../com.adamratzman.spotify.utils/-time-unit/index.html">com.adamrat
664717
<tr>
665718
(common, js, jvm)
666719
<h5><a href="../com.adamratzman.spotify.models/-token/index.html">com.adamratzman.spotify.models.Token</a></h5>
667-
<p>Represents a Spotify Token, retrieved through instantiating a <a href="#">SpotifyAPI</a></p>
720+
<p>Represents a Spotify Token, retrieved through instantiating a <a href="../com.adamratzman.spotify/-spotify-api/index.html#com.adamratzman.spotify.SpotifyApi">SpotifyApi</a></p>
668721
</tr>
669722
<tr>
670723
(common, js, jvm)
@@ -692,6 +745,7 @@ <h5><a href="../com.adamratzman.spotify.endpoints.public/-track-api/index.html">
692745
<tr>
693746
(common, js, jvm)
694747
<h5><a href="../com.adamratzman.spotify.endpoints.public/-track-attribute/index.html">com.adamratzman.spotify.endpoints.public.TrackAttribute</a></h5>
748+
<p>The track attribute wrapper contains a set value for a specific <a href="../com.adamratzman.spotify.endpoints.public/-tuneable-track-attribute/index.html#com.adamratzman.spotify.endpoints.public.TuneableTrackAttribute">TuneableTrackAttribute</a></p>
695749
</tr>
696750
<tr>
697751
(common, js, jvm)
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
<HTML>
2+
<HEAD>
3+
<meta charset="UTF-8">
4+
<title>com.adamratzman.spotify.annotations.SpotifyExperimentalFunctionApi.<init> - spotify-web-api-kotlin</title>
5+
<link rel="stylesheet" href="../../../style.css">
6+
</HEAD>
7+
<BODY>
8+
<a href="../../index.html">spotify-web-api-kotlin</a>&nbsp;/&nbsp;<a href="../index.html">com.adamratzman.spotify.annotations</a>&nbsp;/&nbsp;<a href="index.html">SpotifyExperimentalFunctionApi</a>&nbsp;/&nbsp;<a href="./-init-.html">&lt;init&gt;</a><br/>
9+
<br/>
10+
<h1>&lt;init&gt;</h1>
11+
<a name="com.adamratzman.spotify.annotations.SpotifyExperimentalFunctionApi$&lt;init&gt;()"></a>
12+
(common, js, jvm) <code><span class="identifier">&lt;init&gt;</span><span class="symbol">(</span><span class="symbol">)</span></code>
13+
</BODY>
14+
</HTML>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
<HTML>
2+
<HEAD>
3+
<meta charset="UTF-8">
4+
<title>com.adamratzman.spotify.annotations.SpotifyExperimentalFunctionApi - spotify-web-api-kotlin</title>
5+
<link rel="stylesheet" href="../../../style.css">
6+
</HEAD>
7+
<BODY>
8+
<a href="../../index.html">spotify-web-api-kotlin</a>&nbsp;/&nbsp;<a href="../index.html">com.adamratzman.spotify.annotations</a>&nbsp;/&nbsp;<a href="./index.html">SpotifyExperimentalFunctionApi</a><br/>
9+
<br/>
10+
<h1>SpotifyExperimentalFunctionApi</h1>
11+
<a name="com.adamratzman.spotify.annotations.SpotifyExperimentalFunctionApi"></a>
12+
(common, js, jvm) <code><span class="identifier">@Target</span><span class="symbol">(</span>[AnnotationTarget.CLASS, AnnotationTarget.FUNCTION]<span class="symbol">)</span> <span class="keyword">annotation</span> <span class="keyword">class </span><span class="identifier">SpotifyExperimentalFunctionApi</span></code>
13+
<h3>Constructors</h3>
14+
<table>
15+
<tbody>
16+
<tr>
17+
<td>
18+
(common, js, jvm)
19+
<h4><a href="-init-.html">&lt;init&gt;</a></h4>
20+
</td>
21+
<td>
22+
<code><span class="identifier">&lt;init&gt;</span><span class="symbol">(</span><span class="symbol">)</span></code></td>
23+
</tr>
24+
</tbody>
25+
</table>
26+
</BODY>
27+
</HTML>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
<HTML>
2+
<HEAD>
3+
<meta charset="UTF-8">
4+
<title>com.adamratzman.spotify.annotations.SpotifyExperimentalHttpApi.<init> - spotify-web-api-kotlin</title>
5+
<link rel="stylesheet" href="../../../style.css">
6+
</HEAD>
7+
<BODY>
8+
<a href="../../index.html">spotify-web-api-kotlin</a>&nbsp;/&nbsp;<a href="../index.html">com.adamratzman.spotify.annotations</a>&nbsp;/&nbsp;<a href="index.html">SpotifyExperimentalHttpApi</a>&nbsp;/&nbsp;<a href="./-init-.html">&lt;init&gt;</a><br/>
9+
<br/>
10+
<h1>&lt;init&gt;</h1>
11+
<a name="com.adamratzman.spotify.annotations.SpotifyExperimentalHttpApi$&lt;init&gt;()"></a>
12+
(common, js, jvm) <code><span class="identifier">&lt;init&gt;</span><span class="symbol">(</span><span class="symbol">)</span></code>
13+
</BODY>
14+
</HTML>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
<HTML>
2+
<HEAD>
3+
<meta charset="UTF-8">
4+
<title>com.adamratzman.spotify.annotations.SpotifyExperimentalHttpApi - spotify-web-api-kotlin</title>
5+
<link rel="stylesheet" href="../../../style.css">
6+
</HEAD>
7+
<BODY>
8+
<a href="../../index.html">spotify-web-api-kotlin</a>&nbsp;/&nbsp;<a href="../index.html">com.adamratzman.spotify.annotations</a>&nbsp;/&nbsp;<a href="./index.html">SpotifyExperimentalHttpApi</a><br/>
9+
<br/>
10+
<h1>SpotifyExperimentalHttpApi</h1>
11+
<a name="com.adamratzman.spotify.annotations.SpotifyExperimentalHttpApi"></a>
12+
(common, js, jvm) <code><span class="identifier">@Target</span><span class="symbol">(</span>[AnnotationTarget.CLASS, AnnotationTarget.FUNCTION]<span class="symbol">)</span> <span class="keyword">annotation</span> <span class="keyword">class </span><span class="identifier">SpotifyExperimentalHttpApi</span></code>
13+
<h3>Constructors</h3>
14+
<table>
15+
<tbody>
16+
<tr>
17+
<td>
18+
(common, js, jvm)
19+
<h4><a href="-init-.html">&lt;init&gt;</a></h4>
20+
</td>
21+
<td>
22+
<code><span class="identifier">&lt;init&gt;</span><span class="symbol">(</span><span class="symbol">)</span></code></td>
23+
</tr>
24+
</tbody>
25+
</table>
26+
</BODY>
27+
</HTML>
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
<HTML>
2+
<HEAD>
3+
<meta charset="UTF-8">
4+
<title>com.adamratzman.spotify.annotations - spotify-web-api-kotlin</title>
5+
<link rel="stylesheet" href="../../style.css">
6+
</HEAD>
7+
<BODY>
8+
<a href="../index.html">spotify-web-api-kotlin</a>&nbsp;/&nbsp;<a href="./index.html">com.adamratzman.spotify.annotations</a><br/>
9+
<br/>
10+
<h2>Package com.adamratzman.spotify.annotations</h2>
11+
<h3>Annotations</h3>
12+
<table>
13+
<tbody>
14+
<tr>
15+
<td>
16+
(common, js, jvm)
17+
<h4><a href="-spotify-experimental-function-api/index.html">SpotifyExperimentalFunctionApi</a></h4>
18+
</td>
19+
<td>
20+
<code><span class="keyword">annotation</span> <span class="keyword">class </span><span class="identifier">SpotifyExperimentalFunctionApi</span></code></td>
21+
</tr>
22+
<tr>
23+
<td>
24+
(common, js, jvm)
25+
<h4><a href="-spotify-experimental-http-api/index.html">SpotifyExperimentalHttpApi</a></h4>
26+
</td>
27+
<td>
28+
<code><span class="keyword">annotation</span> <span class="keyword">class </span><span class="identifier">SpotifyExperimentalHttpApi</span></code></td>
29+
</tr>
30+
</tbody>
31+
</table>
32+
</BODY>
33+
</HTML>

docs/docs/spotify-web-api-kotlin/com.adamratzman.spotify.endpoints.client/-client-following-api/-init-.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,6 @@ <h1>&lt;init&gt;</h1>
1111
<a name="com.adamratzman.spotify.endpoints.client.ClientFollowingApi$&lt;init&gt;(com.adamratzman.spotify.SpotifyApi((, com.adamratzman.spotify.ISpotifyApiBuilder((, )))))"></a>
1212
(common, js, jvm) <code><span class="identifier">&lt;init&gt;</span><span class="symbol">(</span><span class="identifier" id="com.adamratzman.spotify.endpoints.client.ClientFollowingApi$<init>(com.adamratzman.spotify.SpotifyApi((, com.adamratzman.spotify.ISpotifyApiBuilder((, )))))/api">api</span><span class="symbol">:</span>&nbsp;<a href="../../com.adamratzman.spotify/-spotify-api/index.html"><span class="identifier">SpotifyApi</span></a><span class="symbol">&lt;</span><span class="identifier">*</span><span class="symbol">,</span>&nbsp;<span class="identifier">*</span><span class="symbol">&gt;</span><span class="symbol">)</span></code>
1313
<p>These endpoints allow you manage the artists, users and playlists that a Spotify user follows.</p>
14+
<p><strong><a href="https://developer.spotify.com/documentation/web-api/reference/follow/">Api Reference</a></strong></p>
1415
</BODY>
1516
</HTML>

docs/docs/spotify-web-api-kotlin/com.adamratzman.spotify.endpoints.client/-client-following-api/follow-artist.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ <h1>followArtist</h1>
1212
(common, js, jvm) <code><span class="keyword">fun </span><span class="identifier">followArtist</span><span class="symbol">(</span><span class="identifier" id="com.adamratzman.spotify.endpoints.client.ClientFollowingApi$followArtist(kotlin.String)/artistId">artistId</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="../../com.adamratzman.spotify/-spotify-rest-action/index.html"><span class="identifier">SpotifyRestAction</span></a><span class="symbol">&lt;</span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a><span class="symbol">&gt;</span></code>
1313
<p>Add the current user as a follower of an artist</p>
1414
<p><strong>Requires</strong> the <a href="../../com.adamratzman.spotify/-spotify-scope/-u-s-e-r_-f-o-l-l-o-w_-m-o-d-i-f-y.html#com.adamratzman.spotify.SpotifyScope.USER_FOLLOW_MODIFY">SpotifyScope.USER_FOLLOW_MODIFY</a> scope</p>
15+
<p><strong><a href="https://developer.spotify.com/documentation/web-api/reference/follow/follow-artists-users/">Api Reference</a></strong></p>
1516
<h3>Exceptions</h3>
1617
<p><a name="BadRequestException"></a>
1718
<code>BadRequestException</code> - if an invalid id is provided</p>

docs/docs/spotify-web-api-kotlin/com.adamratzman.spotify.endpoints.client/-client-following-api/follow-artists.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ <h1>followArtists</h1>
1212
(common, js, jvm) <code><span class="keyword">fun </span><span class="identifier">followArtists</span><span class="symbol">(</span><span class="keyword">vararg</span> <span class="identifier" id="com.adamratzman.spotify.endpoints.client.ClientFollowingApi$followArtists(kotlin.Array((kotlin.String)))/artists">artists</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="../../com.adamratzman.spotify/-spotify-rest-action/index.html"><span class="identifier">SpotifyRestAction</span></a><span class="symbol">&lt;</span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a><span class="symbol">&gt;</span></code>
1313
<p>Add the current user as a follower of other artists</p>
1414
<p><strong>Requires</strong> the <a href="../../com.adamratzman.spotify/-spotify-scope/-u-s-e-r_-f-o-l-l-o-w_-m-o-d-i-f-y.html#com.adamratzman.spotify.SpotifyScope.USER_FOLLOW_MODIFY">SpotifyScope.USER_FOLLOW_MODIFY</a> scope</p>
15+
<p><strong><a href="https://developer.spotify.com/documentation/web-api/reference/follow/follow-artists-users/">Api Reference</a></strong></p>
1516
<h3>Exceptions</h3>
1617
<p><a name="BadRequestException"></a>
1718
<code>BadRequestException</code> - if an invalid id is provided</p>

docs/docs/spotify-web-api-kotlin/com.adamratzman.spotify.endpoints.client/-client-following-api/follow-playlist.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ <h1>followPlaylist</h1>
1616
<p>Note that the scopes you provide determine only whether the current user can themselves follow the playlist
1717
publicly or privately (i.e. show others what they are following), not whether the playlist itself is
1818
public or private.</p>
19+
<p><strong><a href="https://developer.spotify.com/documentation/web-api/reference/follow/follow-playlist/">Api Reference</a></strong></p>
1920
<h3>Parameters</h3>
2021
<p><a name="playlist"></a>
2122
<code>playlist</code> - the spotify id or uri of the playlist. Any playlist can be followed, regardless of its

0 commit comments

Comments
 (0)