Skip to content

Commit eb19d8c

Browse files
committed
update docs to 3.3.0
Signed-off-by: Adam Ratzman <[email protected]>
1 parent f8d1e16 commit eb19d8c

File tree

1 file changed

+2
-10
lines changed

1 file changed

+2
-10
lines changed

README.md

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -354,18 +354,10 @@ APIs available only in `SpotifyClientApi` and `SpotifyImplicitGrantApi` instance
354354
## Tips
355355

356356
### 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.
357+
The easiest way to build the API is using .build() after a builder
364358
```kotlin
365359
runBlocking {
366-
spotifyAppApi(clientId, clientSecret).buildAsyncAt(this) { api ->
367-
// do things
368-
}
360+
val api = spotifyAppApi(clientId, clientSecret).build()
369361
}
370362
```
371363

0 commit comments

Comments
 (0)