2019-05-07 06:02:21 +09:00
|
|
|
from .base import YandexMusicObject
|
2019-06-03 01:23:29 +09:00
|
|
|
|
2019-05-10 00:28:46 +09:00
|
|
|
from .invocation_info import InvocationInfo
|
2019-05-11 05:01:32 +09:00
|
|
|
from .settings import Settings
|
|
|
|
from .permission_alerts import PermissionAlerts
|
|
|
|
from .experiments import Experiments
|
2019-05-11 17:37:47 +09:00
|
|
|
from .cover import Cover
|
New supported objects: Album, CaseForms, Label, Library, MadeFor, Major, Normalization, PlayCounter, Playlist, Track, TrackPosition, TrackShort, User
The following methods are wrapped:
- albums;
- playlists/list;
- users/{user_id}/playlists/list;
- tracks;
- users/{user_id}/likes/tracks.
Added property to get full track ID
Cover received more optional fields
Ability to pass arguments to the request
Removed unnecessary type conversions
2019-05-13 02:39:12 +09:00
|
|
|
from .track_short import TrackShort
|
2019-05-16 21:45:25 +09:00
|
|
|
from .promo_code_status import PromoCodeStatus
|
2019-05-17 00:29:49 +09:00
|
|
|
from .download_info import DownloadInfo
|
2019-06-03 01:23:29 +09:00
|
|
|
from .icon import Icon
|
New supported objects: Search, Suggestions, Video, Best, AlbumSearchResult, ArtistSearchResult, PlaylistSearchResult, TrackSearchResult, VideoSearchResult,
The following methods are wrapped:
- /search
- /search/suggest
The following classes received optional fields instead of required ones: Album, Artist, Playlist, Track
Added "params" arg to the GET request
Code refactoring
2019-05-18 01:20:34 +09:00
|
|
|
|
2019-06-04 22:30:33 +09:00
|
|
|
from .status.account import Account
|
|
|
|
from .status.plus import Plus
|
|
|
|
from .status.subscription import Subscription
|
|
|
|
from .status.price import Price
|
|
|
|
from .status.product import Product
|
|
|
|
from .status.auto_renewable import AutoRenewable
|
|
|
|
from .status.passport_phone import PassportPhone
|
|
|
|
from .status.permissions import Permissions
|
|
|
|
from .status.status import Status
|
New supported objects: Search, Suggestions, Video, Best, AlbumSearchResult, ArtistSearchResult, PlaylistSearchResult, TrackSearchResult, VideoSearchResult,
The following methods are wrapped:
- /search
- /search/suggest
The following classes received optional fields instead of required ones: Album, Artist, Playlist, Track
Added "params" arg to the GET request
Code refactoring
2019-05-18 01:20:34 +09:00
|
|
|
|
2019-06-04 22:30:33 +09:00
|
|
|
from .track.major import Major
|
|
|
|
from .track.normalization import Normalization
|
|
|
|
from .track.track import Track
|
2019-06-03 01:23:29 +09:00
|
|
|
|
2019-06-04 22:30:33 +09:00
|
|
|
from .playlist.case_forms import CaseForms
|
|
|
|
from .playlist.made_for import MadeFor
|
|
|
|
from .playlist.user import User
|
|
|
|
from .playlist.play_counter import PlayCounter
|
|
|
|
from .playlist.playlist import Playlist
|
2019-06-03 01:23:29 +09:00
|
|
|
|
2019-06-04 22:30:33 +09:00
|
|
|
from .artist.link import Link
|
|
|
|
from .artist.counts import Counts
|
|
|
|
from .artist.ratings import Ratings
|
|
|
|
from .artist.artist import Artist
|
2019-06-03 01:23:29 +09:00
|
|
|
|
2019-06-04 22:30:33 +09:00
|
|
|
from .album.label import Label
|
|
|
|
from .album.track_position import TrackPosition
|
|
|
|
from .album.album import Album
|
2019-06-03 01:23:29 +09:00
|
|
|
|
2019-06-04 22:30:33 +09:00
|
|
|
from .feed.generated_playlist import GeneratedPlaylist
|
|
|
|
from .feed.album_event import AlbumEvent
|
|
|
|
from .feed.artist_event import ArtistEvent
|
|
|
|
from .feed.track_with_ads import TrackWithAds
|
|
|
|
from .feed.day import Day
|
|
|
|
from .feed.event import Event
|
|
|
|
from .feed.feed import Feed
|
New supported objects: Search, Suggestions, Video, Best, AlbumSearchResult, ArtistSearchResult, PlaylistSearchResult, TrackSearchResult, VideoSearchResult,
The following methods are wrapped:
- /search
- /search/suggest
The following classes received optional fields instead of required ones: Album, Artist, Playlist, Track
Added "params" arg to the GET request
Code refactoring
2019-05-18 01:20:34 +09:00
|
|
|
|
2019-06-04 22:30:33 +09:00
|
|
|
from .likes.albums_likes import AlbumsLikes
|
|
|
|
from .likes.artists_likes import ArtistsLikes
|
|
|
|
from .likes.playlists_likes import PlaylistsLikes
|
2019-07-06 17:09:47 +09:00
|
|
|
from .tracks_list import TracksList
|
New supported objects: Search, Suggestions, Video, Best, AlbumSearchResult, ArtistSearchResult, PlaylistSearchResult, TrackSearchResult, VideoSearchResult,
The following methods are wrapped:
- /search
- /search/suggest
The following classes received optional fields instead of required ones: Album, Artist, Playlist, Track
Added "params" arg to the GET request
Code refactoring
2019-05-18 01:20:34 +09:00
|
|
|
|
2019-06-04 22:30:33 +09:00
|
|
|
from .search.video import Video
|
|
|
|
from .search.best import Best
|
|
|
|
from .search.search import Search
|
|
|
|
from .search.suggestions import Suggestions
|
|
|
|
from .search.search_result import SearchResult
|
|
|
|
from .search.album_search_result import AlbumSearchResult
|
|
|
|
from .search.artist_search_result import ArtistSearchResult
|
|
|
|
from .search.playlist_search_result import PlaylistSearchResult
|
|
|
|
from .search.track_search_result import TrackSearchResult
|
|
|
|
from .search.video_search_result import VideoSearchResult
|
2019-05-07 06:02:21 +09:00
|
|
|
|
2019-06-04 22:30:33 +09:00
|
|
|
from .landing.chart_item import ChartItem
|
|
|
|
from .landing.play_context import PlayContext
|
|
|
|
from .landing.track_short_old import TrackShortOld
|
|
|
|
from .landing.mix_link import MixLink
|
|
|
|
from .landing.promotion import Promotion
|
|
|
|
from .landing.block_entity import BlockEntity
|
|
|
|
from .landing.landing import Landing
|
|
|
|
from .landing.block import Block
|
|
|
|
from .landing.track_id import TrackId
|
|
|
|
from .landing.chart import Chart
|
|
|
|
from .landing.play_contexts_data import PlayContextsData
|
|
|
|
from .landing.personal_playlists_data import PersonalPlaylistsData
|
New supported objects: Landing, Block, BlockEntity, Chart, ChartItem, MixLink, PersonalPlaylistsData, PlayContext, PlayContextsData, Promotion, TrackId, TrackShorOld (YEAH!)
The following method are wrapped:
- /landing3
Added the ability to download covers
The following field are optional: Playlist.tags
Now, when parsing json, the "client" key is replaced with "client_"
2019-05-25 02:10:39 +09:00
|
|
|
|
2019-06-04 22:30:33 +09:00
|
|
|
from .genre.title import Title
|
|
|
|
from .genre.images import Images
|
|
|
|
from .genre.genre import Genre
|
2019-06-01 17:23:28 +09:00
|
|
|
|
2019-06-04 22:30:33 +09:00
|
|
|
from .rotor.id import Id
|
|
|
|
from .rotor.value import Value
|
|
|
|
from .rotor.enum import Enum
|
|
|
|
from .rotor.sequence import Sequence
|
|
|
|
from .rotor.discrete_scale import DiscreteScale
|
|
|
|
from .rotor.ad_params import AdParams
|
|
|
|
from .rotor.restrictions import Restrictions
|
|
|
|
from .rotor.rotor_settings import RotorSettings
|
|
|
|
from .rotor.station import Station
|
|
|
|
from .rotor.station_tracks_result import StationTracksResult
|
|
|
|
from .rotor.station_result import StationResult
|
|
|
|
from .rotor.dashboard import Dashboard
|
New supported objects: Station, StationResult, StationTrackResult, Value, Sequence, RotorSettings, Restrictions, Id, Enum, DiscreteScale, DashBoard, AdParams
The following methods are wrapped:
- /rotor/account/status
- /rotor/stations/dashboard
- /rotor/stations/list
- /rotor/station/genre:{genre}/feedback
- /rotor/station/genre:{genre}/info
- /rotor/station/genre:{genre}/tracks
The following fields are now optional: Account[region, passport_phones], Status[cache_limit, subeditor, subeditor_level, plus], Subscription[auto_renewable, can_start_trial, mcdonalds]
Added new fields: Subscription.end, Status[skips_per_hour, station_exists, premium_region], Track..preview_duration_ms
Fixed downloading the cover of the track
2019-06-03 22:16:24 +09:00
|
|
|
|
2019-06-04 22:30:33 +09:00
|
|
|
from .client import Client
|
|
|
|
|
|
|
|
__all__ = ['YandexMusicObject', 'Client', 'Account', 'PassportPhone', 'InvocationInfo', 'Permissions', 'Plus',
|
|
|
|
'Subscription', 'Status', 'Price', 'Product', 'AutoRenewable', 'Settings', 'PermissionAlerts', 'Experiments',
|
|
|
|
'Cover', 'Ratings', 'Counts', 'Link', 'Artist', 'User', 'CaseForms', 'MadeFor', 'Label', 'Album',
|
2019-07-06 17:09:47 +09:00
|
|
|
'PlayCounter', 'Playlist', 'TrackShort', 'TracksList', 'Major', 'Normalization', 'TrackPosition', 'Track',
|
2019-06-04 22:30:33 +09:00
|
|
|
'AlbumsLikes', 'ArtistsLikes', 'PlaylistsLikes', 'GeneratedPlaylist', 'TrackWithAds', 'Day', 'ArtistEvent',
|
|
|
|
'AlbumEvent', 'Feed', 'Event', 'PromoCodeStatus', 'DownloadInfo', 'Video', 'SearchResult',
|
|
|
|
'AlbumSearchResult', 'Best', 'ArtistSearchResult', 'PlaylistSearchResult', 'TrackSearchResult',
|
|
|
|
'VideoSearchResult', 'Search', 'Suggestions', 'MixLink', 'BlockEntity', 'Block', 'PlayContextsData',
|
|
|
|
'TrackId', 'TrackShortOld', 'PersonalPlaylistsData', 'Promotion', 'Landing', 'Chart', 'ChartItem',
|
|
|
|
'PlayContext', 'Title', 'Genre', 'Icon', 'Images', 'Id', 'Station', 'Dashboard', 'RotorSettings', 'AdParams',
|
|
|
|
'Restrictions', 'Value', 'Enum', 'DiscreteScale', 'StationResult', 'Sequence', 'StationTracksResult']
|