|
1 | 1 | # Kotlin Spotify Web API
|
2 | 2 | [](https://maven-badges.herokuapp.com/maven-central/com.adamratzman/spotify-api-kotlin)
|
3 | 3 | [))/statusIcon.svg)](http://144.217.240.243:8111/project.html?projectId=SpotifyWebApiKotlin)
|
4 |
| -[](https://adamint.github.io/spotify-web-api-kotlin/docs/spotify-web-api-kotlin/) |
| 4 | +[](https://adamint.github.io/spotify-web-api-kotlin/spotify-web-api-kotlin/) |
5 | 5 | 
|
6 | 6 |
|
7 | 7 | This is the [Kotlin](https://kotlinlang.org/) implementation of the [Spotify Web API](https://developer.spotify.com/web-api/)
|
@@ -71,7 +71,7 @@ packagingOptions {
|
71 | 71 | ```
|
72 | 72 |
|
73 | 73 | ## Documentation
|
74 |
| -The `spotify-web-api-kotlin` JavaDocs are hosted at https://adamint.github.io/spotify-web-api-kotlin/com.adamratzman.spotify-web-api-kotlin/ |
| 74 | +The `spotify-web-api-kotlin` JavaDocs are hosted at https://adamint.github.io/spotify-web-api-kotlin/spotify-web-api-kotlin/ |
75 | 75 |
|
76 | 76 | ## Have a question?
|
77 | 77 | If you have a question, you can:
|
@@ -99,7 +99,7 @@ By default, the SpotifyApi `Token` automatically regenerates when needed.
|
99 | 99 | This can be changed by overriding the `automaticRefresh` builder setting.
|
100 | 100 |
|
101 | 101 | There are four exposed builders, depending on the level of control you need over api creation.
|
102 |
| -Please see the [spotifyAppApi builder docs](https://adamint.github.io/spotify-web-api-kotlin/com.adamratzman.spotify-web-api-kotlin/com.adamratzman.spotify/spotify-app-api.html) for a full list of available builders. |
| 102 | +Please see the [spotifyAppApi builder docs](https://adamint.github.io/spotify-web-api-kotlin/spotify-web-api-kotlin/com.adamratzman.spotify/spotify-app-api.html) for a full list of available builders. |
103 | 103 |
|
104 | 104 | You will need:
|
105 | 105 | - Spotify application client id
|
@@ -167,7 +167,7 @@ This library contains helpful methods that can be used to simplify the PKCE auth
|
167 | 167 | This includes `getSpotifyPkceCodeChallenge` (not available in the Kotlin/JS target), which SHA256 hashes and base64url encodes the code
|
168 | 168 | challenge, and `getPkceAuthorizationUrl`, which allows you to generate an easy authorization url for PKCE flow.
|
169 | 169 |
|
170 |
| -Please see the [spotifyClientPkceApi builder docs](https://adamint.github.io/spotify-web-api-kotlin/com.adamratzman.spotify-web-api-kotlin/com.adamratzman.spotify/spotify-client-pkce-api.html) for a full list of available builders. |
| 170 | +Please see the [spotifyClientPkceApi builder docs](https://adamint.github.io/spotify-web-api-kotlin/spotify-web-api-kotlin/com.adamratzman.spotify/spotify-client-pkce-api.html) for a full list of available builders. |
171 | 171 |
|
172 | 172 | **Takeaway**: Use PKCE authorization flow in applications where you cannot secure the client secret.
|
173 | 173 |
|
@@ -226,7 +226,7 @@ There are also several optional parameters, allowing you to set whether the auth
|
226 | 226 | for implicit grant flow, the state, and whether a re-authorization dialog should be shown to users.
|
227 | 227 |
|
228 | 228 | There are several exposed builders, depending on the level of control you need over api creation.
|
229 |
| -Please see the [spotifyClientApi builder docs](https://adamint.github.io/spotify-web-api-kotlin/com.adamratzman.spotify-web-api-kotlin/com.adamratzman.spotify/spotify-client-api.html) for a full list of available builders. |
| 229 | +Please see the [spotifyClientApi builder docs](https://adamint.github.io/spotify-web-api-kotlin/spotify-web-api-kotlin/com.adamratzman.spotify/spotify-client-api.html) for a full list of available builders. |
230 | 230 |
|
231 | 231 | ##### Example: You've redirected the user back to your web server and have an authorization code (code).
|
232 | 232 | In this example, automatic token refresh is turned on by default.
|
@@ -277,7 +277,7 @@ Some highlights about the flow are:
|
277 | 277 | - It is client-side
|
278 | 278 | - It does not require a client secret
|
279 | 279 |
|
280 |
| -Please see the [spotifyImplicitGrantApi builder docs](https://adamint.github.io/spotify-web-api-kotlin/com.adamratzman.spotify-web-api-kotlin/com.adamratzman.spotify/spotify-implicit-grant-api.html) for a full list of available builders. |
| 280 | +Please see the [spotifyImplicitGrantApi builder docs](https://adamint.github.io/spotify-web-api-kotlin/spotify-web-api-kotlin/com.adamratzman.spotify/spotify-implicit-grant-api.html) for a full list of available builders. |
281 | 281 |
|
282 | 282 | The Kotlin/JS target contains the `parseSpotifyCallbackHashToToken` method, which will parse the hash
|
283 | 283 | for the current url into a Token object, with which you can then instantiate the api.
|
|
0 commit comments