Skip to content

Commit 7a23baa

Browse files
committed
Started on markdown draft
1 parent 55a3f8f commit 7a23baa

File tree

3 files changed

+161
-14
lines changed

3 files changed

+161
-14
lines changed

1_5_0-Changelist.md

Lines changed: 81 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,81 @@
1+
2+
# <u>Change list</u>
3+
- **com.spotify** renamed with proper domain name **dev.gruncan**
4+
5+
### Request renames:
6+
7+
8+
Renamed requests starting with "**Several**" to start with specific request name
9+
10+
| Previous Name | | New Name |
11+
|---------------|:---------:|------------------------------:|
12+
|SeveralAlbumsGet| &#8594; | AlbumSeveralGet |
13+
|ArtistTopTracksGet| &#8594; | ArtistsTopTracksGet |
14+
|SeveralArtistsGet| &#8594; | ArtistSeveralGet |
15+
|SeveralAudioBooksGet| &#8594; | AudiobookSeveralGet |
16+
|CategoriesGet| &#8594; | CategoryGet |
17+
|SeveralCategoriesGet| &#8594; | CategorySeveralGet |
18+
|SeveralChaptersGet| &#8594; | ChapterSeveralGet |
19+
|SeveralEpisodesGet| &#8594; | EpisodeSeveralGet |
20+
|CategoriesPlaylistsGet| &#8594; | PlaylistCategoriesGet |
21+
|FeaturedPlaylistGet| &#8594; | PlaylistFeaturedGet |
22+
|SeveralShowsGet| &#8594; | ShowSeveralGet |
23+
|SeveralTracksGet| &#8594; | TrackSeveralGet |
24+
|SeveralTrackAudioFeaturesGet| &#8594; | TrackAudioFeatureSeveralGet |
25+
26+
27+
28+
29+
### Added support for remaining requests and serialization:
30+
31+
- AlbumReleasesGet
32+
- MyAlbumsDelete
33+
- MyAlbumsGet
34+
- MyAlbumsPut
35+
- MyAlbumsSavedGet
36+
- MyAudiobooksDelete
37+
- MyAudiobooksGet
38+
- MyAudiobooksPut
39+
- MyAudiobooksSavedGet
40+
- MyEpisodesDelete
41+
- MyEpisodesGet
42+
- MyEpisodesPut
43+
- MyEpisodesSavedGet
44+
- MyFollowedArtistsGet
45+
- MyFollowingPersonGet
46+
- MyFollowPersonPut
47+
- MyProfileGet
48+
- MyTopInfo
49+
- MyUnfollowPersonDelete
50+
- MyPlayerCurrentlyPlayingGet
51+
- MyPlayerDevicesGet
52+
- MyPlayerGet
53+
- MyPlayerNextPost
54+
- MyPlayerPausePut
55+
- MyPlayerPreviousPost
56+
- MyPlayerQueueGet
57+
- MyPlayerQueuePost
58+
- MyPlayerRecentlyPlayedGet
59+
- MyPlayerRepeatPut
60+
- MyPlayerResumePut
61+
- MyPlayerSeekPut
62+
- MyPlayerSetVolumePut
63+
- MyPlayerToggleShufflePut
64+
- MyPlayerTransferPut
65+
- MyPlaylistsGet
66+
- MyShowsDelete
67+
- MyShowsGet
68+
- MyShowsPut
69+
- MyShowsSavedGet
70+
- MyTracksDelete
71+
- MyTracksGet
72+
- MyTracksPut
73+
- MyTracksSavedGet
74+
- PlaylistAddCoverImagePut
75+
- PlaylistAddItemPost
76+
- PlaylistChangeDetailsPut
77+
- PlaylistFollowingCheckGet
78+
- PlaylistFollowPut
79+
- PlaylistRemoveItemDelete
80+
- PlaylistUnfollowDelete
81+
- PlaylistUpdatePut

README.md

Lines changed: 77 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
# Spotify for Java (Still under development)
44

5-
Spotify api wrapper for java. <a href="https://gruncan.github.io/spotify4Java/"> JavaDocs</a>
5+
Spotify api wrapper for java. <a href="s4j.gruncan.dev"> JavaDocs</a>
66

