deezer-python-gql 0.20.0__py3-none-any.whl → 0.22.1__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.
- deezer_python_gql/base_client.py +5 -1
- deezer_python_gql/generated/__init__.py +32 -0
- deezer_python_gql/generated/base_client.py +5 -1
- deezer_python_gql/generated/client.py +71 -0
- deezer_python_gql/generated/enums.py +14 -0
- deezer_python_gql/generated/input_types.py +59 -0
- deezer_python_gql/generated/move_track_in_playlist.py +21 -0
- deezer_python_gql/generated/push_queue_state.py +39 -0
- {deezer_python_gql-0.20.0.dist-info → deezer_python_gql-0.22.1.dist-info}/METADATA +7 -6
- {deezer_python_gql-0.20.0.dist-info → deezer_python_gql-0.22.1.dist-info}/RECORD +13 -11
- {deezer_python_gql-0.20.0.dist-info → deezer_python_gql-0.22.1.dist-info}/WHEEL +1 -1
- {deezer_python_gql-0.20.0.dist-info → deezer_python_gql-0.22.1.dist-info}/licenses/LICENSE +0 -0
- {deezer_python_gql-0.20.0.dist-info → deezer_python_gql-0.22.1.dist-info}/top_level.txt +0 -0
deezer_python_gql/base_client.py
CHANGED
|
@@ -11,6 +11,7 @@ from dataclasses import dataclass
|
|
|
11
11
|
from typing import TYPE_CHECKING, Any, ClassVar, Self, cast
|
|
12
12
|
|
|
13
13
|
from aiohttp import ClientSession, ClientTimeout
|
|
14
|
+
from pydantic_core import to_jsonable_python
|
|
14
15
|
from yarl import URL
|
|
15
16
|
|
|
16
17
|
if TYPE_CHECKING:
|
|
@@ -227,8 +228,11 @@ class DeezerBaseClient:
|
|
|
227
228
|
# Inline import avoids depending on generated code at module level.
|
|
228
229
|
from deezer_python_gql.generated.base_model import UnsetType # noqa: PLC0415
|
|
229
230
|
|
|
231
|
+
# input types are pydantic models, sent under their GraphQL field names
|
|
230
232
|
payload["variables"] = {
|
|
231
|
-
k:
|
|
233
|
+
k: to_jsonable_python(v, by_alias=True)
|
|
234
|
+
for k, v in variables.items()
|
|
235
|
+
if not isinstance(v, UnsetType)
|
|
232
236
|
}
|
|
233
237
|
|
|
234
238
|
session = self._get_session()
|
|
@@ -63,10 +63,12 @@ from .enums import (
|
|
|
63
63
|
AudiobookContributorRoles,
|
|
64
64
|
DiscoveryTuner,
|
|
65
65
|
DiscoveryTunerInput,
|
|
66
|
+
MediaTypeInput,
|
|
66
67
|
MusicTogetherRefreshSuggestedTracklistMoodInput,
|
|
67
68
|
MusicTogetherSuggestedTracklistMoodInput,
|
|
68
69
|
PodcastEpisodeOrder,
|
|
69
70
|
PodcastType,
|
|
71
|
+
RepeatModeInput,
|
|
70
72
|
TrackContributorRoles,
|
|
71
73
|
)
|
|
72
74
|
from .fragments import (
|
|
@@ -551,6 +553,12 @@ from .get_user_playlists import (
|
|
|
551
553
|
GetUserPlaylistsMePlaylistsEdgesNode,
|
|
552
554
|
GetUserPlaylistsMePlaylistsPageInfo,
|
|
553
555
|
)
|
|
556
|
+
from .input_types import (
|
|
557
|
+
PushQueueContextInput,
|
|
558
|
+
PushQueueMediaInput,
|
|
559
|
+
PushQueueStateClientDetailsInput,
|
|
560
|
+
PushQueueStateInput,
|
|
561
|
+
)
|
|
554
562
|
from .mark_as_not_played_podcast_episode import (
|
|
555
563
|
MarkAsNotPlayedPodcastEpisode,
|
|
556
564
|
MarkAsNotPlayedPodcastEpisodeMarkAsNotPlayedPodcastEpisode,
|
|
@@ -561,6 +569,10 @@ from .mark_as_played_podcast_episode import (
|
|
|
561
569
|
MarkAsPlayedPodcastEpisodeMarkAsPlayedPodcastEpisode,
|
|
562
570
|
MarkAsPlayedPodcastEpisodeMarkAsPlayedPodcastEpisodeBookmark,
|
|
563
571
|
)
|
|
572
|
+
from .move_track_in_playlist import (
|
|
573
|
+
MoveTrackInPlaylist,
|
|
574
|
+
MoveTrackInPlaylistMoveTrackInPlaylist,
|
|
575
|
+
)
|
|
564
576
|
from .music_together_create_group import (
|
|
565
577
|
MusicTogetherCreateGroup,
|
|
566
578
|
MusicTogetherCreateGroupMusicTogetherCreateGroupMusicTogetherCreateGroupError,
|
|
@@ -595,6 +607,13 @@ from .music_together_update_group_settings import (
|
|
|
595
607
|
MusicTogetherUpdateGroupSettingsMusicTogetherUpdateGroupSettingsMusicTogetherUpdateGroupSettingsOutput,
|
|
596
608
|
MusicTogetherUpdateGroupSettingsMusicTogetherUpdateGroupSettingsMusicTogetherUpdateGroupSettingsOutputGroup,
|
|
597
609
|
)
|
|
610
|
+
from .push_queue_state import (
|
|
611
|
+
PushQueueState,
|
|
612
|
+
PushQueueStatePushQueueStatePushQueueStateError,
|
|
613
|
+
PushQueueStatePushQueueStatePushQueueStateErrorConflict,
|
|
614
|
+
PushQueueStatePushQueueStatePushQueueStateErrorConflictCurrent,
|
|
615
|
+
PushQueueStatePushQueueStatePushQueueStateOutput,
|
|
616
|
+
)
|
|
598
617
|
from .remove_album_from_favorite import (
|
|
599
618
|
RemoveAlbumFromFavorite,
|
|
600
619
|
RemoveAlbumFromFavoriteRemoveAlbumFromFavorite,
|
|
@@ -1143,6 +1162,9 @@ __all__ = [
|
|
|
1143
1162
|
"MarkAsPlayedPodcastEpisode",
|
|
1144
1163
|
"MarkAsPlayedPodcastEpisodeMarkAsPlayedPodcastEpisode",
|
|
1145
1164
|
"MarkAsPlayedPodcastEpisodeMarkAsPlayedPodcastEpisodeBookmark",
|
|
1165
|
+
"MediaTypeInput",
|
|
1166
|
+
"MoveTrackInPlaylist",
|
|
1167
|
+
"MoveTrackInPlaylistMoveTrackInPlaylist",
|
|
1146
1168
|
"MusicTogetherCreateGroup",
|
|
1147
1169
|
"MusicTogetherCreateGroupMusicTogetherCreateGroupMusicTogetherCreateGroupError",
|
|
1148
1170
|
"MusicTogetherCreateGroupMusicTogetherCreateGroupMusicTogetherCreateGroupOutput",
|
|
@@ -1179,6 +1201,15 @@ __all__ = [
|
|
|
1179
1201
|
"PodcastFields",
|
|
1180
1202
|
"PodcastFieldsCover",
|
|
1181
1203
|
"PodcastType",
|
|
1204
|
+
"PushQueueContextInput",
|
|
1205
|
+
"PushQueueMediaInput",
|
|
1206
|
+
"PushQueueState",
|
|
1207
|
+
"PushQueueStateClientDetailsInput",
|
|
1208
|
+
"PushQueueStateInput",
|
|
1209
|
+
"PushQueueStatePushQueueStatePushQueueStateError",
|
|
1210
|
+
"PushQueueStatePushQueueStatePushQueueStateErrorConflict",
|
|
1211
|
+
"PushQueueStatePushQueueStatePushQueueStateErrorConflictCurrent",
|
|
1212
|
+
"PushQueueStatePushQueueStatePushQueueStateOutput",
|
|
1182
1213
|
"RemoveAlbumFromFavorite",
|
|
1183
1214
|
"RemoveAlbumFromFavoriteRemoveAlbumFromFavorite",
|
|
1184
1215
|
"RemoveAlbumFromFavoriteRemoveAlbumFromFavoriteAlbum",
|
|
@@ -1198,6 +1229,7 @@ __all__ = [
|
|
|
1198
1229
|
"RemoveTrackFromFavoriteRemoveTrackFromFavoriteTrack",
|
|
1199
1230
|
"RemoveTracksFromPlaylist",
|
|
1200
1231
|
"RemoveTracksFromPlaylistRemoveTracksFromPlaylist",
|
|
1232
|
+
"RepeatModeInput",
|
|
1201
1233
|
"Search",
|
|
1202
1234
|
"SearchFlows",
|
|
1203
1235
|
"SearchFlowsSearch",
|
|
@@ -13,6 +13,7 @@ from dataclasses import dataclass
|
|
|
13
13
|
from typing import TYPE_CHECKING, Any, ClassVar, Self, cast
|
|
14
14
|
|
|
15
15
|
from aiohttp import ClientSession, ClientTimeout
|
|
16
|
+
from pydantic_core import to_jsonable_python
|
|
16
17
|
from yarl import URL
|
|
17
18
|
|
|
18
19
|
if TYPE_CHECKING:
|
|
@@ -229,8 +230,11 @@ class DeezerBaseClient:
|
|
|
229
230
|
# Inline import avoids depending on generated code at module level.
|
|
230
231
|
from deezer_python_gql.generated.base_model import UnsetType # noqa: PLC0415
|
|
231
232
|
|
|
233
|
+
# input types are pydantic models, sent under their GraphQL field names
|
|
232
234
|
payload["variables"] = {
|
|
233
|
-
k:
|
|
235
|
+
k: to_jsonable_python(v, by_alias=True)
|
|
236
|
+
for k, v in variables.items()
|
|
237
|
+
if not isinstance(v, UnsetType)
|
|
234
238
|
}
|
|
235
239
|
|
|
236
240
|
session = self._get_session()
|
|
@@ -119,6 +119,7 @@ from .get_track_mix import GetTrackMix, GetTrackMixTrackMix
|
|
|
119
119
|
from .get_tracks_by_ids import GetTracksByIds, GetTracksByIdsTracksByIds
|
|
120
120
|
from .get_user_charts import GetUserCharts, GetUserChartsMe
|
|
121
121
|
from .get_user_playlists import GetUserPlaylists, GetUserPlaylistsMe
|
|
122
|
+
from .input_types import PushQueueStateInput
|
|
122
123
|
from .mark_as_not_played_podcast_episode import (
|
|
123
124
|
MarkAsNotPlayedPodcastEpisode,
|
|
124
125
|
MarkAsNotPlayedPodcastEpisodeMarkAsNotPlayedPodcastEpisode,
|
|
@@ -127,6 +128,10 @@ from .mark_as_played_podcast_episode import (
|
|
|
127
128
|
MarkAsPlayedPodcastEpisode,
|
|
128
129
|
MarkAsPlayedPodcastEpisodeMarkAsPlayedPodcastEpisode,
|
|
129
130
|
)
|
|
131
|
+
from .move_track_in_playlist import (
|
|
132
|
+
MoveTrackInPlaylist,
|
|
133
|
+
MoveTrackInPlaylistMoveTrackInPlaylist,
|
|
134
|
+
)
|
|
130
135
|
from .music_together_create_group import (
|
|
131
136
|
MusicTogetherCreateGroup,
|
|
132
137
|
MusicTogetherCreateGroupMusicTogetherCreateGroupMusicTogetherCreateGroupError,
|
|
@@ -156,6 +161,11 @@ from .music_together_update_group_settings import (
|
|
|
156
161
|
MusicTogetherUpdateGroupSettingsMusicTogetherUpdateGroupSettingsMusicTogetherUpdateGroupSettingsError,
|
|
157
162
|
MusicTogetherUpdateGroupSettingsMusicTogetherUpdateGroupSettingsMusicTogetherUpdateGroupSettingsOutput,
|
|
158
163
|
)
|
|
164
|
+
from .push_queue_state import (
|
|
165
|
+
PushQueueState,
|
|
166
|
+
PushQueueStatePushQueueStatePushQueueStateError,
|
|
167
|
+
PushQueueStatePushQueueStatePushQueueStateOutput,
|
|
168
|
+
)
|
|
159
169
|
from .remove_album_from_favorite import (
|
|
160
170
|
RemoveAlbumFromFavorite,
|
|
161
171
|
RemoveAlbumFromFavoriteRemoveAlbumFromFavorite,
|
|
@@ -4435,6 +4445,67 @@ class DeezerGQLClient(DeezerBaseClient):
|
|
|
4435
4445
|
data = self.get_data(response)
|
|
4436
4446
|
return RemoveTracksFromPlaylist.model_validate(data).remove_tracks_from_playlist
|
|
4437
4447
|
|
|
4448
|
+
async def move_track_in_playlist(
|
|
4449
|
+
self,
|
|
4450
|
+
playlist_id: str,
|
|
4451
|
+
track_id: str,
|
|
4452
|
+
after_track_id: Union[Optional[str], UnsetType] = UNSET,
|
|
4453
|
+
**kwargs: Any,
|
|
4454
|
+
) -> MoveTrackInPlaylistMoveTrackInPlaylist:
|
|
4455
|
+
query = gql("""
|
|
4456
|
+
mutation MoveTrackInPlaylist($playlistId: String!, $trackId: String!, $afterTrackId: String) {
|
|
4457
|
+
moveTrackInPlaylist(
|
|
4458
|
+
input: {playlistId: $playlistId, trackId: $trackId, afterTrackId: $afterTrackId}
|
|
4459
|
+
) {
|
|
4460
|
+
moveStatus
|
|
4461
|
+
}
|
|
4462
|
+
}
|
|
4463
|
+
""")
|
|
4464
|
+
variables: dict[str, object] = {
|
|
4465
|
+
"playlistId": playlist_id,
|
|
4466
|
+
"trackId": track_id,
|
|
4467
|
+
"afterTrackId": after_track_id,
|
|
4468
|
+
}
|
|
4469
|
+
response = await self.execute(
|
|
4470
|
+
query=query,
|
|
4471
|
+
operation_name="MoveTrackInPlaylist",
|
|
4472
|
+
variables=variables,
|
|
4473
|
+
**kwargs,
|
|
4474
|
+
)
|
|
4475
|
+
data = self.get_data(response)
|
|
4476
|
+
return MoveTrackInPlaylist.model_validate(data).move_track_in_playlist
|
|
4477
|
+
|
|
4478
|
+
async def push_queue_state(
|
|
4479
|
+
self, input: PushQueueStateInput, **kwargs: Any
|
|
4480
|
+
) -> Union[
|
|
4481
|
+
PushQueueStatePushQueueStatePushQueueStateOutput,
|
|
4482
|
+
PushQueueStatePushQueueStatePushQueueStateError,
|
|
4483
|
+
]:
|
|
4484
|
+
query = gql("""
|
|
4485
|
+
mutation PushQueueState($input: PushQueueStateInput!) {
|
|
4486
|
+
pushQueueState(input: $input) {
|
|
4487
|
+
__typename
|
|
4488
|
+
... on PushQueueStateOutput {
|
|
4489
|
+
version
|
|
4490
|
+
}
|
|
4491
|
+
... on PushQueueStateError {
|
|
4492
|
+
isBadRequest
|
|
4493
|
+
conflict {
|
|
4494
|
+
current {
|
|
4495
|
+
version
|
|
4496
|
+
}
|
|
4497
|
+
}
|
|
4498
|
+
}
|
|
4499
|
+
}
|
|
4500
|
+
}
|
|
4501
|
+
""")
|
|
4502
|
+
variables: dict[str, object] = {"input": input}
|
|
4503
|
+
response = await self.execute(
|
|
4504
|
+
query=query, operation_name="PushQueueState", variables=variables, **kwargs
|
|
4505
|
+
)
|
|
4506
|
+
data = self.get_data(response)
|
|
4507
|
+
return PushQueueState.model_validate(data).push_queue_state
|
|
4508
|
+
|
|
4438
4509
|
async def ban_track_from_recommendation(
|
|
4439
4510
|
self, track_id: str, **kwargs: Any
|
|
4440
4511
|
) -> BanTrackFromRecommendationBanTrackFromRecommendation:
|
|
@@ -46,6 +46,20 @@ class PodcastEpisodeOrder(str, Enum):
|
|
|
46
46
|
LATEST = "LATEST"
|
|
47
47
|
|
|
48
48
|
|
|
49
|
+
class MediaTypeInput(str, Enum):
|
|
50
|
+
TRACK = "TRACK"
|
|
51
|
+
EPISODE = "EPISODE"
|
|
52
|
+
CHAPTER = "CHAPTER"
|
|
53
|
+
LIVE = "LIVE"
|
|
54
|
+
RAW_URL = "RAW_URL"
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
class RepeatModeInput(str, Enum):
|
|
58
|
+
NONE = "NONE"
|
|
59
|
+
ONE = "ONE"
|
|
60
|
+
ALL = "ALL"
|
|
61
|
+
|
|
62
|
+
|
|
49
63
|
class DiscoveryTuner(str, Enum):
|
|
50
64
|
DEFAULT = "DEFAULT"
|
|
51
65
|
DISCOVERY = "DISCOVERY"
|
|
@@ -1,3 +1,62 @@
|
|
|
1
1
|
# Generated by ariadne-codegen
|
|
2
2
|
# Source: schema.graphql
|
|
3
3
|
|
|
4
|
+
from typing import Optional
|
|
5
|
+
|
|
6
|
+
from pydantic import Field
|
|
7
|
+
|
|
8
|
+
from .base_model import BaseModel
|
|
9
|
+
from .enums import MediaTypeInput, RepeatModeInput
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
class PushQueueStateInput(BaseModel):
|
|
13
|
+
client_details: "PushQueueStateClientDetailsInput" = Field(alias="clientDetails")
|
|
14
|
+
"Details about the client pushing the queue state"
|
|
15
|
+
media_list: list["PushQueueMediaInput"] = Field(alias="mediaList")
|
|
16
|
+
"List of all media in the queue in playing order"
|
|
17
|
+
position: int
|
|
18
|
+
"Zero based index of the current playback position in the queue"
|
|
19
|
+
progress_ms: Optional[int] = Field(alias="progressMS", default=None)
|
|
20
|
+
"Progress in the current media in ms"
|
|
21
|
+
previous_version: Optional[str] = Field(alias="previousVersion", default=None)
|
|
22
|
+
"Previous known queue state version\nNote: Except when there is no queue state available, this version MUST be provided otherwise you'll get a conflict error"
|
|
23
|
+
queue_configuration: str = Field(alias="queueConfiguration")
|
|
24
|
+
"Queue's configuration"
|
|
25
|
+
repeat_mode: RepeatModeInput = Field(alias="repeatMode")
|
|
26
|
+
"Queue repeat mode"
|
|
27
|
+
contexts: Optional[list["PushQueueContextInput"]] = None
|
|
28
|
+
"The list of unique contexts referenced by mediaList.contextId"
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
class PushQueueMediaInput(BaseModel):
|
|
32
|
+
"""Details of media that belongs to the pushed queue"""
|
|
33
|
+
|
|
34
|
+
id: str
|
|
35
|
+
"The media id"
|
|
36
|
+
type_: MediaTypeInput = Field(alias="type")
|
|
37
|
+
"The media type"
|
|
38
|
+
context_id: Optional[str] = Field(alias="contextId", default=None)
|
|
39
|
+
'The context identifier, it should correspond to an entry in "PushQueueStateInput.contexts"\nEach media can have its own context or share multiple time the same context by using the same contextId'
|
|
40
|
+
local_queue_item_id: Optional[str] = Field(alias="localQueueItemId", default=None)
|
|
41
|
+
"Item identifier used on client side"
|
|
42
|
+
unshuffled_position: int = Field(alias="unshuffledPosition")
|
|
43
|
+
"The position within the unshuffled version of the queue"
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
class PushQueueContextInput(BaseModel):
|
|
47
|
+
id: str
|
|
48
|
+
"Context identifier"
|
|
49
|
+
content: str
|
|
50
|
+
"The context content itself"
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
class PushQueueStateClientDetailsInput(BaseModel):
|
|
54
|
+
"""Details about the client that wants to push the queue state"""
|
|
55
|
+
|
|
56
|
+
local_queue_id: str = Field(alias="localQueueID")
|
|
57
|
+
"Identifier of the client's local queue, doesn't necessarily match a real queue id"
|
|
58
|
+
locally_updated_at: str = Field(alias="locallyUpdatedAt")
|
|
59
|
+
"Date in ISO-8601 format including milliseconds when update was made on client"
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
PushQueueStateInput.model_rebuild()
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# Generated by ariadne-codegen
|
|
2
|
+
# Source: queries
|
|
3
|
+
|
|
4
|
+
from typing import Optional
|
|
5
|
+
|
|
6
|
+
from pydantic import Field
|
|
7
|
+
|
|
8
|
+
from .base_model import BaseModel
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
class MoveTrackInPlaylist(BaseModel):
|
|
12
|
+
move_track_in_playlist: "MoveTrackInPlaylistMoveTrackInPlaylist" = Field(
|
|
13
|
+
alias="moveTrackInPlaylist"
|
|
14
|
+
)
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
class MoveTrackInPlaylistMoveTrackInPlaylist(BaseModel):
|
|
18
|
+
move_status: Optional[bool] = Field(alias="moveStatus")
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
MoveTrackInPlaylist.model_rebuild()
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
# Generated by ariadne-codegen
|
|
2
|
+
# Source: queries
|
|
3
|
+
|
|
4
|
+
from typing import Literal, Optional, Union
|
|
5
|
+
|
|
6
|
+
from pydantic import Field
|
|
7
|
+
|
|
8
|
+
from .base_model import BaseModel
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
class PushQueueState(BaseModel):
|
|
12
|
+
push_queue_state: Union[
|
|
13
|
+
"PushQueueStatePushQueueStatePushQueueStateOutput",
|
|
14
|
+
"PushQueueStatePushQueueStatePushQueueStateError",
|
|
15
|
+
] = Field(alias="pushQueueState", discriminator="typename__")
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
class PushQueueStatePushQueueStatePushQueueStateOutput(BaseModel):
|
|
19
|
+
typename__: Literal["PushQueueStateOutput"] = Field(alias="__typename")
|
|
20
|
+
version: str
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
class PushQueueStatePushQueueStatePushQueueStateError(BaseModel):
|
|
24
|
+
typename__: Literal["PushQueueStateError"] = Field(alias="__typename")
|
|
25
|
+
is_bad_request: bool = Field(alias="isBadRequest")
|
|
26
|
+
conflict: Optional["PushQueueStatePushQueueStatePushQueueStateErrorConflict"]
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
class PushQueueStatePushQueueStatePushQueueStateErrorConflict(BaseModel):
|
|
30
|
+
current: Optional["PushQueueStatePushQueueStatePushQueueStateErrorConflictCurrent"]
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
class PushQueueStatePushQueueStatePushQueueStateErrorConflictCurrent(BaseModel):
|
|
34
|
+
version: str
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
PushQueueState.model_rebuild()
|
|
38
|
+
PushQueueStatePushQueueStatePushQueueStateError.model_rebuild()
|
|
39
|
+
PushQueueStatePushQueueStatePushQueueStateErrorConflict.model_rebuild()
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: deezer-python-gql
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.22.1
|
|
4
4
|
Summary: Async typed Python client for Deezer's Pipe GraphQL API.
|
|
5
5
|
Author-email: Julian Daberkow <jdaberkow@users.noreply.github.com>
|
|
6
6
|
License: Apache-2.0
|
|
@@ -16,13 +16,13 @@ Requires-Dist: pydantic>=2.0.0
|
|
|
16
16
|
Requires-Dist: yarl>=1.22.0
|
|
17
17
|
Provides-Extra: test
|
|
18
18
|
Requires-Dist: codespell==2.4.3; extra == "test"
|
|
19
|
-
Requires-Dist: mypy==2.
|
|
20
|
-
Requires-Dist: pre-commit==4.
|
|
19
|
+
Requires-Dist: mypy==2.4.1; extra == "test"
|
|
20
|
+
Requires-Dist: pre-commit==4.7.0; extra == "test"
|
|
21
21
|
Requires-Dist: pre-commit-hooks==6.0.0; extra == "test"
|
|
22
|
-
Requires-Dist: pytest==9.
|
|
23
|
-
Requires-Dist: pytest-asyncio==1.4.
|
|
22
|
+
Requires-Dist: pytest==9.2.0; extra == "test"
|
|
23
|
+
Requires-Dist: pytest-asyncio==1.4.1.post1; extra == "test"
|
|
24
24
|
Requires-Dist: pytest-cov==7.1.0; extra == "test"
|
|
25
|
-
Requires-Dist: ruff==0.
|
|
25
|
+
Requires-Dist: ruff==0.17.3; extra == "test"
|
|
26
26
|
Provides-Extra: dev
|
|
27
27
|
Requires-Dist: ariadne-codegen[subscriptions]; extra == "dev"
|
|
28
28
|
Dynamic: license-file
|
|
@@ -191,6 +191,7 @@ Keep a track or artist out of the user's recommendations (Flow, mixes).
|
|
|
191
191
|
| `delete_playlist(playlist_id)` | Delete a playlist |
|
|
192
192
|
| `add_tracks_to_playlist(playlist_id, track_ids)` | Add tracks to a playlist |
|
|
193
193
|
| `remove_tracks_from_playlist(playlist_id, ...)` | Remove tracks from a playlist |
|
|
194
|
+
| `move_track_in_playlist(playlist_id, ...)` | Move a track behind another one or to the top |
|
|
194
195
|
|
|
195
196
|
### Podcast Episode Management
|
|
196
197
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
deezer_python_gql/__init__.py,sha256=kwp838G6q8HnV_R0B0zWRBagYXt0rqfXY1IsyX8XDIo,641
|
|
2
|
-
deezer_python_gql/base_client.py,sha256=
|
|
2
|
+
deezer_python_gql/base_client.py,sha256=svORNU2V9yhDG3osy0Iaa4ry6Hi8rsNDP-mRdpa7fzg,18169
|
|
3
3
|
deezer_python_gql/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
4
|
-
deezer_python_gql/generated/__init__.py,sha256=
|
|
4
|
+
deezer_python_gql/generated/__init__.py,sha256=mrP8dCdKxvnlU_8liYIhovqikNQIPBhutIdquZ7SN-0,53608
|
|
5
5
|
deezer_python_gql/generated/add_album_to_favorite.py,sha256=hprfZkN_jIEl3N_zw962GAL_7XhW6odh_rBldgZ0brM,596
|
|
6
6
|
deezer_python_gql/generated/add_artist_to_favorite.py,sha256=NU2EKBf3uwBjg5qRvvZWF1GmaHlFzuoDRB1iDFUquI4,574
|
|
7
7
|
deezer_python_gql/generated/add_audiobook_to_favorite.py,sha256=dKuMxxqmPu9drwV4Ey3bl9O4eBRet_8JniLZG4wK1C8,456
|
|
@@ -11,13 +11,13 @@ deezer_python_gql/generated/add_track_to_favorite.py,sha256=EUB2jNV5XzbsqntfS6UZ
|
|
|
11
11
|
deezer_python_gql/generated/add_tracks_to_playlist.py,sha256=S_AGBUnOV_YP7zdyYpCxWIeJpBuae-r5VOH8HjDcqeM,933
|
|
12
12
|
deezer_python_gql/generated/ban_artist_from_recommendation.py,sha256=nn7FVdUCVcyfXN528SxGx13UgXx8EToOos-6NNODrU0,703
|
|
13
13
|
deezer_python_gql/generated/ban_track_from_recommendation.py,sha256=PTjl-0-bqG-49PqAZVqFpe1kk8z5WvyLMG8Gcp4XOi0,687
|
|
14
|
-
deezer_python_gql/generated/base_client.py,sha256=
|
|
14
|
+
deezer_python_gql/generated/base_client.py,sha256=NP-wgz1r5v8e6ueRXoWGq5F8JzUoZuKuhBNctr5E0ak,18201
|
|
15
15
|
deezer_python_gql/generated/base_model.py,sha256=S-phq2fzKu2Kuct1dUnbyvMPT5k7TsfqOkCf_3yZ19I,640
|
|
16
16
|
deezer_python_gql/generated/bookmark_podcast_episode.py,sha256=4j2J2lltmMLEv7aOKF8ZHSMkBTzoVNmbcrp6lLkrvo4,768
|
|
17
|
-
deezer_python_gql/generated/client.py,sha256=
|
|
17
|
+
deezer_python_gql/generated/client.py,sha256=GeLYL07D1fIZFk5jZDgSqFuGDvCL_TMMAkygDcTAjcw,150613
|
|
18
18
|
deezer_python_gql/generated/create_playlist.py,sha256=Q8pZWQ2eFIuFnl1US9trXHfFoqX_W2asJKAZqZN_Mig,534
|
|
19
19
|
deezer_python_gql/generated/delete_playlist.py,sha256=1lxExq1_46RLWCdhceRHCx-0NzWPCmM7prehZahOWmo,406
|
|
20
|
-
deezer_python_gql/generated/enums.py,sha256=
|
|
20
|
+
deezer_python_gql/generated/enums.py,sha256=PAQj0K796W2O4lim0bVw5uCv3G8EW14oDGmNmJU6zrk,1436
|
|
21
21
|
deezer_python_gql/generated/fragments.py,sha256=J9QVnFEVXprV5xkrOBm4Slo5Qc2YVJpH0SUPxTZ8AKE,8177
|
|
22
22
|
deezer_python_gql/generated/get_album.py,sha256=EKQIFdKOmlEDhtybeWgl6lbVExbnCNA-37r2CXPVevs,1574
|
|
23
23
|
deezer_python_gql/generated/get_artist.py,sha256=KKrUXF4WJDrjb9uDfHzEbGXna5fTHbfPQMwP2HJfrdo,2287
|
|
@@ -63,15 +63,17 @@ deezer_python_gql/generated/get_track_mix.py,sha256=cru5ZeyAspxCu_Nyq916EJVwEqiA
|
|
|
63
63
|
deezer_python_gql/generated/get_tracks_by_ids.py,sha256=EuTkAz02Uren0v_mFAwDwIWM7EjHpD1YBE_5f9uoR7k,407
|
|
64
64
|
deezer_python_gql/generated/get_user_charts.py,sha256=diUwIngRgqZ4_RPTks_9OcBTohYiJ8DPMlNUddIZ1lA,2287
|
|
65
65
|
deezer_python_gql/generated/get_user_playlists.py,sha256=ikM8VR_58328Nz_QVA26Got_UWXfpBd43dahRdGB6ts,966
|
|
66
|
-
deezer_python_gql/generated/input_types.py,sha256=
|
|
66
|
+
deezer_python_gql/generated/input_types.py,sha256=OBYFqMGspY-wKizOeZo1Af5GwyhoJ6kDgrBSxm-9Eew,2569
|
|
67
67
|
deezer_python_gql/generated/mark_as_not_played_podcast_episode.py,sha256=B881GZK4G1T1zzkYEOxJtRSAr2GCHeJcwY8-IKpfqC0,737
|
|
68
68
|
deezer_python_gql/generated/mark_as_played_podcast_episode.py,sha256=lXRXK3wXK8C0mqYIqCm9PoqKa_4wqb0nZ4ZFR-3W-NI,826
|
|
69
|
+
deezer_python_gql/generated/move_track_in_playlist.py,sha256=E4VIRdBCpqSNTOmmDQNq1RT_MrPp4cQ3F4yyYjEQGhY,458
|
|
69
70
|
deezer_python_gql/generated/music_together_create_group.py,sha256=hf6wkEc50hmIoO9LN-BntIBJ-op-RyNsBzCyP1igpmU,1619
|
|
70
71
|
deezer_python_gql/generated/music_together_generate_group_name.py,sha256=Q_wLjxvbCNsxHN3cLcXZrQx26oRjU2776rkB4QQ24Lo,472
|
|
71
72
|
deezer_python_gql/generated/music_together_join_group.py,sha256=leKtZVi-9CVIsDRK_44VrH8Otc8WpkEEQfgropRJB1g,1345
|
|
72
73
|
deezer_python_gql/generated/music_together_leave_group.py,sha256=A59vIIi_4mr1zdOxYsLWlGBrSpDxURo36GpsBAj0odI,1315
|
|
73
74
|
deezer_python_gql/generated/music_together_refresh_suggested_tracklist.py,sha256=KH_9PbRBdaQWGsbrLGZPBaF0_UwV2vsWuIxPsySjxfw,1739
|
|
74
75
|
deezer_python_gql/generated/music_together_update_group_settings.py,sha256=G84MxNCMOuO6BWlc-l_cCK0VBRG5guY_uUxjGjuA2IQ,1641
|
|
76
|
+
deezer_python_gql/generated/push_queue_state.py,sha256=B0_gX1yAfIRwMMMQELRTztBMTVdKu3hgjxzBpSGpZkw,1281
|
|
75
77
|
deezer_python_gql/generated/remove_album_from_favorite.py,sha256=EXdHF5a_6PsyWg-0G3Sc8oMD1rtr_wzTLakMZMx2eBc,668
|
|
76
78
|
deezer_python_gql/generated/remove_artist_from_favorite.py,sha256=STkj-wspjZCiRJEDzkmpBDwtDd4H2VGFKerkN-B1hkY,646
|
|
77
79
|
deezer_python_gql/generated/remove_audiobook_from_favorite.py,sha256=9g_HD5RqanIdPPjBT2IzA7j4ydps8GNg8ui1iprfGWs,445
|
|
@@ -86,8 +88,8 @@ deezer_python_gql/generated/unban_artist_from_recommendation.py,sha256=mUM5zp_MI
|
|
|
86
88
|
deezer_python_gql/generated/unban_track_from_recommendation.py,sha256=idpo4keNegu5l-7I8OorOdWa8fDE7igMzW1zJRxCg9M,715
|
|
87
89
|
deezer_python_gql/generated/unbookmark_podcast_episode.py,sha256=-GjprmbpIjzyTsx9ELneKG_TAas5fsMJgFUywuGo-VM,666
|
|
88
90
|
deezer_python_gql/generated/update_playlist.py,sha256=L9w-b_8CLdsW4qwN0ZgcGuutyUhGQPRf9va1XlSwZhQ,534
|
|
89
|
-
deezer_python_gql-0.
|
|
90
|
-
deezer_python_gql-0.
|
|
91
|
-
deezer_python_gql-0.
|
|
92
|
-
deezer_python_gql-0.
|
|
93
|
-
deezer_python_gql-0.
|
|
91
|
+
deezer_python_gql-0.22.1.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
|
92
|
+
deezer_python_gql-0.22.1.dist-info/METADATA,sha256=xTVlQjNyVpJ21UIrl57FuN6kaEvQSCKAQOSGCZMw0o0,16960
|
|
93
|
+
deezer_python_gql-0.22.1.dist-info/WHEEL,sha256=mOdXR9C3wMVov7cSY8PY-XCzo3SmmWCHvGQr5csJoao,91
|
|
94
|
+
deezer_python_gql-0.22.1.dist-info/top_level.txt,sha256=Yf7lMr1RCsfdcASo4pLoZIzA5aTa-cqzUePMX-A0QOM,18
|
|
95
|
+
deezer_python_gql-0.22.1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|