Skip to content

Commit caec95b

Browse files
committed
Updated readme to version 1.5
1 parent 7a23baa commit caec95b

File tree

3 files changed

+68
-57
lines changed

3 files changed

+68
-57
lines changed

1_5_0-Changelist.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
Renamed requests starting with "**Several**" to start with specific request name
99

1010
| Previous Name | | New Name |
11-
|---------------|:---------:|------------------------------:|
11+
|---------------|:---------:|------------------------------|
1212
|SeveralAlbumsGet| → | AlbumSeveralGet |
1313
|ArtistTopTracksGet| → | ArtistsTopTracksGet |
1414
|SeveralArtistsGet| → | ArtistSeveralGet |

README.md

Lines changed: 66 additions & 55 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ All Json classes were taken from https://github.com/tdunning/open-json with only
6363
- AlbumGet ([api.spotify.com/v1/albums/{id}](https://developer.spotify.com/documentation/web-api/reference/#/operations/get-an-album))
6464
- AlbumTracksGet ([api.spotify.com/v1/albums/{id}/tracks](https://developer.spoify.com/documentation/web-api/reference/#/operations/get-an-albums-tracks))
6565
- AlbumSeveralGet ([api.spotify.com/v1/albums](https://developer.spotify.com/documentation/web-api/reference/#/operations/get-multiple-albums))
66-
- AlbumReleasesGet
66+
- AlbumReleasesGet ([api.spotify.com/v1/browse/new-releases](https://developer.spotify.com/documentation/web-api/reference/get-new-releases))
6767

6868
</details>
6969
<br>
@@ -128,48 +128,58 @@ All Json classes were taken from https://github.com/tdunning/open-json with only
128128
<details open>
129129
<summary><strong><u>Me:</u></strong></summary>
130130

131-
- MyAlbumsDelete
132-
- MyAlbumsGet
133-
- MyAlbumsPut
134-
- MyAlbumsSavedGet
135-
- MyAudiobooksDelete
136-
- MyAudiobooksGet
137-
- MyAudiobooksPut
138-
- MyAudiobooksSavedGet
139-
- MyEpisodesDelete
140-
- MyEpisodesGet
141-
- MyEpisodesPut
142-
- MyEpisodesSavedGet
143-
- MyFollowedArtistsGet
144-
- MyFollowingPersonGet
145-
- MyFollowPersonPut
146-
- MyProfileGet
147-
- MyTopInfo
148-
- MyUnfollowPersonDelete
149-
- MyPlayerCurrentlyPlayingGet
150-
- MyPlayerDevicesGet
151-
- MyPlayerGet
152-
- MyPlayerNextPost
153-
- MyPlayerPausePut
154-
- MyPlayerPreviousPost
155-
- MyPlayerQueueGet
156-
- MyPlayerQueuePost
157-
- MyPlayerRecentlyPlayedGet
158-
- MyPlayerRepeatPut
159-
- MyPlayerResumePut
160-
- MyPlayerSeekPut
161-
- MyPlayerSetVolumePut
162-
- MyPlayerToggleShufflePut
163-
- MyPlayerTransferPut
164-
- MyPlaylistsGet
165-
- MyShowsDelete
166-
- MyShowsGet
167-
- MyShowsPut
168-
- MyShowsSavedGet
169-
- MyTracksDelete
170-
- MyTracksGet
171-
- MyTracksPut
172-
- MyTracksSavedGet
131+
- MyAlbumsDelete ([api.spotify.com/v1/me/albums](https://developer.spotify.com/documentation/web-api/reference/remove-albums-user))
132+
- MyAlbumsGet ([api.spotify.com/v1/me/albums](https://developer.spotify.com/documentation/web-api/reference/get-users-saved-albums))
133+
- MyAlbumsPut ([api.spotify.com/v1/me/albums](https://developer.spotify.com/documentation/web-api/reference/save-albums-user))
134+
- MyAlbumsSavedGet ([api.spotify.com/v1/me/albums](https://developer.spotify.com/documentation/web-api/reference/check-users-saved-albums))
135+
136+
137+
- MyAudiobooksDelete ([api.spotify.com/v1/me/audiobooks](https://developer.spotify.com/documentation/web-api/reference/remove-audiobooks-user))
138+
- MyAudiobooksGet ([api.spotify.com/v1/me/audiobooks](https://developer.spotify.com/documentation/web-api/reference/get-users-saved-audiobooks))
139+
- MyAudiobooksPut ([api.spotify.com/v1/me/audiobooks](https://developer.spotify.com/documentation/web-api/reference/save-audiobooks-user))
140+
- MyAudiobooksSavedGet ([api.spotify.com/v1/me/audiobooks](https://developer.spotify.com/documentation/web-api/reference/check-users-saved-audiobooks))
141+
142+
143+
- MyEpisodesDelete ([api.spotify.com/v1/me/episodes](https://developer.spotify.com/documentation/web-api/reference/remove-episodes-user))
144+
- MyEpisodesGet ([api.spotify.com/v1/me/episodes](https://developer.spotify.com/documentation/web-api/reference/check-users-saved-episodes))
145+
- MyEpisodesPut ([api.spotify.com/v1/me/episodes](https://developer.spotify.com/documentation/web-api/reference/save-episodes-user))
146+
- MyEpisodesSavedGet ([api.spotify.com/v1/me/episodes](https://developer.spotify.com/documentation/web-api/reference/check-users-saved-episodes))
147+
148+
149+
- MyFollowedArtistsGet ([api.spotify.com/v1/me/following](https://developer.spotify.com/documentation/web-api/reference/get-followed))
150+
- MyFollowingPersonGet ([api.spotify.com/v1/me/following/contains](https://developer.spotify.com/documentation/web-api/reference/check-current-user-follows))
151+
- MyFollowPersonPut ([api.spotify.com/v1/me/following](https://developer.spotify.com/documentation/web-api/reference/follow-artists-users))
152+
- MyProfileGet ([api.spotify.com/v1/me](https://developer.spotify.com/documentation/web-api/reference/get-current-users-profile))
153+
- MyTopInfo ([api.spotify.com/v1/me/top/{type}](https://developer.spotify.com/documentation/web-api/reference/get-users-top-artists-and-tracks))
154+
- MyUnfollowPersonDelete ([api.spotify.com/v1/me/following](https://developer.spotify.com/documentation/web-api/reference/unfollow-artists-users))
155+
- MyPlayerCurrentlyPlayingGet ([api.spotify.com/v1/me/player/currently-playing](https://developer.spotify.com/documentation/web-api/reference/get-the-users-currently-playing-track))
156+
- MyPlayerDevicesGet ([api.spotify.com/v1/me/player/devices](https://developer.spotify.com/documentation/web-api/reference/get-a-users-available-devices))
157+
- MyPlayerGet ([api.spotify.com/v1/me/player](https://developer.spotify.com/documentation/web-api/reference/get-information-about-the-users-current-playback))
158+
- ~~MyPlayerNextPost~~
159+
- MyPlayerPausePut ([api.spotify.com/v1/me/player/pause](https://developer.spotify.com/documentation/web-api/reference/pause-a-users-playback))
160+
- ~~MyPlayerPreviousPost~~
161+
- MyPlayerQueueGet ([api.spotify.com/v1/me/player/queue](https://developer.spotify.com/documentation/web-api/reference/get-queue))
162+
- ~~MyPlayerQueuePost~~
163+
- MyPlayerRecentlyPlayedGet ([api.spotify.com/v1/me/player/recently-played](https://developer.spotify.com/documentation/web-api/reference/get-recently-played))
164+
- MyPlayerRepeatPut ([api.spotify.com/v1/me/player/repeat](https://developer.spotify.com/documentation/web-api/reference/set-repeat-mode-on-users-playback))
165+
- MyPlayerResumePut ([api.spotify.com/v1/me/player/play](https://developer.spotify.com/documentation/web-api/reference/start-a-users-playback))
166+
- MyPlayerSeekPut ([api.spotify.com/v1/me/player/seek](https://developer.spotify.com/documentation/web-api/reference/seek-to-position-in-currently-playing-track))
167+
- MyPlayerSetVolumePut ([api.spotify.com/v1/me/player/volume](https://developer.spotify.com/documentation/web-api/reference/set-volume-for-users-playback))
168+
- MyPlayerToggleShufflePut ([api.spotify.com/v1/me/player/shuffle](https://developer.spotify.com/documentation/web-api/reference/toggle-shuffle-for-users-playback))
169+
- MyPlayerTransferPut ([api.spotify.com/v1/me/player](https://developer.spotify.com/documentation/web-api/reference/transfer-a-users-playback))
170+
- MyPlaylistsGet ([api.spotify.com/v1/me/playlists](https://developer.spotify.com/documentation/web-api/reference/get-a-list-of-current-users-playlists))
171+
172+
173+
- MyShowsDelete ([api.spotify.com/v1/me/shows](https://developer.spotify.com/documentation/web-api/reference/remove-shows-user))
174+
- MyShowsGet ([api.spotify.com/v1/me/shows](https://developer.spotify.com/documentation/web-api/reference/get-users-saved-shows))
175+
- MyShowsPut ([api.spotify.com/v1/me/shows](https://developer.spotify.com/documentation/web-api/reference/save-shows-user))
176+
- MyShowsSavedGet ([api.spotify.com/v1/me/shows](https://developer.spotify.com/documentation/web-api/reference/check-users-saved-shows))
177+
178+
179+
- MyTracksDelete ([api.spotify.com/v1/me/tracks](https://developer.spotify.com/documentation/web-api/reference/remove-tracks-user))
180+
- MyTracksGet ([api.spotify.com/v1/me/tracks](https://developer.spotify.com/documentation/web-api/reference/get-users-saved-tracks))
181+
- MyTracksPut ([api.spotify.com/v1/me/tracks](https://developer.spotify.com/documentation/web-api/reference/save-tracks-user))
182+
- MyTracksSavedGet ([api.spotify.com/v1/me/tracks](https://developer.spotify.com/documentation/web-api/reference/save-tracks-user))
173183

174184
<details open>
175185
<summary><strong><u>Playlists:</u></strong></summary>
@@ -179,14 +189,14 @@ All Json classes were taken from https://github.com/tdunning/open-json with only
179189
- PlaylistFeaturedGet ([api.spotify.com/v1/browse/featured-playlists](https://developer.spotify.com/documentation/web-api/reference/get-featured-playlists))
180190
- PlaylistImageGet ([api.spotify.com/v1/playlists/{playlist_id}/images](https://developer.spotify.com/documentation/web-api/reference/get-playlist-cover))
181191
- PlaylistTracksGet [api.spotify.com/v1/playlists/{playlist_id}/tracks](https://developer.spotify.com/documentation/web-api/reference/get-playlists-tracks))
182-
- PlaylistAddCoverImagePut
183-
- PlaylistAddItemPost
184-
- PlaylistChangeDetailsPut
185-
- PlaylistFollowingCheckGet
186-
- PlaylistFollowPut
187-
- PlaylistRemoveItemDelete
188-
- PlaylistUnfollowDelete
189-
- PlaylistUpdatePut
192+
- PlaylistAddCoverImagePut ([/api.spotify.com/v1/playlists/{playlist_id}/images](https://developer.spotify.com/documentation/web-api/reference/upload-custom-playlist-cover))
193+
- PlaylistAddItemPost ([api.spotify.com/v1/playlists/{playlist_id}/tracks](https://developer.spotify.com/documentation/web-api/reference/add-tracks-to-playlist))
194+
- PlaylistChangeDetailsPut ([api.spotify.com/v1/playlists/{playlist_id}](https://developer.spotify.com/documentation/web-api/reference/change-playlist-details))
195+
- PlaylistFollowingCheckGet ([api.spotify.com/v1/playlists/{playlist_id}/followers/contains](https://developer.spotify.com/documentation/web-api/reference/check-if-user-follows-playlist))
196+
- PlaylistFollowPut ([api.spotify.com/v1/playlists/{playlist_id}/followers](https://developer.spotify.com/documentation/web-api/reference/follow-playlist))
197+
- PlaylistRemoveItemDelete ([api.spotify.com/v1/playlists/{playlist_id}/tracks](https://developer.spotify.com/documentation/web-api/reference/remove-tracks-playlist))
198+
- PlaylistUnfollowDelete ([api.spotify.com/v1/playlists/{playlist_id}/followers](https://developer.spotify.com/documentation/web-api/reference/unfollow-playlist))
199+
- PlaylistUpdatePut ([api.spotify.com/v1/playlists/{playlist_id}/tracks](https://developer.spotify.com/documentation/web-api/reference/reorder-or-replace-playlists-tracks))
190200

191201
</details>
192202
<br>
@@ -222,13 +232,14 @@ All Json classes were taken from https://github.com/tdunning/open-json with only
222232
<details open>
223233
<summary><strong><u>User:</u></strong></summary>
224234

225-
- UserPlaylistCreatePost
226-
- UserPlaylistGet
227-
- UserProfileGet
235+
- UserPlaylistCreatePost ([api.spotify.com/v1/users/{user_id}/playlists](https://developer.spotify.com/documentation/web-api/reference/create-playlist))
236+
- UserPlaylistGet ([api.spotify.com/v1/users/{user_id}/playlists](https://developer.spotify.com/documentation/web-api/reference/get-list-users-playlists))
237+
- UserProfileGet ([api.spotify.com/v1/users/{user_id}](https://developer.spotify.com/documentation/web-api/reference/get-users-profile))
228238
</details>
229239

240+
Scored through requests are implemented but API endpoints do not work on spotify's end.
241+
230242
### <u>Future Plans</u>
231-
- Implement the remainder of api request
232243
- Bring back Spring support for handling user authentication
233244
- Add more branches of api requests not just web api
234245
- Optimise multiple call different threads

src/main/java/dev/gruncan/spotify/requests/SpotifyRequestExecutor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ public void setAPIVersion(SpotifyAPIVersion version) {
6060
}
6161

6262
/**
63-
* Basic Spotify HTTP GET request on a given URL with parameters specified
63+
* Basic Spotify HTTP request on a given URL with parameters specified
6464
*
6565
* @param token The token from spotify's authentication to be added to "Bearer" header information
6666
* @param request The http request to execute and get result

0 commit comments

Comments
 (0)