77
Written for enjoyment and a way to learn java concepts that I have rarely/never used.
88
Demonstrated usage of OAuth 2.0 and java reflections, generics, networking, and concurrency.
@@ -62,7 +62,8 @@ All Json classes were taken from https://github.com/tdunning/open-json with only
6262

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))
65-
- SeveralAlbumsGet ([api.spotify.com/v1/albums](https://developer.spotify.com/documentation/web-api/reference/#/operations/get-multiple-albums))
65+
- AlbumSeveralGet ([api.spotify.com/v1/albums](https://developer.spotify.com/documentation/web-api/reference/#/operations/get-multiple-albums))
66+
- AlbumReleasesGet
6667

6768
</details>
6869
<br>
@@ -72,41 +73,41 @@ All Json classes were taken from https://github.com/tdunning/open-json with only
7273
- ArtistGet ([api.spotify.com/v1/artists/{id}](https://developer.spotify.com/documentation/web-api/reference/#/operations/get-an-artist))
7374
- ArtistsAlbumsGet ([api.spotify.com/v1/artists/{id}/albums](https://developer.spotify.com/documentation/web-api/reference/#/operations/get-an-artists-albums))
7475
- ArtistsRelatedArtistsGet ([api.spotify.com/v1/artists/related-artists](https://developer.spotify.com/documentation/web-api/reference/#/operations/get-an-artists-related-artists))
75-
- ArtistTopTracksGet ([api.spotify.com/v1/artists/{id}/top-tracks](https://developer.spotify.com/documentation/web-api/reference/#/operations/get-an-artists-top-tracks))
76-
- SeveralArtistsGet ([api.spotify.com/v1/artists](https://developer.spotify.com/documentation/web-api/reference/#/operations/get-multiple-artists))
76+
- ArtistsTopTracksGet ([api.spotify.com/v1/artists/{id}/top-tracks](https://developer.spotify.com/documentation/web-api/reference/#/operations/get-an-artists-top-tracks))
77+
- ArtistSeveralGet ([api.spotify.com/v1/artists](https://developer.spotify.com/documentation/web-api/reference/#/operations/get-multiple-artists))
7778

7879
</details>
7980
<br>
8081
<details open>
8182
<summary><strong><u>Audiobooks:</u></strong></summary>
8283

8384
- AudiobookGet ([api.spotify.com/v1/audiobooks/{id}](https://developer.spotify.com/documentation/web-api/reference/get-an-audiobook))
84-
- SeveralAudioBooksGet ([api.spotify.com/v1/audiobooks/](https://developer.spotify.com/documentation/web-api/reference/get-multiple-audiobooks))
85+
- AudiobookSeveralGet ([api.spotify.com/v1/audiobooks/](https://developer.spotify.com/documentation/web-api/reference/get-multiple-audiobooks))
8586
- AudiobookChaptersGet ([api.spotify.com/v1/audiobooks/{id}/chapters](https://developer.spotify.com/documentation/web-api/reference/get-audiobook-chapters))
8687

8788
</details>
8889
<br>
8990
<details open>
9091
<summary><strong><u>Categories:</u></strong></summary>
9192

92-
- CategoriesGet ([api.spotify.com/v1/browse/categories/{category_id}](https://developer.spotify.com/documentation/web-api/reference/get-a-category))
93-
- SeveralCategoriesGet ([api.spotify.com/v1/browse/categories](https://developer.spotify.com/documentation/web-api/reference/get-categories))
93+
- CategoryGet ([api.spotify.com/v1/browse/categories/{category_id}](https://developer.spotify.com/documentation/web-api/reference/get-a-category))
94+
- CategorySeveralGet ([api.spotify.com/v1/browse/categories](https://developer.spotify.com/documentation/web-api/reference/get-categories))
9495

9596
</details>
9697
<br>
9798
<details open>
9899
<summary><strong><u>Chapters:</u></strong></summary>
99100

100101
- ChapterGet ([api.spotify.com/v1/chapters/{id}](https://developer.spotify.com/documentation/web-api/reference/get-a-chapter))
101-
- SeveralChaptersGet ([api.spotify.com/v1/chapters](https://developer.spotify.com/documentation/web-api/reference/get-several-chapters))
102+
- ChapterSeveralGet ([api.spotify.com/v1/chapters](https://developer.spotify.com/documentation/web-api/reference/get-several-chapters))
102103

103104
</details>
104105
<br>
105106
<details open>
106107
<summary><strong><u>Episodes:</u></strong></summary>
107108

108109
- EpisodeGet ([api.spotify.com/v1/episodes/{id}](https://developer.spotify.com/documentation/web-api/reference/get-an-episode))
109-
- SeveralEpisodesGet ([api.spotify.com/v1/episodes](https://developer.spotify.com/documentation/web-api/reference/get-multiple-episodes))
110+
- EpisodeSeveralGet ([api.spotify.com/v1/episodes](https://developer.spotify.com/documentation/web-api/reference/get-multiple-episodes))
110111

111112
</details>
112113
<br>
@@ -124,14 +125,68 @@ All Json classes were taken from https://github.com/tdunning/open-json with only
124125

125126
</details>
126127
<br>
128+
<details open>
129+
<summary><strong><u>Me:</u></strong></summary>
130+
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
173+
127174
<details open>
128175
<summary><strong><u>Playlists:</u></strong></summary>
129176

130177
- PlaylistGet ([api.spotify.com/v1/playlists/{playlist_id}](https://developer.spotify.com/documentation/web-api/reference/get-playlist))
131-
- CategoriesPlaylistsGet ([api.spotify.com/v1/browse/categories/{category_id}/playlists](https://developer.spotify.com/documentation/web-api/reference/get-a-categories-playlists))
132-
- FeaturedPlaylistGet ([api.spotify.com/v1/browse/featured-playlists](https://developer.spotify.com/documentation/web-api/reference/get-featured-playlists))
178+
- PlaylistCategoriesGet ([api.spotify.com/v1/browse/categories/{category_id}/playlists](https://developer.spotify.com/documentation/web-api/reference/get-a-categories-playlists))
179+
- PlaylistFeaturedGet ([api.spotify.com/v1/browse/featured-playlists](https://developer.spotify.com/documentation/web-api/reference/get-featured-playlists))
133180
- PlaylistImageGet ([api.spotify.com/v1/playlists/{playlist_id}/images](https://developer.spotify.com/documentation/web-api/reference/get-playlist-cover))
134181
- 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
135190

136191
</details>
137192
<br>
@@ -146,7 +201,7 @@ All Json classes were taken from https://github.com/tdunning/open-json with only
146201
<summary><strong><u>Shows:</u></strong></summary>
147202

148203
- ShowGet ([api.spotify.com/v1/shows/{id}](https://developer.spotify.com/documentation/web-api/reference/get-a-show))
149-
- SeveralShowsGet ([api.spotify.com/v1/shows](https://developer.spotify.com/documentation/web-api/reference/get-multiple-shows))
204+
- ShowSeveralGet ([api.spotify.com/v1/shows](https://developer.spotify.com/documentation/web-api/reference/get-multiple-shows))
150205
- ShowEpisodesGet ([api.spotify.com/v1/shows/{id}/episodes](https://developer.spotify.com/documentation/web-api/reference/get-a-shows-episodes))
151206

152207

@@ -155,13 +210,21 @@ All Json classes were taken from https://github.com/tdunning/open-json with only
155210
<details open>
156211
<summary><strong><u>Tracks:</u></strong></summary>
157212

158-
- SeveralTrackAudioFeaturesGet ([api.spotify.com/audio-features](https://developer.spotify.com/documentation/web-api/reference/#/operations/get-several-audio-features))
159-
- SeveralTracksGet ([api.spotify.com/tracks](https://developer.spotify.com/documentation/web-api/reference/#/operations/get-several-tracks))
213+
- TrackAudioFeatureSeveralGet ([api.spotify.com/audio-features](https://developer.spotify.com/documentation/web-api/reference/#/operations/get-several-audio-features))
214+
- TrackSeveralGet ([api.spotify.com/tracks](https://developer.spotify.com/documentation/web-api/reference/#/operations/get-several-tracks))
160215
- TrackAudioAnalysisGet ([api.spotify.com/audio-analysis/{id}](https://developer.spotify.com/documentation/web-api/reference/#/operations/get-audio-analysis))
161216
- TrackAudioFeaturesGet ([api.spotify.com/audio-features/{id}](https://developer.spotify.com/documentation/web-api/reference/#/operations/get-audio-features))
162217
- TrackGet ([api.spotify.com/tracks/{id}](https://developer.spotify.com/documentation/web-api/reference/#/operations/get-track))
163218
- TrackRecommendationGet ([api.spotify.com/recommendations](https://developer.spotify.com/documentation/web-api/reference/#/operations/get-recommendations))
164219

220+
</details>
221+
<br>
222+
<details open>
223+
<summary><strong><u>User:</u></strong></summary>
224+
225+
- UserPlaylistCreatePost
226+
- UserPlaylistGet
227+
- UserProfileGet
165228
</details>
166229

167230
### <u>Future Plans</u>

src/test/java/dev/gruncan/spotify/RequestClasses.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,9 @@ private static List<String> getClassNames(File[] files){
3131
name = name.replace("src\\main\\java\\", "")
3232
.replace(".java", "")
3333
.replace("\\", ".");
34+
// String[] dir = name.split("\\.");
35+
// name = dir[dir.length-1];
36+
3437

3538
list.add(name);
3639
}

0 commit comments

Comments
 (0)