omnipython-applibs 0.1.2.dev16__py3-none-any.whl
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.
- appkit/__init__.py +52 -0
- appkit/__init__.pyi +17 -0
- appkit/data.py +149 -0
- appkit/data.pyi +25 -0
- appkit/foreground.py +357 -0
- appkit/foreground.pyi +45 -0
- appkit/home.py +19 -0
- appkit/home.pyi +8 -0
- appkit/hover.py +59 -0
- appkit/hover.pyi +13 -0
- appkit/index.py +199 -0
- appkit/index.pyi +30 -0
- appkit/launcher.py +1075 -0
- appkit/launcher.pyi +96 -0
- appkit/manifest.py +75 -0
- appkit/manifest.pyi +8 -0
- appkit/net.py +167 -0
- appkit/net.pyi +34 -0
- appkit/places.py +202 -0
- appkit/places.pyi +39 -0
- appkit/py.typed +0 -0
- appkit/scope.py +636 -0
- appkit/scope.pyi +110 -0
- appkit/shell.py +121 -0
- appkit/shell.pyi +32 -0
- appkit/worker.py +409 -0
- appkit/worker.pyi +83 -0
- controlkit/__init__.py +19 -0
- controlkit/__init__.pyi +10 -0
- controlkit/_draw.py +88 -0
- controlkit/_safe.py +29 -0
- controlkit/dotmatrix.py +101 -0
- controlkit/dotmatrix.pyi +23 -0
- controlkit/encoder.py +297 -0
- controlkit/encoder.pyi +55 -0
- controlkit/font5x7.py +22 -0
- controlkit/font5x7.pyi +11 -0
- controlkit/lamp_button.py +92 -0
- controlkit/lamp_button.pyi +40 -0
- controlkit/meter.py +86 -0
- controlkit/meter.pyi +30 -0
- controlkit/mock.py +116 -0
- controlkit/mock.pyi +35 -0
- controlkit/pad_grid.py +113 -0
- controlkit/pad_grid.pyi +41 -0
- controlkit/py.typed +0 -0
- controlkit/slider.py +185 -0
- controlkit/slider.pyi +49 -0
- controlkit/sprites.py +279 -0
- controlkit/sprites.pyi +22 -0
- controlkit/theme.py +120 -0
- controlkit/theme.pyi +15 -0
- deskkit/__init__.py +74 -0
- deskkit/__init__.pyi +18 -0
- deskkit/forecast.py +261 -0
- deskkit/forecast.pyi +40 -0
- deskkit/localtime.py +215 -0
- deskkit/localtime.pyi +33 -0
- deskkit/py.typed +0 -0
- deskkit/shell.py +113 -0
- deskkit/shell.pyi +33 -0
- omnipython_applibs-0.1.2.dev16.dist-info/METADATA +90 -0
- omnipython_applibs-0.1.2.dev16.dist-info/RECORD +143 -0
- omnipython_applibs-0.1.2.dev16.dist-info/WHEEL +5 -0
- omnipython_applibs-0.1.2.dev16.dist-info/licenses/LICENSE +21 -0
- omnipython_applibs-0.1.2.dev16.dist-info/top_level.txt +9 -0
- programkit/__init__.py +27 -0
- programkit/__init__.pyi +8 -0
- programkit/board.py +56 -0
- programkit/board.pyi +20 -0
- programkit/press.py +63 -0
- programkit/press.pyi +17 -0
- programkit/py.typed +0 -0
- programkit/rows.py +149 -0
- programkit/rows.pyi +34 -0
- sayso/__init__.py +109 -0
- sayso/__init__.pyi +124 -0
- sayso/auth.py +811 -0
- sayso/auth.pyi +102 -0
- sayso/client.py +1286 -0
- sayso/client.pyi +138 -0
- sayso/keepalive.py +371 -0
- sayso/keepalive.pyi +53 -0
- sayso/local.py +85 -0
- sayso/local.pyi +28 -0
- sayso/object_specs.py +706 -0
- sayso/object_specs.pyi +8 -0
- sayso/objects.py +411 -0
- sayso/objects.pyi +854 -0
- sayso/py.typed +0 -0
- sayso/schema_coverage.py +210 -0
- sayso/schema_coverage.pyi +13 -0
- sayso/transport.py +426 -0
- sayso/transport.pyi +47 -0
- songmodel/__init__.py +30 -0
- songmodel/__init__.pyi +9 -0
- songmodel/link.py +189 -0
- songmodel/link.pyi +53 -0
- songmodel/model.py +238 -0
- songmodel/model.pyi +40 -0
- songmodel/page.html +225 -0
- songmodel/page_data.py +236 -0
- songmodel/page_data.pyi +6 -0
- songmodel/py.typed +0 -0
- soundmodule/__init__.py +7 -0
- soundmodule/__init__.pyi +6 -0
- soundmodule/engine.py +1001 -0
- soundmodule/engine.pyi +196 -0
- soundmodule/names.py +298 -0
- soundmodule/names.pyi +30 -0
- soundmodule/pipes.py +105 -0
- soundmodule/pipes.pyi +31 -0
- soundmodule/py.typed +0 -0
- soundmodule/run.py +249 -0
- soundmodule/run.pyi +49 -0
- spectrum/__init__.py +72 -0
- spectrum/__init__.pyi +30 -0
- spectrum/analyzer.py +231 -0
- spectrum/analyzer.pyi +67 -0
- spectrum/fake_music.py +201 -0
- spectrum/fake_music.pyi +36 -0
- spectrum/pump_levels.py +126 -0
- spectrum/pump_levels.pyi +46 -0
- spectrum/py.typed +0 -0
- spectrum/spectrum_view.py +403 -0
- spectrum/spectrum_view.pyi +80 -0
- touchkit/__init__.py +4 -0
- touchkit/__init__.pyi +4 -0
- touchkit/cam.py +146 -0
- touchkit/cam.pyi +35 -0
- touchkit/clock.py +18 -0
- touchkit/clock.pyi +6 -0
- touchkit/ecp.py +134 -0
- touchkit/ecp.pyi +28 -0
- touchkit/net.py +347 -0
- touchkit/net.pyi +27 -0
- touchkit/py.typed +0 -0
- touchkit/settings.py +85 -0
- touchkit/settings.pyi +17 -0
- touchkit/shell.py +268 -0
- touchkit/shell.pyi +42 -0
- touchkit/ui.py +167 -0
- touchkit/ui.pyi +53 -0
sayso/objects.pyi
ADDED
|
@@ -0,0 +1,854 @@
|
|
|
1
|
+
# SPDX-FileCopyrightText: 2026 Brad Barnett
|
|
2
|
+
#
|
|
3
|
+
# SPDX-License-Identifier: MIT
|
|
4
|
+
"""Spotify Web API objects: lazy, attribute-style views of the JSON the API returns."""
|
|
5
|
+
|
|
6
|
+
from collections.abc import Iterable, Iterator, Sequence
|
|
7
|
+
from typing import Any, Generic, TypeVar, overload
|
|
8
|
+
|
|
9
|
+
from .client import SpotifyClient
|
|
10
|
+
from .object_specs import SPOTIFY_OBJECT_SPECS as SPOTIFY_OBJECT_SPECS
|
|
11
|
+
from .transport import TransportError as TransportError
|
|
12
|
+
|
|
13
|
+
_T = TypeVar('_T')
|
|
14
|
+
|
|
15
|
+
class HydrationError(Exception):
|
|
16
|
+
"""An object could not be filled in from the API."""
|
|
17
|
+
|
|
18
|
+
args: tuple[str]
|
|
19
|
+
cause: TransportError | None
|
|
20
|
+
def __init__(self, message: str, cause: TransportError | None = None) -> None: ...
|
|
21
|
+
|
|
22
|
+
def set_client(client: SpotifyClient | None) -> None: ...
|
|
23
|
+
def get_client() -> SpotifyClient | None: ...
|
|
24
|
+
|
|
25
|
+
class SpotifyObject:
|
|
26
|
+
"""Wraps one JSON object; a missing field is fetched from the API on first access."""
|
|
27
|
+
|
|
28
|
+
def __init__(self, data: dict[str, Any] | None = None, **kwargs: Any) -> None: ...
|
|
29
|
+
def raw(self) -> dict[str, Any]: ...
|
|
30
|
+
|
|
31
|
+
class Page(SpotifyObject, Generic[_T]):
|
|
32
|
+
"""A page of results; iterate it or index it to get items."""
|
|
33
|
+
|
|
34
|
+
@property
|
|
35
|
+
def items(self) -> Sequence[_T]: ...
|
|
36
|
+
def __iter__(self) -> Iterator[_T]: ...
|
|
37
|
+
def __len__(self) -> int: ...
|
|
38
|
+
@overload
|
|
39
|
+
def __getitem__(self, index: int) -> _T: ...
|
|
40
|
+
@overload
|
|
41
|
+
def __getitem__(self, index: slice) -> Sequence[_T]: ...
|
|
42
|
+
@property
|
|
43
|
+
def href(self) -> str | None: ...
|
|
44
|
+
@property
|
|
45
|
+
def limit(self) -> int | None: ...
|
|
46
|
+
@property
|
|
47
|
+
def next(self) -> str | None: ...
|
|
48
|
+
@property
|
|
49
|
+
def offset(self) -> int | None: ...
|
|
50
|
+
@property
|
|
51
|
+
def previous(self) -> str | None: ...
|
|
52
|
+
@property
|
|
53
|
+
def total(self) -> int | None: ...
|
|
54
|
+
|
|
55
|
+
class LazyPageRef(SpotifyObject):
|
|
56
|
+
"""A page that is requested from the API when first iterated."""
|
|
57
|
+
|
|
58
|
+
def __init__(self, owner: SpotifyObject, page_method: str, present_cls_name: str, ref_data: dict[str, Any] | None = None) -> None: ...
|
|
59
|
+
def __iter__(self) -> Iterator[Any]: ...
|
|
60
|
+
def __len__(self) -> int: ...
|
|
61
|
+
def __getitem__(self, index: int) -> Any: ...
|
|
62
|
+
@property
|
|
63
|
+
def href(self) -> str | None: ...
|
|
64
|
+
@property
|
|
65
|
+
def total(self) -> int | None: ...
|
|
66
|
+
|
|
67
|
+
def make_spotify_class(spec: dict[str, Any]) -> type[SpotifyObject]: ...
|
|
68
|
+
def make_spotify_classes(specs: Iterable[dict[str, Any]]) -> dict[str, type[SpotifyObject]]: ...
|
|
69
|
+
|
|
70
|
+
class Paging(Page[_T]):
|
|
71
|
+
...
|
|
72
|
+
|
|
73
|
+
class Cursor(SpotifyObject):
|
|
74
|
+
@property
|
|
75
|
+
def after(self) -> str | None: ...
|
|
76
|
+
@property
|
|
77
|
+
def before(self) -> str | None: ...
|
|
78
|
+
|
|
79
|
+
class CursorPaging(Page[_T]):
|
|
80
|
+
@property
|
|
81
|
+
def cursors(self) -> Cursor | None: ...
|
|
82
|
+
|
|
83
|
+
class ExternalUrl(SpotifyObject):
|
|
84
|
+
@property
|
|
85
|
+
def spotify(self) -> str | None: ...
|
|
86
|
+
|
|
87
|
+
class ExternalId(SpotifyObject):
|
|
88
|
+
@property
|
|
89
|
+
def isrc(self) -> str | None: ...
|
|
90
|
+
@property
|
|
91
|
+
def ean(self) -> str | None: ...
|
|
92
|
+
@property
|
|
93
|
+
def upc(self) -> str | None: ...
|
|
94
|
+
|
|
95
|
+
class Restriction(SpotifyObject):
|
|
96
|
+
@property
|
|
97
|
+
def reason(self) -> str | None: ...
|
|
98
|
+
|
|
99
|
+
class Followers(SpotifyObject):
|
|
100
|
+
@property
|
|
101
|
+
def href(self) -> str | None: ...
|
|
102
|
+
@property
|
|
103
|
+
def total(self) -> int | None: ...
|
|
104
|
+
|
|
105
|
+
class Image(SpotifyObject):
|
|
106
|
+
@property
|
|
107
|
+
def url(self) -> str | None: ...
|
|
108
|
+
@property
|
|
109
|
+
def height(self) -> int | None: ...
|
|
110
|
+
@property
|
|
111
|
+
def width(self) -> int | None: ...
|
|
112
|
+
|
|
113
|
+
class Copyright(SpotifyObject):
|
|
114
|
+
@property
|
|
115
|
+
def text(self) -> str | None: ...
|
|
116
|
+
@property
|
|
117
|
+
def type(self) -> str | None: ...
|
|
118
|
+
|
|
119
|
+
class ExplicitContentSettings(SpotifyObject):
|
|
120
|
+
@property
|
|
121
|
+
def filter_enabled(self) -> bool | None: ...
|
|
122
|
+
@property
|
|
123
|
+
def filter_locked(self) -> bool | None: ...
|
|
124
|
+
|
|
125
|
+
class User(SpotifyObject):
|
|
126
|
+
@property
|
|
127
|
+
def display_name(self) -> str | None: ...
|
|
128
|
+
@property
|
|
129
|
+
def href(self) -> str | None: ...
|
|
130
|
+
@property
|
|
131
|
+
def id(self) -> str | None: ...
|
|
132
|
+
@property
|
|
133
|
+
def type(self) -> str | None: ...
|
|
134
|
+
@property
|
|
135
|
+
def uri(self) -> str | None: ...
|
|
136
|
+
@property
|
|
137
|
+
def external_urls(self) -> ExternalUrl | None: ...
|
|
138
|
+
@property
|
|
139
|
+
def followers(self) -> Followers | None: ...
|
|
140
|
+
@property
|
|
141
|
+
def images(self) -> Sequence[Image]: ...
|
|
142
|
+
|
|
143
|
+
class PrivateUser(SpotifyObject):
|
|
144
|
+
@property
|
|
145
|
+
def account_id(self) -> str | None: ...
|
|
146
|
+
@property
|
|
147
|
+
def country(self) -> str | None: ...
|
|
148
|
+
@property
|
|
149
|
+
def display_name(self) -> str | None: ...
|
|
150
|
+
@property
|
|
151
|
+
def email(self) -> str | None: ...
|
|
152
|
+
@property
|
|
153
|
+
def href(self) -> str | None: ...
|
|
154
|
+
@property
|
|
155
|
+
def id(self) -> str | None: ...
|
|
156
|
+
@property
|
|
157
|
+
def product(self) -> str | None: ...
|
|
158
|
+
@property
|
|
159
|
+
def type(self) -> str | None: ...
|
|
160
|
+
@property
|
|
161
|
+
def uri(self) -> str | None: ...
|
|
162
|
+
@property
|
|
163
|
+
def explicit_content(self) -> ExplicitContentSettings | None: ...
|
|
164
|
+
@property
|
|
165
|
+
def external_urls(self) -> ExternalUrl | None: ...
|
|
166
|
+
@property
|
|
167
|
+
def followers(self) -> Followers | None: ...
|
|
168
|
+
@property
|
|
169
|
+
def images(self) -> Sequence[Image]: ...
|
|
170
|
+
|
|
171
|
+
class PlaylistItemsRef(SpotifyObject):
|
|
172
|
+
@property
|
|
173
|
+
def href(self) -> str | None: ...
|
|
174
|
+
@property
|
|
175
|
+
def total(self) -> int | None: ...
|
|
176
|
+
|
|
177
|
+
class AlbumsRef(SpotifyObject):
|
|
178
|
+
@property
|
|
179
|
+
def href(self) -> str | None: ...
|
|
180
|
+
@property
|
|
181
|
+
def total(self) -> int | None: ...
|
|
182
|
+
|
|
183
|
+
class SnapshotResult(SpotifyObject):
|
|
184
|
+
@property
|
|
185
|
+
def snapshot_id(self) -> str | None: ...
|
|
186
|
+
|
|
187
|
+
class TrackPage(Paging[Track]):
|
|
188
|
+
...
|
|
189
|
+
|
|
190
|
+
class AlbumPage(Paging[Album]):
|
|
191
|
+
...
|
|
192
|
+
|
|
193
|
+
class ArtistPage(Paging[Artist]):
|
|
194
|
+
...
|
|
195
|
+
|
|
196
|
+
class PlaylistPage(Paging[Playlist]):
|
|
197
|
+
...
|
|
198
|
+
|
|
199
|
+
class CategoryPage(Paging[Category]):
|
|
200
|
+
...
|
|
201
|
+
|
|
202
|
+
class PlaylistTrackPage(Paging[PlaylistTrack]):
|
|
203
|
+
...
|
|
204
|
+
|
|
205
|
+
class EpisodePage(Paging[Episode]):
|
|
206
|
+
...
|
|
207
|
+
|
|
208
|
+
class ShowPage(Paging[Show]):
|
|
209
|
+
...
|
|
210
|
+
|
|
211
|
+
class AudiobookPage(Paging[Audiobook]):
|
|
212
|
+
...
|
|
213
|
+
|
|
214
|
+
class ChapterPage(Paging[Chapter]):
|
|
215
|
+
...
|
|
216
|
+
|
|
217
|
+
class SavedAlbumPage(Paging[SavedAlbum]):
|
|
218
|
+
...
|
|
219
|
+
|
|
220
|
+
class SavedTrackPage(Paging[SavedTrack]):
|
|
221
|
+
...
|
|
222
|
+
|
|
223
|
+
class SavedEpisodePage(Paging[SavedEpisode]):
|
|
224
|
+
...
|
|
225
|
+
|
|
226
|
+
class SavedShowPage(Paging[SavedShow]):
|
|
227
|
+
...
|
|
228
|
+
|
|
229
|
+
class CursorPage(CursorPaging[Any]):
|
|
230
|
+
...
|
|
231
|
+
|
|
232
|
+
class ArtistCursorPage(CursorPaging[Artist]):
|
|
233
|
+
...
|
|
234
|
+
|
|
235
|
+
class PlayHistoryCursorPage(CursorPaging[PlayHistory]):
|
|
236
|
+
...
|
|
237
|
+
|
|
238
|
+
class ResumePoint(SpotifyObject):
|
|
239
|
+
@property
|
|
240
|
+
def fully_played(self) -> bool | None: ...
|
|
241
|
+
@property
|
|
242
|
+
def resume_position_ms(self) -> int | None: ...
|
|
243
|
+
|
|
244
|
+
class Author(SpotifyObject):
|
|
245
|
+
@property
|
|
246
|
+
def name(self) -> str | None: ...
|
|
247
|
+
|
|
248
|
+
class Narrator(SpotifyObject):
|
|
249
|
+
@property
|
|
250
|
+
def name(self) -> str | None: ...
|
|
251
|
+
|
|
252
|
+
class Error(SpotifyObject):
|
|
253
|
+
@property
|
|
254
|
+
def status(self) -> int | None: ...
|
|
255
|
+
@property
|
|
256
|
+
def message(self) -> str | None: ...
|
|
257
|
+
|
|
258
|
+
class Context(SpotifyObject):
|
|
259
|
+
@property
|
|
260
|
+
def type(self) -> str | None: ...
|
|
261
|
+
@property
|
|
262
|
+
def href(self) -> str | None: ...
|
|
263
|
+
@property
|
|
264
|
+
def uri(self) -> str | None: ...
|
|
265
|
+
@property
|
|
266
|
+
def external_urls(self) -> ExternalUrl | None: ...
|
|
267
|
+
|
|
268
|
+
class Device(SpotifyObject):
|
|
269
|
+
@property
|
|
270
|
+
def id(self) -> str | None: ...
|
|
271
|
+
@property
|
|
272
|
+
def is_active(self) -> bool | None: ...
|
|
273
|
+
@property
|
|
274
|
+
def is_private_session(self) -> bool | None: ...
|
|
275
|
+
@property
|
|
276
|
+
def is_restricted(self) -> bool | None: ...
|
|
277
|
+
@property
|
|
278
|
+
def name(self) -> str | None: ...
|
|
279
|
+
@property
|
|
280
|
+
def type(self) -> str | None: ...
|
|
281
|
+
@property
|
|
282
|
+
def volume_percent(self) -> int | None: ...
|
|
283
|
+
@property
|
|
284
|
+
def supports_volume(self) -> bool | None: ...
|
|
285
|
+
|
|
286
|
+
class Disallows(SpotifyObject):
|
|
287
|
+
@property
|
|
288
|
+
def interrupting_playback(self) -> bool | None: ...
|
|
289
|
+
@property
|
|
290
|
+
def pausing(self) -> bool | None: ...
|
|
291
|
+
@property
|
|
292
|
+
def resuming(self) -> bool | None: ...
|
|
293
|
+
@property
|
|
294
|
+
def seeking(self) -> bool | None: ...
|
|
295
|
+
@property
|
|
296
|
+
def skipping_next(self) -> bool | None: ...
|
|
297
|
+
@property
|
|
298
|
+
def skipping_prev(self) -> bool | None: ...
|
|
299
|
+
@property
|
|
300
|
+
def toggling_repeat_context(self) -> bool | None: ...
|
|
301
|
+
@property
|
|
302
|
+
def toggling_shuffle(self) -> bool | None: ...
|
|
303
|
+
@property
|
|
304
|
+
def toggling_repeat_track(self) -> bool | None: ...
|
|
305
|
+
@property
|
|
306
|
+
def transferring_playback(self) -> bool | None: ...
|
|
307
|
+
|
|
308
|
+
class LinkedTrack(SpotifyObject):
|
|
309
|
+
@property
|
|
310
|
+
def id(self) -> str | None: ...
|
|
311
|
+
@property
|
|
312
|
+
def uri(self) -> str | None: ...
|
|
313
|
+
@property
|
|
314
|
+
def href(self) -> str | None: ...
|
|
315
|
+
@property
|
|
316
|
+
def type(self) -> str | None: ...
|
|
317
|
+
@property
|
|
318
|
+
def external_urls(self) -> ExternalUrl | None: ...
|
|
319
|
+
|
|
320
|
+
class Category(SpotifyObject):
|
|
321
|
+
@property
|
|
322
|
+
def href(self) -> str | None: ...
|
|
323
|
+
@property
|
|
324
|
+
def id(self) -> str | None: ...
|
|
325
|
+
@property
|
|
326
|
+
def name(self) -> str | None: ...
|
|
327
|
+
@property
|
|
328
|
+
def icons(self) -> Sequence[Image]: ...
|
|
329
|
+
|
|
330
|
+
class FeaturedPlaylists(SpotifyObject):
|
|
331
|
+
@property
|
|
332
|
+
def message(self) -> str | None: ...
|
|
333
|
+
@property
|
|
334
|
+
def playlists(self) -> PlaylistPage | None: ...
|
|
335
|
+
|
|
336
|
+
class SearchResults(SpotifyObject):
|
|
337
|
+
@property
|
|
338
|
+
def tracks(self) -> TrackPage | None: ...
|
|
339
|
+
@property
|
|
340
|
+
def artists(self) -> ArtistPage | None: ...
|
|
341
|
+
@property
|
|
342
|
+
def albums(self) -> AlbumPage | None: ...
|
|
343
|
+
@property
|
|
344
|
+
def playlists(self) -> PlaylistPage | None: ...
|
|
345
|
+
@property
|
|
346
|
+
def shows(self) -> ShowPage | None: ...
|
|
347
|
+
@property
|
|
348
|
+
def episodes(self) -> EpisodePage | None: ...
|
|
349
|
+
@property
|
|
350
|
+
def audiobooks(self) -> AudiobookPage | None: ...
|
|
351
|
+
|
|
352
|
+
class TimeInterval(SpotifyObject):
|
|
353
|
+
@property
|
|
354
|
+
def start(self) -> float | None: ...
|
|
355
|
+
@property
|
|
356
|
+
def duration(self) -> float | None: ...
|
|
357
|
+
@property
|
|
358
|
+
def confidence(self) -> float | None: ...
|
|
359
|
+
|
|
360
|
+
class Section(SpotifyObject):
|
|
361
|
+
@property
|
|
362
|
+
def start(self) -> float | None: ...
|
|
363
|
+
@property
|
|
364
|
+
def duration(self) -> float | None: ...
|
|
365
|
+
@property
|
|
366
|
+
def confidence(self) -> float | None: ...
|
|
367
|
+
@property
|
|
368
|
+
def loudness(self) -> float | None: ...
|
|
369
|
+
@property
|
|
370
|
+
def tempo(self) -> float | None: ...
|
|
371
|
+
@property
|
|
372
|
+
def tempo_confidence(self) -> float | None: ...
|
|
373
|
+
@property
|
|
374
|
+
def key(self) -> int | None: ...
|
|
375
|
+
@property
|
|
376
|
+
def key_confidence(self) -> float | None: ...
|
|
377
|
+
@property
|
|
378
|
+
def mode(self) -> int | None: ...
|
|
379
|
+
@property
|
|
380
|
+
def mode_confidence(self) -> float | None: ...
|
|
381
|
+
@property
|
|
382
|
+
def time_signature(self) -> int | None: ...
|
|
383
|
+
@property
|
|
384
|
+
def time_signature_confidence(self) -> float | None: ...
|
|
385
|
+
|
|
386
|
+
class Segment(SpotifyObject):
|
|
387
|
+
@property
|
|
388
|
+
def start(self) -> float | None: ...
|
|
389
|
+
@property
|
|
390
|
+
def duration(self) -> float | None: ...
|
|
391
|
+
@property
|
|
392
|
+
def confidence(self) -> float | None: ...
|
|
393
|
+
@property
|
|
394
|
+
def loudness_start(self) -> float | None: ...
|
|
395
|
+
@property
|
|
396
|
+
def loudness_max(self) -> float | None: ...
|
|
397
|
+
@property
|
|
398
|
+
def loudness_max_time(self) -> float | None: ...
|
|
399
|
+
@property
|
|
400
|
+
def loudness_end(self) -> float | None: ...
|
|
401
|
+
@property
|
|
402
|
+
def pitches(self) -> Sequence[float]: ...
|
|
403
|
+
@property
|
|
404
|
+
def timbre(self) -> Sequence[float]: ...
|
|
405
|
+
|
|
406
|
+
class AudioFeatures(SpotifyObject):
|
|
407
|
+
@property
|
|
408
|
+
def acousticness(self) -> float | None: ...
|
|
409
|
+
@property
|
|
410
|
+
def analysis_url(self) -> str | None: ...
|
|
411
|
+
@property
|
|
412
|
+
def danceability(self) -> float | None: ...
|
|
413
|
+
@property
|
|
414
|
+
def duration_ms(self) -> int | None: ...
|
|
415
|
+
@property
|
|
416
|
+
def energy(self) -> float | None: ...
|
|
417
|
+
@property
|
|
418
|
+
def id(self) -> str | None: ...
|
|
419
|
+
@property
|
|
420
|
+
def instrumentalness(self) -> float | None: ...
|
|
421
|
+
@property
|
|
422
|
+
def key(self) -> int | None: ...
|
|
423
|
+
@property
|
|
424
|
+
def liveness(self) -> float | None: ...
|
|
425
|
+
@property
|
|
426
|
+
def loudness(self) -> float | None: ...
|
|
427
|
+
@property
|
|
428
|
+
def mode(self) -> int | None: ...
|
|
429
|
+
@property
|
|
430
|
+
def speechiness(self) -> float | None: ...
|
|
431
|
+
@property
|
|
432
|
+
def tempo(self) -> float | None: ...
|
|
433
|
+
@property
|
|
434
|
+
def time_signature(self) -> int | None: ...
|
|
435
|
+
@property
|
|
436
|
+
def track_href(self) -> str | None: ...
|
|
437
|
+
@property
|
|
438
|
+
def type(self) -> str | None: ...
|
|
439
|
+
@property
|
|
440
|
+
def uri(self) -> str | None: ...
|
|
441
|
+
@property
|
|
442
|
+
def valence(self) -> float | None: ...
|
|
443
|
+
|
|
444
|
+
class AudioAnalysis(SpotifyObject):
|
|
445
|
+
@property
|
|
446
|
+
def meta(self) -> dict[str, Any] | None: ...
|
|
447
|
+
@property
|
|
448
|
+
def track(self) -> dict[str, Any] | None: ...
|
|
449
|
+
@property
|
|
450
|
+
def bars(self) -> Sequence[TimeInterval]: ...
|
|
451
|
+
@property
|
|
452
|
+
def beats(self) -> Sequence[TimeInterval]: ...
|
|
453
|
+
@property
|
|
454
|
+
def sections(self) -> Sequence[Section]: ...
|
|
455
|
+
@property
|
|
456
|
+
def segments(self) -> Sequence[Segment]: ...
|
|
457
|
+
@property
|
|
458
|
+
def tatums(self) -> Sequence[TimeInterval]: ...
|
|
459
|
+
|
|
460
|
+
class RecommendationSeed(SpotifyObject):
|
|
461
|
+
@property
|
|
462
|
+
def afterFilteringSize(self) -> int | None: ...
|
|
463
|
+
@property
|
|
464
|
+
def afterRelinkingSize(self) -> int | None: ...
|
|
465
|
+
@property
|
|
466
|
+
def href(self) -> str | None: ...
|
|
467
|
+
@property
|
|
468
|
+
def id(self) -> str | None: ...
|
|
469
|
+
@property
|
|
470
|
+
def initialPoolSize(self) -> int | None: ...
|
|
471
|
+
@property
|
|
472
|
+
def type(self) -> str | None: ...
|
|
473
|
+
|
|
474
|
+
class Recommendations(SpotifyObject):
|
|
475
|
+
@property
|
|
476
|
+
def seeds(self) -> Sequence[RecommendationSeed]: ...
|
|
477
|
+
@property
|
|
478
|
+
def tracks(self) -> Sequence[Track]: ...
|
|
479
|
+
|
|
480
|
+
class Queue(SpotifyObject):
|
|
481
|
+
@property
|
|
482
|
+
def currently_playing(self) -> SpotifyObject | None: ...
|
|
483
|
+
@property
|
|
484
|
+
def queue(self) -> Sequence[SpotifyObject]: ...
|
|
485
|
+
|
|
486
|
+
class CurrentlyPlaying(SpotifyObject):
|
|
487
|
+
@property
|
|
488
|
+
def device(self) -> Device | None: ...
|
|
489
|
+
@property
|
|
490
|
+
def repeat_state(self) -> str | None: ...
|
|
491
|
+
@property
|
|
492
|
+
def shuffle_state(self) -> bool | None: ...
|
|
493
|
+
@property
|
|
494
|
+
def smart_shuffle(self) -> bool | None: ...
|
|
495
|
+
@property
|
|
496
|
+
def context(self) -> Context | None: ...
|
|
497
|
+
@property
|
|
498
|
+
def timestamp(self) -> int | None: ...
|
|
499
|
+
@property
|
|
500
|
+
def progress_ms(self) -> int | None: ...
|
|
501
|
+
@property
|
|
502
|
+
def is_playing(self) -> bool | None: ...
|
|
503
|
+
@property
|
|
504
|
+
def item(self) -> SpotifyObject | None: ...
|
|
505
|
+
@property
|
|
506
|
+
def currently_playing_type(self) -> str | None: ...
|
|
507
|
+
@property
|
|
508
|
+
def actions(self) -> Disallows | None: ...
|
|
509
|
+
|
|
510
|
+
class Artist(SpotifyObject):
|
|
511
|
+
@property
|
|
512
|
+
def id(self) -> str | None: ...
|
|
513
|
+
@property
|
|
514
|
+
def name(self) -> str | None: ...
|
|
515
|
+
@property
|
|
516
|
+
def uri(self) -> str | None: ...
|
|
517
|
+
@property
|
|
518
|
+
def href(self) -> str | None: ...
|
|
519
|
+
@property
|
|
520
|
+
def type(self) -> str | None: ...
|
|
521
|
+
@property
|
|
522
|
+
def external_urls(self) -> ExternalUrl | None: ...
|
|
523
|
+
@property
|
|
524
|
+
def followers(self) -> Followers | None: ...
|
|
525
|
+
@property
|
|
526
|
+
def genres(self) -> Sequence[str]: ...
|
|
527
|
+
@property
|
|
528
|
+
def images(self) -> Sequence[Image]: ...
|
|
529
|
+
@property
|
|
530
|
+
def popularity(self) -> int | None: ...
|
|
531
|
+
@property
|
|
532
|
+
def albums(self) -> AlbumPage | AlbumsRef | None: ...
|
|
533
|
+
|
|
534
|
+
class Album(SpotifyObject):
|
|
535
|
+
@property
|
|
536
|
+
def album_type(self) -> str | None: ...
|
|
537
|
+
@property
|
|
538
|
+
def total_tracks(self) -> int | None: ...
|
|
539
|
+
@property
|
|
540
|
+
def available_markets(self) -> Sequence[str]: ...
|
|
541
|
+
@property
|
|
542
|
+
def id(self) -> str | None: ...
|
|
543
|
+
@property
|
|
544
|
+
def name(self) -> str | None: ...
|
|
545
|
+
@property
|
|
546
|
+
def uri(self) -> str | None: ...
|
|
547
|
+
@property
|
|
548
|
+
def href(self) -> str | None: ...
|
|
549
|
+
@property
|
|
550
|
+
def type(self) -> str | None: ...
|
|
551
|
+
@property
|
|
552
|
+
def external_urls(self) -> ExternalUrl | None: ...
|
|
553
|
+
@property
|
|
554
|
+
def images(self) -> Sequence[Image]: ...
|
|
555
|
+
@property
|
|
556
|
+
def restrictions(self) -> Restriction | None: ...
|
|
557
|
+
@property
|
|
558
|
+
def release_date(self) -> str | None: ...
|
|
559
|
+
@property
|
|
560
|
+
def release_date_precision(self) -> str | None: ...
|
|
561
|
+
@property
|
|
562
|
+
def artists(self) -> Sequence[Artist]: ...
|
|
563
|
+
@property
|
|
564
|
+
def copyrights(self) -> Sequence[Copyright]: ...
|
|
565
|
+
@property
|
|
566
|
+
def external_ids(self) -> ExternalId | None: ...
|
|
567
|
+
@property
|
|
568
|
+
def genres(self) -> Sequence[str]: ...
|
|
569
|
+
@property
|
|
570
|
+
def label(self) -> str | None: ...
|
|
571
|
+
@property
|
|
572
|
+
def popularity(self) -> int | None: ...
|
|
573
|
+
@property
|
|
574
|
+
def tracks(self) -> TrackPage | None: ...
|
|
575
|
+
|
|
576
|
+
class Track(SpotifyObject):
|
|
577
|
+
@property
|
|
578
|
+
def id(self) -> str | None: ...
|
|
579
|
+
@property
|
|
580
|
+
def name(self) -> str | None: ...
|
|
581
|
+
@property
|
|
582
|
+
def uri(self) -> str | None: ...
|
|
583
|
+
@property
|
|
584
|
+
def href(self) -> str | None: ...
|
|
585
|
+
@property
|
|
586
|
+
def type(self) -> str | None: ...
|
|
587
|
+
@property
|
|
588
|
+
def duration_ms(self) -> int | None: ...
|
|
589
|
+
@property
|
|
590
|
+
def explicit(self) -> bool | None: ...
|
|
591
|
+
@property
|
|
592
|
+
def disc_number(self) -> int | None: ...
|
|
593
|
+
@property
|
|
594
|
+
def track_number(self) -> int | None: ...
|
|
595
|
+
@property
|
|
596
|
+
def preview_url(self) -> str | None: ...
|
|
597
|
+
@property
|
|
598
|
+
def is_local(self) -> bool | None: ...
|
|
599
|
+
@property
|
|
600
|
+
def is_playable(self) -> bool | None: ...
|
|
601
|
+
@property
|
|
602
|
+
def available_markets(self) -> Sequence[str]: ...
|
|
603
|
+
@property
|
|
604
|
+
def external_urls(self) -> ExternalUrl | None: ...
|
|
605
|
+
@property
|
|
606
|
+
def linked_from(self) -> LinkedTrack | None: ...
|
|
607
|
+
@property
|
|
608
|
+
def restrictions(self) -> Restriction | None: ...
|
|
609
|
+
@property
|
|
610
|
+
def artists(self) -> Sequence[Artist]: ...
|
|
611
|
+
@property
|
|
612
|
+
def album(self) -> Album | None: ...
|
|
613
|
+
@property
|
|
614
|
+
def external_ids(self) -> ExternalId | None: ...
|
|
615
|
+
@property
|
|
616
|
+
def popularity(self) -> int | None: ...
|
|
617
|
+
|
|
618
|
+
class Episode(SpotifyObject):
|
|
619
|
+
@property
|
|
620
|
+
def audio_preview_url(self) -> str | None: ...
|
|
621
|
+
@property
|
|
622
|
+
def description(self) -> str | None: ...
|
|
623
|
+
@property
|
|
624
|
+
def html_description(self) -> str | None: ...
|
|
625
|
+
@property
|
|
626
|
+
def duration_ms(self) -> int | None: ...
|
|
627
|
+
@property
|
|
628
|
+
def explicit(self) -> bool | None: ...
|
|
629
|
+
@property
|
|
630
|
+
def id(self) -> str | None: ...
|
|
631
|
+
@property
|
|
632
|
+
def name(self) -> str | None: ...
|
|
633
|
+
@property
|
|
634
|
+
def uri(self) -> str | None: ...
|
|
635
|
+
@property
|
|
636
|
+
def href(self) -> str | None: ...
|
|
637
|
+
@property
|
|
638
|
+
def type(self) -> str | None: ...
|
|
639
|
+
@property
|
|
640
|
+
def external_urls(self) -> ExternalUrl | None: ...
|
|
641
|
+
@property
|
|
642
|
+
def images(self) -> Sequence[Image]: ...
|
|
643
|
+
@property
|
|
644
|
+
def is_externally_hosted(self) -> bool | None: ...
|
|
645
|
+
@property
|
|
646
|
+
def is_playable(self) -> bool | None: ...
|
|
647
|
+
@property
|
|
648
|
+
def language(self) -> str | None: ...
|
|
649
|
+
@property
|
|
650
|
+
def languages(self) -> Sequence[str]: ...
|
|
651
|
+
@property
|
|
652
|
+
def release_date(self) -> str | None: ...
|
|
653
|
+
@property
|
|
654
|
+
def release_date_precision(self) -> str | None: ...
|
|
655
|
+
@property
|
|
656
|
+
def resume_point(self) -> ResumePoint | None: ...
|
|
657
|
+
@property
|
|
658
|
+
def restrictions(self) -> Restriction | None: ...
|
|
659
|
+
@property
|
|
660
|
+
def show(self) -> Show | None: ...
|
|
661
|
+
|
|
662
|
+
class Show(SpotifyObject):
|
|
663
|
+
@property
|
|
664
|
+
def available_markets(self) -> Sequence[str]: ...
|
|
665
|
+
@property
|
|
666
|
+
def description(self) -> str | None: ...
|
|
667
|
+
@property
|
|
668
|
+
def html_description(self) -> str | None: ...
|
|
669
|
+
@property
|
|
670
|
+
def explicit(self) -> bool | None: ...
|
|
671
|
+
@property
|
|
672
|
+
def href(self) -> str | None: ...
|
|
673
|
+
@property
|
|
674
|
+
def id(self) -> str | None: ...
|
|
675
|
+
@property
|
|
676
|
+
def is_externally_hosted(self) -> bool | None: ...
|
|
677
|
+
@property
|
|
678
|
+
def languages(self) -> Sequence[str]: ...
|
|
679
|
+
@property
|
|
680
|
+
def media_type(self) -> str | None: ...
|
|
681
|
+
@property
|
|
682
|
+
def name(self) -> str | None: ...
|
|
683
|
+
@property
|
|
684
|
+
def publisher(self) -> str | None: ...
|
|
685
|
+
@property
|
|
686
|
+
def type(self) -> str | None: ...
|
|
687
|
+
@property
|
|
688
|
+
def uri(self) -> str | None: ...
|
|
689
|
+
@property
|
|
690
|
+
def total_episodes(self) -> int | None: ...
|
|
691
|
+
@property
|
|
692
|
+
def copyrights(self) -> Sequence[Copyright]: ...
|
|
693
|
+
@property
|
|
694
|
+
def external_urls(self) -> ExternalUrl | None: ...
|
|
695
|
+
@property
|
|
696
|
+
def images(self) -> Sequence[Image]: ...
|
|
697
|
+
@property
|
|
698
|
+
def episodes(self) -> EpisodePage | None: ...
|
|
699
|
+
|
|
700
|
+
class SavedAlbum(SpotifyObject):
|
|
701
|
+
@property
|
|
702
|
+
def added_at(self) -> str | None: ...
|
|
703
|
+
@property
|
|
704
|
+
def album(self) -> Album | None: ...
|
|
705
|
+
|
|
706
|
+
class SavedTrack(SpotifyObject):
|
|
707
|
+
@property
|
|
708
|
+
def added_at(self) -> str | None: ...
|
|
709
|
+
@property
|
|
710
|
+
def track(self) -> Track | None: ...
|
|
711
|
+
|
|
712
|
+
class SavedEpisode(SpotifyObject):
|
|
713
|
+
@property
|
|
714
|
+
def added_at(self) -> str | None: ...
|
|
715
|
+
@property
|
|
716
|
+
def episode(self) -> Episode | None: ...
|
|
717
|
+
|
|
718
|
+
class SavedShow(SpotifyObject):
|
|
719
|
+
@property
|
|
720
|
+
def added_at(self) -> str | None: ...
|
|
721
|
+
@property
|
|
722
|
+
def show(self) -> Show | None: ...
|
|
723
|
+
|
|
724
|
+
class PlayHistory(SpotifyObject):
|
|
725
|
+
@property
|
|
726
|
+
def track(self) -> Track | None: ...
|
|
727
|
+
@property
|
|
728
|
+
def played_at(self) -> str | None: ...
|
|
729
|
+
@property
|
|
730
|
+
def context(self) -> Context | None: ...
|
|
731
|
+
|
|
732
|
+
class Audiobook(SpotifyObject):
|
|
733
|
+
@property
|
|
734
|
+
def authors(self) -> Sequence[Author]: ...
|
|
735
|
+
@property
|
|
736
|
+
def available_markets(self) -> Sequence[str]: ...
|
|
737
|
+
@property
|
|
738
|
+
def copyrights(self) -> Sequence[Copyright]: ...
|
|
739
|
+
@property
|
|
740
|
+
def description(self) -> str | None: ...
|
|
741
|
+
@property
|
|
742
|
+
def html_description(self) -> str | None: ...
|
|
743
|
+
@property
|
|
744
|
+
def edition(self) -> str | None: ...
|
|
745
|
+
@property
|
|
746
|
+
def explicit(self) -> bool | None: ...
|
|
747
|
+
@property
|
|
748
|
+
def href(self) -> str | None: ...
|
|
749
|
+
@property
|
|
750
|
+
def id(self) -> str | None: ...
|
|
751
|
+
@property
|
|
752
|
+
def images(self) -> Sequence[Image]: ...
|
|
753
|
+
@property
|
|
754
|
+
def languages(self) -> Sequence[str]: ...
|
|
755
|
+
@property
|
|
756
|
+
def media_type(self) -> str | None: ...
|
|
757
|
+
@property
|
|
758
|
+
def name(self) -> str | None: ...
|
|
759
|
+
@property
|
|
760
|
+
def narrators(self) -> Sequence[Narrator]: ...
|
|
761
|
+
@property
|
|
762
|
+
def publisher(self) -> str | None: ...
|
|
763
|
+
@property
|
|
764
|
+
def type(self) -> str | None: ...
|
|
765
|
+
@property
|
|
766
|
+
def uri(self) -> str | None: ...
|
|
767
|
+
@property
|
|
768
|
+
def total_chapters(self) -> int | None: ...
|
|
769
|
+
@property
|
|
770
|
+
def external_urls(self) -> ExternalUrl | None: ...
|
|
771
|
+
@property
|
|
772
|
+
def chapters(self) -> ChapterPage | None: ...
|
|
773
|
+
|
|
774
|
+
class Chapter(SpotifyObject):
|
|
775
|
+
@property
|
|
776
|
+
def audio_preview_url(self) -> str | None: ...
|
|
777
|
+
@property
|
|
778
|
+
def available_markets(self) -> Sequence[str]: ...
|
|
779
|
+
@property
|
|
780
|
+
def chapter_number(self) -> int | None: ...
|
|
781
|
+
@property
|
|
782
|
+
def description(self) -> str | None: ...
|
|
783
|
+
@property
|
|
784
|
+
def html_description(self) -> str | None: ...
|
|
785
|
+
@property
|
|
786
|
+
def duration_ms(self) -> int | None: ...
|
|
787
|
+
@property
|
|
788
|
+
def explicit(self) -> bool | None: ...
|
|
789
|
+
@property
|
|
790
|
+
def href(self) -> str | None: ...
|
|
791
|
+
@property
|
|
792
|
+
def id(self) -> str | None: ...
|
|
793
|
+
@property
|
|
794
|
+
def images(self) -> Sequence[Image]: ...
|
|
795
|
+
@property
|
|
796
|
+
def is_playable(self) -> bool | None: ...
|
|
797
|
+
@property
|
|
798
|
+
def languages(self) -> Sequence[str]: ...
|
|
799
|
+
@property
|
|
800
|
+
def name(self) -> str | None: ...
|
|
801
|
+
@property
|
|
802
|
+
def release_date(self) -> str | None: ...
|
|
803
|
+
@property
|
|
804
|
+
def release_date_precision(self) -> str | None: ...
|
|
805
|
+
@property
|
|
806
|
+
def type(self) -> str | None: ...
|
|
807
|
+
@property
|
|
808
|
+
def uri(self) -> str | None: ...
|
|
809
|
+
@property
|
|
810
|
+
def external_urls(self) -> ExternalUrl | None: ...
|
|
811
|
+
@property
|
|
812
|
+
def resume_point(self) -> ResumePoint | None: ...
|
|
813
|
+
@property
|
|
814
|
+
def restrictions(self) -> Restriction | None: ...
|
|
815
|
+
@property
|
|
816
|
+
def audiobook(self) -> Audiobook | None: ...
|
|
817
|
+
|
|
818
|
+
class PlaylistTrack(SpotifyObject):
|
|
819
|
+
@property
|
|
820
|
+
def added_at(self) -> str | None: ...
|
|
821
|
+
@property
|
|
822
|
+
def added_by(self) -> User | None: ...
|
|
823
|
+
@property
|
|
824
|
+
def is_local(self) -> bool | None: ...
|
|
825
|
+
@property
|
|
826
|
+
def item(self) -> SpotifyObject | None: ...
|
|
827
|
+
|
|
828
|
+
class Playlist(SpotifyObject):
|
|
829
|
+
@property
|
|
830
|
+
def collaborative(self) -> bool | None: ...
|
|
831
|
+
@property
|
|
832
|
+
def description(self) -> str | None: ...
|
|
833
|
+
@property
|
|
834
|
+
def href(self) -> str | None: ...
|
|
835
|
+
@property
|
|
836
|
+
def id(self) -> str | None: ...
|
|
837
|
+
@property
|
|
838
|
+
def name(self) -> str | None: ...
|
|
839
|
+
@property
|
|
840
|
+
def public(self) -> bool | None: ...
|
|
841
|
+
@property
|
|
842
|
+
def snapshot_id(self) -> str | None: ...
|
|
843
|
+
@property
|
|
844
|
+
def type(self) -> str | None: ...
|
|
845
|
+
@property
|
|
846
|
+
def uri(self) -> str | None: ...
|
|
847
|
+
@property
|
|
848
|
+
def external_urls(self) -> ExternalUrl | None: ...
|
|
849
|
+
@property
|
|
850
|
+
def images(self) -> Sequence[Image]: ...
|
|
851
|
+
@property
|
|
852
|
+
def owner(self) -> User | None: ...
|
|
853
|
+
@property
|
|
854
|
+
def items(self) -> PlaylistTrackPage | LazyPageRef: ...
|