Skip to content

Commit d280e24

Browse files
committed
update docs
1 parent cdfba8f commit d280e24

File tree

4 files changed

+12
-12
lines changed

4 files changed

+12
-12
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ compile group: 'com.adamratzman', name: 'spotify-api-kotlin-js', version: '3.2.0
7878
```
7979

8080
## Documentation
81-
The `spotify-web-api-kotlin` JavaDocs are hosted at https://adamint.github.io/spotify-web-api-kotlin/com.adamratzman.spotify-web-api-kotlin/
81+
The `spotify-web-api-kotlin` JavaDocs are hosted at https://adamint.github.io/spotify-web-api-kotlin/spotify-web-api-kotlin/
8282

8383
## Samples
8484
Samples for all APIs are located in the `samples` directory
@@ -242,7 +242,7 @@ println(api.browse.getFeaturedPlaylists().complete().message)
242242
// let's find out Bénabar's Spotify ID, find his top tracks, and print them out
243243

244244
val benabarId = api.search.searchArtist("Bénabar").complete()[0].id
245-
// this works; a redundant way would be: api.artists.getArtist("com.adamratzman.spotify:artist:6xoAWsIOZxJVPpo7Qvqaqv").complete().id
245+
// this works; a redundant way would be: api.artists.getArtist("spotify:artist:6xoAWsIOZxJVPpo7Qvqaqv").complete().id
246246

247247
println(api.artists.getArtistTopTracks(benabarId).complete().joinToString { it.name })
248248
```

TESTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ each scope or use the following code snippet to print out the Spotify token stri
2323

2424
**How to generate an authorization URL**
2525
```kotlin
26-
import com.adamratzman.com.adamratzman.spotify.main.SpotifyScope
26+
import com.adamratzman.spotify.SpotifyScope
2727
val api = spotifyClientApi(
2828
"SPOTIFY_CLIENT_ID",
2929
"SPOTIFY_CLIENT_SECRET",

build.gradle.kts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -287,30 +287,30 @@ tasks {
287287
val js by creating {
288288
sourceLink {
289289
path = "/src"
290-
url = "https://github.com/adamint/com.adamratzman.spotify-web-api-kotlin/tree/master/"
290+
url = "https://github.com/adamint/spotify-web-api-kotlin/tree/master/"
291291
lineSuffix = "#L"
292292
}
293293
}
294294
val jvm by creating {
295295
sourceLink {
296296
path = "/src"
297-
url = "https://github.com/adamint/com.adamratzman.spotify-web-api-kotlin/tree/master/"
297+
url = "https://github.com/adamint/spotify-web-api-kotlin/tree/master/"
298298
lineSuffix = "#L"
299299
}
300300
}
301301

302302
register("common") {
303303
sourceLink {
304304
path = "/src"
305-
url = "https://github.com/adamint/com.adamratzman.spotify-web-api-kotlin/tree/master/"
305+
url = "https://github.com/adamint/spotify-web-api-kotlin/tree/master/"
306306
lineSuffix = "#L"
307307
}
308308
}
309309

310310
register("global") {
311311
sourceLink {
312312
path = "/src"
313-
url = "https://github.com/adamint/com.adamratzman.spotify-web-api-kotlin/tree/master/"
313+
url = "https://github.com/adamint/spotify-web-api-kotlin/tree/master/"
314314
lineSuffix = "#L"
315315
}
316316

@@ -362,12 +362,12 @@ fun MavenPublication.setupPom(publicationName: String) {
362362
pom {
363363
name.set(publicationName)
364364
description.set("A Kotlin wrapper for the Spotify Web API.")
365-
url.set("https://github.com/adamint/com.adamratzman.spotify-web-api-kotlin")
365+
url.set("https://github.com/adamint/spotify-web-api-kotlin")
366366
inceptionYear.set("2018")
367367
scm {
368-
url.set("https://github.com/adamint/com.adamratzman.spotify-web-api-kotlin")
369-
connection.set("scm:https://github.com/adamint/com.adamratzman.spotify-web-api-kotlin.git")
370-
developerConnection.set("scm:git://github.com/adamint/com.adamratzman.spotify-web-api-kotlin.git")
368+
url.set("https://github.com/adamint/spotify-web-api-kotlin")
369+
connection.set("scm:https://github.com/adamint/spotify-web-api-kotlin.git")
370+
developerConnection.set("scm:git://github.com/adamint/spotify-web-api-kotlin.git")
371371
}
372372
licenses {
373373
license {

src/commonMain/kotlin/com.adamratzman.spotify/endpoints/public/BrowseApi.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -338,7 +338,7 @@ class BrowseApi(api: GenericSpotifyApi) : SpotifyEndpoint(api) {
338338
*
339339
* **[Api Reference](https://developer.spotify.com/documentation/web-api/reference/browse/get-recommendations/)**
340340
*
341-
* @param attribute The com.adamratzman.spotify id for the track attribute
341+
* @param attribute The spotify id for the track attribute
342342
*/
343343
sealed class TuneableTrackAttribute<T : Number>(
344344
val attribute: String,

0 commit comments

Comments
 (0)