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 acefb0d commit 7613670Copy full SHA for 7613670
README.md
@@ -87,3 +87,12 @@ api.registerListener(new SpotifyListener() {
87
// Initialize the API
88
api.initialize();
89
```
90
+
91
+Fetch an image of the current playing track:
92
+```java
93
+// Create an instance of the Open Spotify API
94
+OpenSpotifyAPI openSpotifyAPI = new OpenSpotifyAPI();
95
96
+// Download the cover art of the current song
97
+BufferedImage imageTrackCover = openSpotifyAPI.requestImage(track);
98
+```
0 commit comments