We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f8d1e16 commit eb19d8cCopy full SHA for eb19d8c
README.md
@@ -354,18 +354,10 @@ APIs available only in `SpotifyClientApi` and `SpotifyImplicitGrantApi` instance
354
## Tips
355
356
### Building the API
357
-The easiest way to build the API is synchronously using .build() after a builder
358
-
359
-```kotlin
360
-spotifyAppApi(clientId, clientSecret).build()
361
-```
362
363
-You can also build the API asynchronously using Kotlin coroutines.
+The easiest way to build the API is using .build() after a builder
364
```kotlin
365
runBlocking {
366
- spotifyAppApi(clientId, clientSecret).buildAsyncAt(this) { api ->
367
- // do things
368
- }
+ val api = spotifyAppApi(clientId, clientSecret).build()
369
}
370
```
371
0 commit comments