Skip to content

Commit

Permalink
spotify: increase fetch limit to 50
Browse files Browse the repository at this point in the history
  • Loading branch information
0xf4b1 committed Dec 24, 2023
1 parent 0f7d274 commit 59f6496
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/main/kotlin/sources/Spotify.kt
Original file line number Diff line number Diff line change
Expand Up @@ -212,10 +212,10 @@ class Spotify : ISource {
companion object {
private const val BASE_URL = "https://api.spotify.com/v1"
private const val QUERY_URL = "$BASE_URL/search?q=%s&type=track"
private const val USERS_SAVED_TRACKS_URL = "$BASE_URL/me/tracks"
private const val USERS_FOLLOWING = "$BASE_URL/me/following?type=artist"
private const val USERS_SAVED_TRACKS_URL = "$BASE_URL/me/tracks?limit=50"
private const val USERS_FOLLOWING = "$BASE_URL/me/following?type=artist&limit=50"
private const val ARTIST_TRACKS = "$BASE_URL/artists/%s/top-tracks?market=US"
private const val USERS_PLAYLISTS = "$BASE_URL/me/playlists"
private const val USERS_PLAYLISTS = "$BASE_URL/me/playlists?limit=50"
private const val RELEASE_RADAR_URL = "$BASE_URL/search?q=Release-Radar&type=playlist&limit=1"
private const val PLAYLIST_URL = "$BASE_URL/playlists/%s"
}
Expand Down

0 comments on commit 59f6496

Please sign in to comment.