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 0fe5e0d commit 506998cCopy full SHA for 506998c
spotify.examples/src/main/kotlin/PublicExamples.kt
@@ -0,0 +1,16 @@
1
+import com.adamratzman.spotify.main.spotifyApi
2
+import com.adamratzman.spotify.utils.Market
3
+import com.adamratzman.spotify.utils.Track
4
+
5
+fun main(args:Array<String>){
6
+ val api = spotifyApi {
7
+ credentials {
8
+ clientId = ""
9
+ clientSecret = ""
10
+ }
11
+ }.buildCredentialed()
12
13
+ api.search.searchTrack("High Hopes", 4, market = Market.US).queue { items ->
14
+ items
15
16
+}
0 commit comments