2019-05-07 06:02:21 +09:00
|
|
|
from .base import YandexMusicObject
|
2019-06-03 01:23:29 +09:00
|
|
|
|
2019-05-11 05:01:32 +09:00
|
|
|
from .settings import Settings
|
|
|
|
from .permission_alerts import PermissionAlerts
|
|
|
|
from .experiments import Experiments
|
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-11-10 03:11:43 +09:00
|
|
|
from .status.status import Status
|
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
|
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-11-10 03:11:43 +09:00
|
|
|
from .album.album import Album
|
|
|
|
from .album.label import Label
|
|
|
|
from .album.track_position import TrackPosition
|
|
|
|
from .artist.artist import Artist
|
|
|
|
from .artist.artist_tracks import ArtistTracks
|
2019-11-20 02:30:07 +09:00
|
|
|
from .artist.artist_albums import ArtistAlbums
|
2019-11-10 03:11:43 +09:00
|
|
|
from .artist.brief_info import BriefInfo
|
|
|
|
from .artist.counts import Counts
|
|
|
|
from .artist.description import Description
|
|
|
|
from .artist.link import Link
|
|
|
|
from .artist.ratings import Ratings
|
|
|
|
from .artist.vinyl import Vinyl
|
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
|
Добавлен метод получения информации об артисте (Brief Info https://github.com/MarshalX/yandex-music-api/issues/9).
Добавлены следующие классы: BriefInfo, Description, Vinyl, PlaylistId.
Класс Video вынесен из пакета Search в корень.
Добавлен de_list в Cover.
Добавлены следующие поля в класс Artist: likes_count, full_names, description, countries, en_wikipedia_link, db_aliases, aliases, init_date, end_date.
Добавлено поле track_id в класс Chart.
Добавлено поле available_full_without_permission в класс Track.
Класс Video расширен для поддержки второго типа (используется в brief info, спасибо яндух) видео (добавлены необязательные поля cover, embed_url, provider, provider_video_id).
Обновлена документация.
2019-09-13 00:32:43 +09:00
|
|
|
from .playlist.playlist_id import PlaylistId
|
2019-11-24 07:51:45 +09:00
|
|
|
from .playlist.playlist_absence import PlaylistAbsence
|
2019-06-04 22:30:33 +09:00
|
|
|
from .playlist.playlist import Playlist
|
2019-06-03 01:23:29 +09:00
|
|
|
|
2019-11-10 03:11:43 +09:00
|
|
|
from .tracks_list import TracksList
|
|
|
|
from .track.major import Major
|
|
|
|
from .track.normalization import Normalization
|
|
|
|
from .track.track import Track
|
2019-06-03 01:23:29 +09:00
|
|
|
|
2019-11-10 03:11:43 +09:00
|
|
|
from .likes.albums_likes import AlbumsLikes
|
|
|
|
from .likes.artists_likes import ArtistsLikes
|
|
|
|
from .likes.playlists_likes import PlaylistsLikes
|
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-11-10 03:11:43 +09:00
|
|
|
from .promo_code_status import PromoCodeStatus
|
|
|
|
from .download_info import DownloadInfo
|
|
|
|
from .video import Video
|
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.best import Best
|
|
|
|
from .search.search import Search
|
|
|
|
from .search.suggestions import Suggestions
|
|
|
|
from .search.search_result import SearchResult
|
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-10-17 05:10:52 +09:00
|
|
|
from .supplement.supplement import Supplement
|
|
|
|
from .supplement.lyrics import Lyrics
|
|
|
|
from .supplement.video_supplement import VideoSupplement
|
|
|
|
|
2019-11-20 02:00:58 +09:00
|
|
|
from .pager import Pager
|
2019-11-10 03:11:43 +09:00
|
|
|
from .cover import Cover
|
|
|
|
from .experiments import Experiments
|
|
|
|
from .invocation_info import InvocationInfo
|
|
|
|
from .track_short import TrackShort
|
|
|
|
from .icon import Icon
|
2019-06-04 22:30:33 +09:00
|
|
|
from .client import Client
|
|
|
|
|
2019-11-10 03:11:43 +09:00
|
|
|
|
2019-06-04 22:30:33 +09:00
|
|
|
__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',
|
2019-11-10 03:11:43 +09:00
|
|
|
'AlbumEvent', 'Feed', 'Event', 'PromoCodeStatus', 'DownloadInfo', 'Video', 'SearchResult', 'Best', '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', 'BriefInfo', 'Description', 'PlaylistId',
|
2019-11-24 07:51:45 +09:00
|
|
|
'Vinyl', 'Supplement', 'Lyrics', 'VideoSupplement', 'ArtistTracks', 'Pager', 'ArtistAlbums',
|
|
|
|
'PlaylistAbsence']
|