spotted 0.34.4 → 0.35.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/README.md +1 -1
- data/lib/spotted/models/album_bulk_retrieve_response.rb +8 -0
- data/lib/spotted/models/album_retrieve_response.rb +8 -0
- data/lib/spotted/models/artist_list_albums_params.rb +2 -2
- data/lib/spotted/models/artist_list_albums_response.rb +2 -0
- data/lib/spotted/models/artist_object.rb +6 -0
- data/lib/spotted/models/audiobook_base.rb +4 -0
- data/lib/spotted/models/browse_get_new_releases_response.rb +2 -0
- data/lib/spotted/models/chapter_bulk_retrieve_response.rb +2 -0
- data/lib/spotted/models/chapter_retrieve_response.rb +2 -0
- data/lib/spotted/models/me/album_list_response.rb +8 -0
- data/lib/spotted/models/me_retrieve_response.rb +12 -0
- data/lib/spotted/models/playlist_retrieve_response.rb +6 -3
- data/lib/spotted/models/search_query_response.rb +2 -0
- data/lib/spotted/models/show_base.rb +4 -0
- data/lib/spotted/models/simplified_chapter_object.rb +2 -0
- data/lib/spotted/models/simplified_track_object.rb +4 -0
- data/lib/spotted/models/track_object.rb +10 -0
- data/lib/spotted/models/user_retrieve_profile_response.rb +2 -0
- data/lib/spotted/models/users/playlist_create_response.rb +6 -3
- data/lib/spotted/resources/albums.rb +2 -0
- data/lib/spotted/resources/artists.rb +7 -1
- data/lib/spotted/resources/audiobooks.rb +2 -0
- data/lib/spotted/resources/browse/categories.rb +4 -0
- data/lib/spotted/resources/browse.rb +2 -0
- data/lib/spotted/resources/chapters.rb +2 -0
- data/lib/spotted/resources/episodes.rb +2 -0
- data/lib/spotted/resources/markets.rb +2 -0
- data/lib/spotted/resources/playlists/tracks.rb +3 -0
- data/lib/spotted/resources/shows.rb +2 -0
- data/lib/spotted/resources/tracks.rb +2 -0
- data/lib/spotted/resources/users/playlists.rb +7 -0
- data/lib/spotted/resources/users.rb +2 -0
- data/lib/spotted/version.rb +1 -1
- data/rbi/spotted/models/artist_list_albums_params.rbi +2 -2
- data/rbi/spotted/models/playlist_retrieve_response.rbi +6 -3
- data/rbi/spotted/models/users/playlist_create_response.rbi +6 -3
- data/rbi/spotted/resources/artists.rbi +1 -1
- data/rbi/spotted/resources/playlists/tracks.rbi +3 -0
- data/rbi/spotted/resources/users/playlists.rbi +3 -0
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d47443c57665ca926ffddc645653051d2b756ae342073c3d56df256d4b2b3276
|
|
4
|
+
data.tar.gz: ded4b12f434d7185619e30bb06530e5815ae768c5487164002ac5ba6ad7daabd
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 55a0711a4260f28f89cd9884179f4b599081b2e5e127c8eff2d9d0ab9f7267beea20bf6340044b7cf74c46e36be609dd143ad91bd3ddc61034ba9a6f4c40eaa3
|
|
7
|
+
data.tar.gz: 3aa2a15df4d83a1628e311d044ec812f0cc588c7fb24917f73aee0361bfce10b475c4c0dbb16f9e02866021ce8910f2ac5cc9381ae20692716a0edbca6ddb628
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.35.0 (2026-02-08)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v0.34.4...v0.35.0](https://github.com/cjavdev/spotted/compare/v0.34.4...v0.35.0)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
* **api:** api update ([6211f61](https://github.com/cjavdev/spotted/commit/6211f615162079ee7635ca93c9bbe8e510319448))
|
|
10
|
+
|
|
3
11
|
## 0.34.4 (2026-02-07)
|
|
4
12
|
|
|
5
13
|
Full Changelog: [v0.34.3...v0.34.4](https://github.com/cjavdev/spotted/compare/v0.34.3...v0.34.4)
|
data/README.md
CHANGED
|
@@ -28,6 +28,8 @@ module Spotted
|
|
|
28
28
|
required :album_type, enum: -> { Spotted::Models::AlbumBulkRetrieveResponse::Album::AlbumType }
|
|
29
29
|
|
|
30
30
|
# @!attribute available_markets
|
|
31
|
+
# @deprecated
|
|
32
|
+
#
|
|
31
33
|
# The markets in which the album is available:
|
|
32
34
|
# [ISO 3166-1 alpha-2 country codes](http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2).
|
|
33
35
|
# _**NOTE**: an album is considered available in a market when at least 1 of its
|
|
@@ -107,6 +109,8 @@ module Spotted
|
|
|
107
109
|
optional :copyrights, -> { Spotted::Internal::Type::ArrayOf[Spotted::CopyrightObject] }
|
|
108
110
|
|
|
109
111
|
# @!attribute external_ids
|
|
112
|
+
# @deprecated
|
|
113
|
+
#
|
|
110
114
|
# Known external IDs for the album.
|
|
111
115
|
#
|
|
112
116
|
# @return [Spotted::Models::ExternalIDObject, nil]
|
|
@@ -121,12 +125,16 @@ module Spotted
|
|
|
121
125
|
optional :genres, Spotted::Internal::Type::ArrayOf[String]
|
|
122
126
|
|
|
123
127
|
# @!attribute label
|
|
128
|
+
# @deprecated
|
|
129
|
+
#
|
|
124
130
|
# The label associated with the album.
|
|
125
131
|
#
|
|
126
132
|
# @return [String, nil]
|
|
127
133
|
optional :label, String
|
|
128
134
|
|
|
129
135
|
# @!attribute popularity
|
|
136
|
+
# @deprecated
|
|
137
|
+
#
|
|
130
138
|
# The popularity of the album. The value will be between 0 and 100, with 100 being
|
|
131
139
|
# the most popular.
|
|
132
140
|
#
|
|
@@ -18,6 +18,8 @@ module Spotted
|
|
|
18
18
|
required :album_type, enum: -> { Spotted::Models::AlbumRetrieveResponse::AlbumType }
|
|
19
19
|
|
|
20
20
|
# @!attribute available_markets
|
|
21
|
+
# @deprecated
|
|
22
|
+
#
|
|
21
23
|
# The markets in which the album is available:
|
|
22
24
|
# [ISO 3166-1 alpha-2 country codes](http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2).
|
|
23
25
|
# _**NOTE**: an album is considered available in a market when at least 1 of its
|
|
@@ -97,6 +99,8 @@ module Spotted
|
|
|
97
99
|
optional :copyrights, -> { Spotted::Internal::Type::ArrayOf[Spotted::CopyrightObject] }
|
|
98
100
|
|
|
99
101
|
# @!attribute external_ids
|
|
102
|
+
# @deprecated
|
|
103
|
+
#
|
|
100
104
|
# Known external IDs for the album.
|
|
101
105
|
#
|
|
102
106
|
# @return [Spotted::Models::ExternalIDObject, nil]
|
|
@@ -111,12 +115,16 @@ module Spotted
|
|
|
111
115
|
optional :genres, Spotted::Internal::Type::ArrayOf[String]
|
|
112
116
|
|
|
113
117
|
# @!attribute label
|
|
118
|
+
# @deprecated
|
|
119
|
+
#
|
|
114
120
|
# The label associated with the album.
|
|
115
121
|
#
|
|
116
122
|
# @return [String, nil]
|
|
117
123
|
optional :label, String
|
|
118
124
|
|
|
119
125
|
# @!attribute popularity
|
|
126
|
+
# @deprecated
|
|
127
|
+
#
|
|
120
128
|
# The popularity of the album. The value will be between 0 and 100, with 100 being
|
|
121
129
|
# the most popular.
|
|
122
130
|
#
|
|
@@ -17,7 +17,7 @@ module Spotted
|
|
|
17
17
|
optional :include_groups, String
|
|
18
18
|
|
|
19
19
|
# @!attribute limit
|
|
20
|
-
# The maximum number of items to return. Default:
|
|
20
|
+
# The maximum number of items to return. Default: 5. Minimum: 1. Maximum: 10.
|
|
21
21
|
#
|
|
22
22
|
# @return [Integer, nil]
|
|
23
23
|
optional :limit, Integer
|
|
@@ -49,7 +49,7 @@ module Spotted
|
|
|
49
49
|
#
|
|
50
50
|
# @param include_groups [String] A comma-separated list of keywords that will be used to filter the response. If
|
|
51
51
|
#
|
|
52
|
-
# @param limit [Integer] The maximum number of items to return. Default:
|
|
52
|
+
# @param limit [Integer] The maximum number of items to return. Default: 5. Minimum: 1. Maximum: 10.
|
|
53
53
|
#
|
|
54
54
|
# @param market [String] An [ISO 3166-1 alpha-2 country code](https://en.wikipedia.org/wiki/ISO_3166-1_al
|
|
55
55
|
#
|
|
@@ -31,6 +31,8 @@ module Spotted
|
|
|
31
31
|
required :artists, -> { Spotted::Internal::Type::ArrayOf[Spotted::SimplifiedArtistObject] }
|
|
32
32
|
|
|
33
33
|
# @!attribute available_markets
|
|
34
|
+
# @deprecated
|
|
35
|
+
#
|
|
34
36
|
# The markets in which the album is available:
|
|
35
37
|
# [ISO 3166-1 alpha-2 country codes](http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2).
|
|
36
38
|
# _**NOTE**: an album is considered available in a market when at least 1 of its
|
|
@@ -17,12 +17,16 @@ module Spotted
|
|
|
17
17
|
optional :external_urls, -> { Spotted::ExternalURLObject }
|
|
18
18
|
|
|
19
19
|
# @!attribute followers
|
|
20
|
+
# @deprecated
|
|
21
|
+
#
|
|
20
22
|
# Information about the followers of the artist.
|
|
21
23
|
#
|
|
22
24
|
# @return [Spotted::Models::FollowersObject, nil]
|
|
23
25
|
optional :followers, -> { Spotted::FollowersObject }
|
|
24
26
|
|
|
25
27
|
# @!attribute genres
|
|
28
|
+
# @deprecated
|
|
29
|
+
#
|
|
26
30
|
# A list of the genres the artist is associated with. If not yet classified, the
|
|
27
31
|
# array is empty.
|
|
28
32
|
#
|
|
@@ -48,6 +52,8 @@ module Spotted
|
|
|
48
52
|
optional :name, String
|
|
49
53
|
|
|
50
54
|
# @!attribute popularity
|
|
55
|
+
# @deprecated
|
|
56
|
+
#
|
|
51
57
|
# The popularity of the artist. The value will be between 0 and 100, with 100
|
|
52
58
|
# being the most popular. The artist's popularity is calculated from the
|
|
53
59
|
# popularity of all the artist's tracks.
|
|
@@ -17,6 +17,8 @@ module Spotted
|
|
|
17
17
|
required :authors, -> { Spotted::Internal::Type::ArrayOf[Spotted::AuthorObject] }
|
|
18
18
|
|
|
19
19
|
# @!attribute available_markets
|
|
20
|
+
# @deprecated
|
|
21
|
+
#
|
|
20
22
|
# A list of the countries in which the audiobook can be played, identified by
|
|
21
23
|
# their [ISO 3166-1 alpha-2](http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)
|
|
22
24
|
# code.
|
|
@@ -94,6 +96,8 @@ module Spotted
|
|
|
94
96
|
required :narrators, -> { Spotted::Internal::Type::ArrayOf[Spotted::NarratorObject] }
|
|
95
97
|
|
|
96
98
|
# @!attribute publisher
|
|
99
|
+
# @deprecated
|
|
100
|
+
#
|
|
97
101
|
# The publisher of the audiobook.
|
|
98
102
|
#
|
|
99
103
|
# @return [String]
|
|
@@ -108,6 +108,8 @@ module Spotted
|
|
|
108
108
|
required :artists, -> { Spotted::Internal::Type::ArrayOf[Spotted::SimplifiedArtistObject] }
|
|
109
109
|
|
|
110
110
|
# @!attribute available_markets
|
|
111
|
+
# @deprecated
|
|
112
|
+
#
|
|
111
113
|
# The markets in which the album is available:
|
|
112
114
|
# [ISO 3166-1 alpha-2 country codes](http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2).
|
|
113
115
|
# _**NOTE**: an album is considered available in a market when at least 1 of its
|
|
@@ -133,6 +133,8 @@ module Spotted
|
|
|
133
133
|
required :uri, String
|
|
134
134
|
|
|
135
135
|
# @!attribute available_markets
|
|
136
|
+
# @deprecated
|
|
137
|
+
#
|
|
136
138
|
# A list of the countries in which the chapter can be played, identified by their
|
|
137
139
|
# [ISO 3166-1 alpha-2](http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code.
|
|
138
140
|
#
|
|
@@ -123,6 +123,8 @@ module Spotted
|
|
|
123
123
|
required :uri, String
|
|
124
124
|
|
|
125
125
|
# @!attribute available_markets
|
|
126
|
+
# @deprecated
|
|
127
|
+
#
|
|
126
128
|
# A list of the countries in which the chapter can be played, identified by their
|
|
127
129
|
# [ISO 3166-1 alpha-2](http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code.
|
|
128
130
|
#
|
|
@@ -57,6 +57,8 @@ module Spotted
|
|
|
57
57
|
required :album_type, enum: -> { Spotted::Models::Me::AlbumListResponse::Album::AlbumType }
|
|
58
58
|
|
|
59
59
|
# @!attribute available_markets
|
|
60
|
+
# @deprecated
|
|
61
|
+
#
|
|
60
62
|
# The markets in which the album is available:
|
|
61
63
|
# [ISO 3166-1 alpha-2 country codes](http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2).
|
|
62
64
|
# _**NOTE**: an album is considered available in a market when at least 1 of its
|
|
@@ -136,6 +138,8 @@ module Spotted
|
|
|
136
138
|
optional :copyrights, -> { Spotted::Internal::Type::ArrayOf[Spotted::CopyrightObject] }
|
|
137
139
|
|
|
138
140
|
# @!attribute external_ids
|
|
141
|
+
# @deprecated
|
|
142
|
+
#
|
|
139
143
|
# Known external IDs for the album.
|
|
140
144
|
#
|
|
141
145
|
# @return [Spotted::Models::ExternalIDObject, nil]
|
|
@@ -150,12 +154,16 @@ module Spotted
|
|
|
150
154
|
optional :genres, Spotted::Internal::Type::ArrayOf[String]
|
|
151
155
|
|
|
152
156
|
# @!attribute label
|
|
157
|
+
# @deprecated
|
|
158
|
+
#
|
|
153
159
|
# The label associated with the album.
|
|
154
160
|
#
|
|
155
161
|
# @return [String, nil]
|
|
156
162
|
optional :label, String
|
|
157
163
|
|
|
158
164
|
# @!attribute popularity
|
|
165
|
+
# @deprecated
|
|
166
|
+
#
|
|
159
167
|
# The popularity of the album. The value will be between 0 and 100, with 100 being
|
|
160
168
|
# the most popular.
|
|
161
169
|
#
|
|
@@ -12,6 +12,8 @@ module Spotted
|
|
|
12
12
|
optional :id, String
|
|
13
13
|
|
|
14
14
|
# @!attribute country
|
|
15
|
+
# @deprecated
|
|
16
|
+
#
|
|
15
17
|
# The country of the user, as set in the user's account profile. An
|
|
16
18
|
# [ISO 3166-1 alpha-2 country code](http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2).
|
|
17
19
|
# _This field is only available when the current user has granted access to the
|
|
@@ -28,6 +30,8 @@ module Spotted
|
|
|
28
30
|
optional :display_name, String
|
|
29
31
|
|
|
30
32
|
# @!attribute email
|
|
33
|
+
# @deprecated
|
|
34
|
+
#
|
|
31
35
|
# The user's email address, as entered by the user when creating their account.
|
|
32
36
|
# _**Important!** This email address is unverified; there is no proof that it
|
|
33
37
|
# actually belongs to the user._ _This field is only available when the current
|
|
@@ -39,6 +43,8 @@ module Spotted
|
|
|
39
43
|
optional :email, String
|
|
40
44
|
|
|
41
45
|
# @!attribute explicit_content
|
|
46
|
+
# @deprecated
|
|
47
|
+
#
|
|
42
48
|
# The user's explicit content settings. _This field is only available when the
|
|
43
49
|
# current user has granted access to the
|
|
44
50
|
# [user-read-private](/documentation/web-api/concepts/scopes/#list-of-scopes)
|
|
@@ -54,6 +60,8 @@ module Spotted
|
|
|
54
60
|
optional :external_urls, -> { Spotted::ExternalURLObject }
|
|
55
61
|
|
|
56
62
|
# @!attribute followers
|
|
63
|
+
# @deprecated
|
|
64
|
+
#
|
|
57
65
|
# Information about the followers of the user.
|
|
58
66
|
#
|
|
59
67
|
# @return [Spotted::Models::FollowersObject, nil]
|
|
@@ -72,6 +80,8 @@ module Spotted
|
|
|
72
80
|
optional :images, -> { Spotted::Internal::Type::ArrayOf[Spotted::ImageObject] }
|
|
73
81
|
|
|
74
82
|
# @!attribute product
|
|
83
|
+
# @deprecated
|
|
84
|
+
#
|
|
75
85
|
# The user's Spotify subscription level: "premium", "free", etc. (The subscription
|
|
76
86
|
# level "open" can be considered the same as "free".) _This field is only
|
|
77
87
|
# available when the current user has granted access to the
|
|
@@ -136,6 +146,8 @@ module Spotted
|
|
|
136
146
|
#
|
|
137
147
|
# @param uri [String] The [Spotify URI](/documentation/web-api/concepts/spotify-uris-ids) for the user
|
|
138
148
|
|
|
149
|
+
# @deprecated
|
|
150
|
+
#
|
|
139
151
|
# @see Spotted::Models::MeRetrieveResponse#explicit_content
|
|
140
152
|
class ExplicitContent < Spotted::Internal::Type::BaseModel
|
|
141
153
|
# @!attribute filter_enabled
|
|
@@ -82,7 +82,8 @@ module Spotted
|
|
|
82
82
|
optional :snapshot_id, String
|
|
83
83
|
|
|
84
84
|
# @!attribute tracks
|
|
85
|
-
# The tracks of the playlist.
|
|
85
|
+
# The tracks of the playlist. _**Note**: This field is only available for
|
|
86
|
+
# playlists owned by the current user._
|
|
86
87
|
#
|
|
87
88
|
# @return [Spotted::Models::PlaylistRetrieveResponse::Tracks, nil]
|
|
88
89
|
optional :tracks, -> { Spotted::Models::PlaylistRetrieveResponse::Tracks }
|
|
@@ -127,7 +128,8 @@ module Spotted
|
|
|
127
128
|
#
|
|
128
129
|
# @param snapshot_id [String] The version identifier for the current playlist. Can be supplied in other reques
|
|
129
130
|
#
|
|
130
|
-
# @param tracks [Spotted::Models::PlaylistRetrieveResponse::Tracks] The tracks of the playlist.
|
|
131
|
+
# @param tracks [Spotted::Models::PlaylistRetrieveResponse::Tracks] The tracks of the playlist. \_**Note**: This field is only available for
|
|
132
|
+
# playlist
|
|
131
133
|
#
|
|
132
134
|
# @param type [String] The object type: "playlist"
|
|
133
135
|
#
|
|
@@ -207,7 +209,8 @@ module Spotted
|
|
|
207
209
|
# Some parameter documentations has been truncated, see
|
|
208
210
|
# {Spotted::Models::PlaylistRetrieveResponse::Tracks} for more details.
|
|
209
211
|
#
|
|
210
|
-
# The tracks of the playlist.
|
|
212
|
+
# The tracks of the playlist. _**Note**: This field is only available for
|
|
213
|
+
# playlists owned by the current user._
|
|
211
214
|
#
|
|
212
215
|
# @param href [String] A link to the Web API endpoint returning the full result of the request
|
|
213
216
|
#
|
|
@@ -144,6 +144,8 @@ module Spotted
|
|
|
144
144
|
required :artists, -> { Spotted::Internal::Type::ArrayOf[Spotted::SimplifiedArtistObject] }
|
|
145
145
|
|
|
146
146
|
# @!attribute available_markets
|
|
147
|
+
# @deprecated
|
|
148
|
+
#
|
|
147
149
|
# The markets in which the album is available:
|
|
148
150
|
# [ISO 3166-1 alpha-2 country codes](http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2).
|
|
149
151
|
# _**NOTE**: an album is considered available in a market when at least 1 of its
|
|
@@ -10,6 +10,8 @@ module Spotted
|
|
|
10
10
|
required :id, String
|
|
11
11
|
|
|
12
12
|
# @!attribute available_markets
|
|
13
|
+
# @deprecated
|
|
14
|
+
#
|
|
13
15
|
# A list of the countries in which the show can be played, identified by their
|
|
14
16
|
# [ISO 3166-1 alpha-2](http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code.
|
|
15
17
|
#
|
|
@@ -87,6 +89,8 @@ module Spotted
|
|
|
87
89
|
required :name, String
|
|
88
90
|
|
|
89
91
|
# @!attribute publisher
|
|
92
|
+
# @deprecated
|
|
93
|
+
#
|
|
90
94
|
# The publisher of the show.
|
|
91
95
|
#
|
|
92
96
|
# @return [String]
|
|
@@ -116,6 +116,8 @@ module Spotted
|
|
|
116
116
|
required :uri, String
|
|
117
117
|
|
|
118
118
|
# @!attribute available_markets
|
|
119
|
+
# @deprecated
|
|
120
|
+
#
|
|
119
121
|
# A list of the countries in which the chapter can be played, identified by their
|
|
120
122
|
# [ISO 3166-1 alpha-2](http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code.
|
|
121
123
|
#
|
|
@@ -18,6 +18,8 @@ module Spotted
|
|
|
18
18
|
optional :artists, -> { Spotted::Internal::Type::ArrayOf[Spotted::SimplifiedArtistObject] }
|
|
19
19
|
|
|
20
20
|
# @!attribute available_markets
|
|
21
|
+
# @deprecated
|
|
22
|
+
#
|
|
21
23
|
# A list of the countries in which the track can be played, identified by their
|
|
22
24
|
# [ISO 3166-1 alpha-2](http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code.
|
|
23
25
|
#
|
|
@@ -70,6 +72,8 @@ module Spotted
|
|
|
70
72
|
optional :is_playable, Spotted::Internal::Type::Boolean
|
|
71
73
|
|
|
72
74
|
# @!attribute linked_from
|
|
75
|
+
# @deprecated
|
|
76
|
+
#
|
|
73
77
|
# Part of the response when
|
|
74
78
|
# [Track Relinking](/documentation/web-api/concepts/track-relinking/) is applied
|
|
75
79
|
# and is only part of the response if the track linking, in fact, exists. The
|
|
@@ -25,6 +25,8 @@ module Spotted
|
|
|
25
25
|
optional :artists, -> { Spotted::Internal::Type::ArrayOf[Spotted::SimplifiedArtistObject] }
|
|
26
26
|
|
|
27
27
|
# @!attribute available_markets
|
|
28
|
+
# @deprecated
|
|
29
|
+
#
|
|
28
30
|
# A list of the countries in which the track can be played, identified by their
|
|
29
31
|
# [ISO 3166-1 alpha-2](http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code.
|
|
30
32
|
#
|
|
@@ -51,6 +53,8 @@ module Spotted
|
|
|
51
53
|
optional :explicit, Spotted::Internal::Type::Boolean
|
|
52
54
|
|
|
53
55
|
# @!attribute external_ids
|
|
56
|
+
# @deprecated
|
|
57
|
+
#
|
|
54
58
|
# Known external IDs for the track.
|
|
55
59
|
#
|
|
56
60
|
# @return [Spotted::Models::ExternalIDObject, nil]
|
|
@@ -83,6 +87,8 @@ module Spotted
|
|
|
83
87
|
optional :is_playable, Spotted::Internal::Type::Boolean
|
|
84
88
|
|
|
85
89
|
# @!attribute linked_from
|
|
90
|
+
# @deprecated
|
|
91
|
+
#
|
|
86
92
|
# Part of the response when
|
|
87
93
|
# [Track Relinking](/documentation/web-api/concepts/track-relinking) is applied,
|
|
88
94
|
# and the requested track has been replaced with different track. The track in the
|
|
@@ -98,6 +104,8 @@ module Spotted
|
|
|
98
104
|
optional :name, String
|
|
99
105
|
|
|
100
106
|
# @!attribute popularity
|
|
107
|
+
# @deprecated
|
|
108
|
+
#
|
|
101
109
|
# The popularity of the track. The value will be between 0 and 100, with 100 being
|
|
102
110
|
# the most popular.<br/>The popularity of a track is a value between 0 and 100,
|
|
103
111
|
# with 100 being the most popular. The popularity is calculated by algorithm and
|
|
@@ -225,6 +233,8 @@ module Spotted
|
|
|
225
233
|
required :artists, -> { Spotted::Internal::Type::ArrayOf[Spotted::SimplifiedArtistObject] }
|
|
226
234
|
|
|
227
235
|
# @!attribute available_markets
|
|
236
|
+
# @deprecated
|
|
237
|
+
#
|
|
228
238
|
# The markets in which the album is available:
|
|
229
239
|
# [ISO 3166-1 alpha-2 country codes](http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2).
|
|
230
240
|
# _**NOTE**: an album is considered available in a market when at least 1 of its
|
|
@@ -83,7 +83,8 @@ module Spotted
|
|
|
83
83
|
optional :snapshot_id, String
|
|
84
84
|
|
|
85
85
|
# @!attribute tracks
|
|
86
|
-
# The tracks of the playlist.
|
|
86
|
+
# The tracks of the playlist. _**Note**: This field is only available for
|
|
87
|
+
# playlists owned by the current user._
|
|
87
88
|
#
|
|
88
89
|
# @return [Spotted::Models::Users::PlaylistCreateResponse::Tracks, nil]
|
|
89
90
|
optional :tracks, -> { Spotted::Models::Users::PlaylistCreateResponse::Tracks }
|
|
@@ -128,7 +129,8 @@ module Spotted
|
|
|
128
129
|
#
|
|
129
130
|
# @param snapshot_id [String] The version identifier for the current playlist. Can be supplied in other reques
|
|
130
131
|
#
|
|
131
|
-
# @param tracks [Spotted::Models::Users::PlaylistCreateResponse::Tracks] The tracks of the playlist.
|
|
132
|
+
# @param tracks [Spotted::Models::Users::PlaylistCreateResponse::Tracks] The tracks of the playlist. \_**Note**: This field is only available for
|
|
133
|
+
# playlist
|
|
132
134
|
#
|
|
133
135
|
# @param type [String] The object type: "playlist"
|
|
134
136
|
#
|
|
@@ -208,7 +210,8 @@ module Spotted
|
|
|
208
210
|
# Some parameter documentations has been truncated, see
|
|
209
211
|
# {Spotted::Models::Users::PlaylistCreateResponse::Tracks} for more details.
|
|
210
212
|
#
|
|
211
|
-
# The tracks of the playlist.
|
|
213
|
+
# The tracks of the playlist. _**Note**: This field is only available for
|
|
214
|
+
# playlists owned by the current user._
|
|
212
215
|
#
|
|
213
216
|
# @param href [String] A link to the Web API endpoint returning the full result of the request
|
|
214
217
|
#
|
|
@@ -27,6 +27,8 @@ module Spotted
|
|
|
27
27
|
)
|
|
28
28
|
end
|
|
29
29
|
|
|
30
|
+
# @deprecated
|
|
31
|
+
#
|
|
30
32
|
# Some parameter documentations has been truncated, see
|
|
31
33
|
# {Spotted::Models::ArtistBulkRetrieveParams} for more details.
|
|
32
34
|
#
|
|
@@ -52,6 +54,8 @@ module Spotted
|
|
|
52
54
|
)
|
|
53
55
|
end
|
|
54
56
|
|
|
57
|
+
# @deprecated
|
|
58
|
+
#
|
|
55
59
|
# Some parameter documentations has been truncated, see
|
|
56
60
|
# {Spotted::Models::ArtistListAlbumsParams} for more details.
|
|
57
61
|
#
|
|
@@ -63,7 +67,7 @@ module Spotted
|
|
|
63
67
|
#
|
|
64
68
|
# @param include_groups [String] A comma-separated list of keywords that will be used to filter the response. If
|
|
65
69
|
#
|
|
66
|
-
# @param limit [Integer] The maximum number of items to return. Default:
|
|
70
|
+
# @param limit [Integer] The maximum number of items to return. Default: 5. Minimum: 1. Maximum: 10.
|
|
67
71
|
#
|
|
68
72
|
# @param market [String] An [ISO 3166-1 alpha-2 country code](https://en.wikipedia.org/wiki/ISO_3166-1_al
|
|
69
73
|
#
|
|
@@ -112,6 +116,8 @@ module Spotted
|
|
|
112
116
|
)
|
|
113
117
|
end
|
|
114
118
|
|
|
119
|
+
# @deprecated
|
|
120
|
+
#
|
|
115
121
|
# Some parameter documentations has been truncated, see
|
|
116
122
|
# {Spotted::Models::ArtistTopTracksParams} for more details.
|
|
117
123
|
#
|
|
@@ -4,6 +4,8 @@ module Spotted
|
|
|
4
4
|
module Resources
|
|
5
5
|
class Browse
|
|
6
6
|
class Categories
|
|
7
|
+
# @deprecated
|
|
8
|
+
#
|
|
7
9
|
# Some parameter documentations has been truncated, see
|
|
8
10
|
# {Spotted::Models::Browse::CategoryRetrieveParams} for more details.
|
|
9
11
|
#
|
|
@@ -32,6 +34,8 @@ module Spotted
|
|
|
32
34
|
)
|
|
33
35
|
end
|
|
34
36
|
|
|
37
|
+
# @deprecated
|
|
38
|
+
#
|
|
35
39
|
# Some parameter documentations has been truncated, see
|
|
36
40
|
# {Spotted::Models::Browse::CategoryListParams} for more details.
|
|
37
41
|
#
|
|
@@ -54,6 +54,9 @@ module Spotted
|
|
|
54
54
|
#
|
|
55
55
|
# Get full details of the items of a playlist owned by a Spotify user.
|
|
56
56
|
#
|
|
57
|
+
# **Note**: This endpoint is only accessible for playlists owned by the current
|
|
58
|
+
# user.
|
|
59
|
+
#
|
|
57
60
|
# @overload list(playlist_id, additional_types: nil, fields: nil, limit: nil, market: nil, offset: nil, request_options: {})
|
|
58
61
|
#
|
|
59
62
|
# @param playlist_id [String] The [Spotify ID](/documentation/web-api/concepts/spotify-uris-ids) of the playli
|
|
@@ -4,9 +4,14 @@ module Spotted
|
|
|
4
4
|
module Resources
|
|
5
5
|
class Users
|
|
6
6
|
class Playlists
|
|
7
|
+
# @deprecated
|
|
8
|
+
#
|
|
7
9
|
# Some parameter documentations has been truncated, see
|
|
8
10
|
# {Spotted::Models::Users::PlaylistCreateParams} for more details.
|
|
9
11
|
#
|
|
12
|
+
# **Deprecated**: Use
|
|
13
|
+
# [Create Playlist](/documentation/web-api/reference/create-playlist) instead.
|
|
14
|
+
#
|
|
10
15
|
# Create a playlist for a Spotify user. (The playlist will be empty until you
|
|
11
16
|
# [add tracks](/documentation/web-api/reference/add-tracks-to-playlist).) Each
|
|
12
17
|
# user is generally limited to a maximum of 11000 playlists.
|
|
@@ -40,6 +45,8 @@ module Spotted
|
|
|
40
45
|
)
|
|
41
46
|
end
|
|
42
47
|
|
|
48
|
+
# @deprecated
|
|
49
|
+
#
|
|
43
50
|
# Some parameter documentations has been truncated, see
|
|
44
51
|
# {Spotted::Models::Users::PlaylistListParams} for more details.
|
|
45
52
|
#
|
data/lib/spotted/version.rb
CHANGED
|
@@ -21,7 +21,7 @@ module Spotted
|
|
|
21
21
|
sig { params(include_groups: String).void }
|
|
22
22
|
attr_writer :include_groups
|
|
23
23
|
|
|
24
|
-
# The maximum number of items to return. Default:
|
|
24
|
+
# The maximum number of items to return. Default: 5. Minimum: 1. Maximum: 10.
|
|
25
25
|
sig { returns(T.nilable(Integer)) }
|
|
26
26
|
attr_reader :limit
|
|
27
27
|
|
|
@@ -66,7 +66,7 @@ module Spotted
|
|
|
66
66
|
# `album`<br/>- `single`<br/>- `appears_on`<br/>- `compilation`<br/>For example:
|
|
67
67
|
# `include_groups=album,single`.
|
|
68
68
|
include_groups: nil,
|
|
69
|
-
# The maximum number of items to return. Default:
|
|
69
|
+
# The maximum number of items to return. Default: 5. Minimum: 1. Maximum: 10.
|
|
70
70
|
limit: nil,
|
|
71
71
|
# An
|
|
72
72
|
# [ISO 3166-1 alpha-2 country code](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2).
|
|
@@ -102,7 +102,8 @@ module Spotted
|
|
|
102
102
|
sig { params(snapshot_id: String).void }
|
|
103
103
|
attr_writer :snapshot_id
|
|
104
104
|
|
|
105
|
-
# The tracks of the playlist.
|
|
105
|
+
# The tracks of the playlist. _**Note**: This field is only available for
|
|
106
|
+
# playlists owned by the current user._
|
|
106
107
|
sig do
|
|
107
108
|
returns(T.nilable(Spotted::Models::PlaylistRetrieveResponse::Tracks))
|
|
108
109
|
end
|
|
@@ -182,7 +183,8 @@ module Spotted
|
|
|
182
183
|
# The version identifier for the current playlist. Can be supplied in other
|
|
183
184
|
# requests to target a specific playlist version
|
|
184
185
|
snapshot_id: nil,
|
|
185
|
-
# The tracks of the playlist.
|
|
186
|
+
# The tracks of the playlist. _**Note**: This field is only available for
|
|
187
|
+
# playlists owned by the current user._
|
|
186
188
|
tracks: nil,
|
|
187
189
|
# The object type: "playlist"
|
|
188
190
|
type: nil,
|
|
@@ -295,7 +297,8 @@ module Spotted
|
|
|
295
297
|
sig { params(published: T::Boolean).void }
|
|
296
298
|
attr_writer :published
|
|
297
299
|
|
|
298
|
-
# The tracks of the playlist.
|
|
300
|
+
# The tracks of the playlist. _**Note**: This field is only available for
|
|
301
|
+
# playlists owned by the current user._
|
|
299
302
|
sig do
|
|
300
303
|
params(
|
|
301
304
|
href: String,
|
|
@@ -105,7 +105,8 @@ module Spotted
|
|
|
105
105
|
sig { params(snapshot_id: String).void }
|
|
106
106
|
attr_writer :snapshot_id
|
|
107
107
|
|
|
108
|
-
# The tracks of the playlist.
|
|
108
|
+
# The tracks of the playlist. _**Note**: This field is only available for
|
|
109
|
+
# playlists owned by the current user._
|
|
109
110
|
sig do
|
|
110
111
|
returns(
|
|
111
112
|
T.nilable(Spotted::Models::Users::PlaylistCreateResponse::Tracks)
|
|
@@ -190,7 +191,8 @@ module Spotted
|
|
|
190
191
|
# The version identifier for the current playlist. Can be supplied in other
|
|
191
192
|
# requests to target a specific playlist version
|
|
192
193
|
snapshot_id: nil,
|
|
193
|
-
# The tracks of the playlist.
|
|
194
|
+
# The tracks of the playlist. _**Note**: This field is only available for
|
|
195
|
+
# playlists owned by the current user._
|
|
194
196
|
tracks: nil,
|
|
195
197
|
# The object type: "playlist"
|
|
196
198
|
type: nil,
|
|
@@ -303,7 +305,8 @@ module Spotted
|
|
|
303
305
|
sig { params(published: T::Boolean).void }
|
|
304
306
|
attr_writer :published
|
|
305
307
|
|
|
306
|
-
# The tracks of the playlist.
|
|
308
|
+
# The tracks of the playlist. _**Note**: This field is only available for
|
|
309
|
+
# playlists owned by the current user._
|
|
307
310
|
sig do
|
|
308
311
|
params(
|
|
309
312
|
href: String,
|
|
@@ -59,7 +59,7 @@ module Spotted
|
|
|
59
59
|
# `album`<br/>- `single`<br/>- `appears_on`<br/>- `compilation`<br/>For example:
|
|
60
60
|
# `include_groups=album,single`.
|
|
61
61
|
include_groups: nil,
|
|
62
|
-
# The maximum number of items to return. Default:
|
|
62
|
+
# The maximum number of items to return. Default: 5. Minimum: 1. Maximum: 10.
|
|
63
63
|
limit: nil,
|
|
64
64
|
# An
|
|
65
65
|
# [ISO 3166-1 alpha-2 country code](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2).
|
|
@@ -4,6 +4,9 @@ module Spotted
|
|
|
4
4
|
module Resources
|
|
5
5
|
class Users
|
|
6
6
|
class Playlists
|
|
7
|
+
# **Deprecated**: Use
|
|
8
|
+
# [Create Playlist](/documentation/web-api/reference/create-playlist) instead.
|
|
9
|
+
#
|
|
7
10
|
# Create a playlist for a Spotify user. (The playlist will be empty until you
|
|
8
11
|
# [add tracks](/documentation/web-api/reference/add-tracks-to-playlist).) Each
|
|
9
12
|
# user is generally limited to a maximum of 11000 playlists.
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: spotted
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.35.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Spotted
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-02-
|
|
11
|
+
date: 2026-02-08 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: cgi
|