KM.Yandex.Music.Api
1.3.3
See the version list below for details.
dotnet add package KM.Yandex.Music.Api --version 1.3.3
NuGet\Install-Package KM.Yandex.Music.Api -Version 1.3.3
<PackageReference Include="KM.Yandex.Music.Api" Version="1.3.3" />
paket add KM.Yandex.Music.Api --version 1.3.3
#r "nuget: KM.Yandex.Music.Api, 1.3.3"
// Install KM.Yandex.Music.Api as a Cake Addin #addin nuget:?package=KM.Yandex.Music.Api&version=1.3.3 // Install KM.Yandex.Music.Api as a Cake Tool #tool nuget:?package=KM.Yandex.Music.Api&version=1.3.3
Yandex.Music API (Unofficial) for .Net
Изначально было форком Yandex.Music API (Unofficial) for .Net Core, отсоединено по причине отсутствия поддержки родительского проекта и полном переписывании функционала библиотеки.
API переделано под работу с API официального приложения, подобно API Yandex Music - неофициальная Python библиотека
Функционал
Работа с API осуществляется через хранилище AuthStorage, являющееся по сути сущностью для пользователя, поэтому его необходимо передавать в вызов каждой функции.
API для удобства разделено на следующие ветки:
YandexMusicApi
│
├── Users
│ ├── Authorize / Async (AuthStorage storage, string username, string password)
│ ├── Authorize / Async (AuthStorage storage, string token)
│ ├── GetUserAuth / Async (AuthStorage storage)
│ ├── CreateAuthSession / Async (AuthStorage storage, string userName)
│ ├── GetAuthQRLink / Async (AuthStorage storage)
│ ├── AuthorizeByQR / Async (AuthStorage storage)
│ ├── GetCaptcha / Async (AuthStorage storage)
│ ├── AuthorizeByCaptcha / Async (AuthStorage storage, string captchaValue)
│ ├── GetAuthLetter / Async (AuthStorage storage)
│ ├── AuthorizeByLetter / Async (AuthStorage storage)
│ ├── AuthorizeByAppPassword / Async (AuthStorage storage, string password)
│ └── GetAccessToken / Async (AuthStorage storage)
├── Track
│ ├── Get / Async (AuthStorage storage, string trackId)
│ ├── Get / Async (AuthStorage storage, IEnumerable<string> trackIds)
│ ├── GetMetadataForDownload / Async (AuthStorage storage, string trackKey, bool direct)
│ ├── GetMetadataForDownload / Async (AuthStorage storage, YTrack track, bool direct)
│ ├── GetDownloadFileInfo / Async (AuthStorage storage, YTrackDownloadInfoResponse metadataInfo)
│ ├── GetFileLink (AuthStorage storage, string trackKey)
│ ├── GetFileLink (AuthStorage storage, YTrack track)
│ ├── ExtractToFile (AuthStorage storage, string trackKey, string filePath)
│ ├── ExtractToFile (AuthStorage storage, YTrack track, string filePath)
│ ├── ExtractData (AuthStorage storage, string trackKey)
│ ├── ExtractData (AuthStorage storage, YTrack track)
│ ├── GetSupplement / Async (AuthStorage storage, string trackId)
│ ├── GetSupplement / Async (AuthStorage storage, YTrack track)
│ ├── GetSimilar / Async (AuthStorage storage, string trackId)
│ └── GetSimilar / Async (AuthStorage storage, YTrack track)
├── Album
│ ├── Get / Async (AuthStorage storage, string albumId)
│ └── Get / Async (AuthStorage storage, IEnumerable<string> albumIds)
├── Artist
│ ├── Get / Async (AuthStorage storage, string artistId)
│ └── Get / Async (AuthStorage storage, IEnumerable<string> artistIds)
├── Landing
│ ├── Get / Async (AuthStorage storage, params YLandingBlockType[] blocks)
│ └── Feed / Async (AuthStorage storage)
├── Playlist
│ ├── Get / Async (AuthStorage storage, string user, string kinds)
│ ├── Get / Async (AuthStorage storage, IEnumerable<(string user, string kind)> ids)
│ ├── GetPersonalPlaylists / Async (AuthStorage storage)
│ ├── Favorites / Async (AuthStorage storage)
│ ├── OfTheDay / Async (AuthStorage storage)
│ ├── DejaVu / Async (AuthStorage storage)
│ ├── Premiere / Async (AuthStorage storage)
│ ├── Missed / Async (AuthStorage storage)
│ ├── Alice / Async (AuthStorage storage)
│ ├── Podcasts / Async (AuthStorage storage)
│ ├── Create / Async (AuthStorage storage, string name)
│ ├── Rename / Async (AuthStorage storage, string kinds, string name)
│ ├── Rename / Async (AuthStorage storage, YPlaylist playlist, string name)
│ ├── Delete / Async (AuthStorage storage, string kinds)
│ ├── Delete / Async (AuthStorage storage, YPlaylist playlist)
│ ├── InsertTracks / Async (AuthStorage storage, YPlaylist playlist, IEnumerable<YTrack> tracks)
│ └── DeleteTrack / Async (AuthStorage storage, YPlaylist playlist, IEnumerable<YTrack> tracks)
├── Library
│ ├── GetLikedTracks / Async (AuthStorage storage)
│ ├── GetLikedAlbums / Async (AuthStorage storage)
│ ├── GetLikedArtists / Async (AuthStorage storage)
│ ├── GetLikedPlaylists / Async (AuthStorage storage)
│ ├── GetDislikedTracks / Async (AuthStorage storage)
│ ├── AddTrackLike / Async (AuthStorage storage, YTrack track)
│ ├── RemoveTrackLike / Async (AuthStorage storage, YTrack track)
│ ├── AddTrackDislike / Async (AuthStorage storage, YTrack track)
│ ├── RemoveTrackDislike / Async (AuthStorage storage, YTrack track)
│ ├── AddAlbumLike / Async (AuthStorage storage, YAlbum album)
│ ├── RemoveAlbumLike / Async (AuthStorage storage, YAlbum album)
│ ├── AddArtistLike / Async (AuthStorage storage, YArtist artist)
│ ├── RemoveArtistLike / Async (AuthStorage storage, YArtist artist)
│ ├── AddPlaylistLike / Async(AuthStorage storage, YPlaylist playlist)
│ └── RemovePlaylistLike / Async(AuthStorage storage, YPlaylist playlist)
├── Search
│ ├── Track / Async (AuthStorage storage, string trackName, int pageNumber = 0)
│ ├── Albums / Async (AuthStorage storage, string albumName, int pageNumber = 0)
│ ├── Artist / Async (AuthStorage storage, string artistName, int pageNumber = 0)
│ ├── Playlist / Async (AuthStorage storage, string playlistName, int pageNumber = 0)
│ ├── PodcastEpisode / Async (AuthStorage storage, string podcastName, int pageNumber = 0)
│ ├── Videos / Async (AuthStorage storage, string videoName, int pageNumber = 0)
│ ├── Users / Async (AuthStorage storage, string videoName, int pageNumber = 0) *
│ ├── Search / Async (AuthStorage storage, string searchText, YSearchType searchType, int page = 0)
│ └── Suggest / Async (AuthStorage storage, string searchText)
├── Radio
│ ├── GetStationsDashboard / Async (AuthStorage storage)
│ ├── GetStations / Async (AuthStorage storage)
│ ├── GetStation / Async (AuthStorage storage, string type, string tag)
│ ├── GetStation / Async (AuthStorage storage, YStationId id)
│ ├── GetStationTracks / Async (AuthStorage storage, YStation station, string prevTrackId = "")
│ └── SetStationSettings2 / Async (AuthStorage storage, YStation station, YStationSettings2 settings)
├── Queue
│ ├── List / Async (AuthStorage storage, string device = null)
│ ├── Get / Async (AuthStorage storage, string queueId)
│ ├── Create / Async (AuthStorage storage, YQueue queue, string device = null)
│ └── UpdatePosition / Async (AuthStorage storage, string queueId, int currentIndex, bool isInteractive, string device = null)
└── Future
...
Функции, помеченные звёздочкой, вероятно, не работают или передают неверные параметры.
Отсутствует функционал радио.
LICENCE
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 is compatible. net5.0-windows was computed. net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.0
- Microsoft.AspNet.WebApi.Client (>= 5.2.9)
- Newtonsoft.Json (>= 13.0.1)
- System.Net.Http (>= 4.3.4)
- System.Net.Http.Json (>= 7.0.0)
- System.Text.Json (>= 7.0.1)
-
net5.0
- Newtonsoft.Json (>= 13.0.1)
-
net6.0
- Newtonsoft.Json (>= 13.0.1)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on KM.Yandex.Music.Api:
Package | Downloads |
---|---|
KM.Yandex.Music.Client
Client for unofficial Yandex.Music API library |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
2.0.0 | 167 | 10/5/2024 |
1.10.1 | 282 | 8/3/2024 |
1.10.0 | 216 | 5/1/2024 |
1.9.0 | 211 | 3/24/2024 |
1.8.0 | 189 | 3/3/2024 |
1.7.2 | 170 | 3/2/2024 |
1.7.1 | 183 | 2/2/2024 |
1.7.0 | 176 | 1/21/2024 |
1.6.0 | 209 | 1/7/2024 |
1.5.0 | 438 | 9/10/2023 |
1.4.2 | 241 | 8/21/2023 |
1.4.1 | 292 | 6/10/2023 |
1.4.0 | 219 | 5/12/2023 |
1.3.6 | 264 | 5/7/2023 |
1.3.5 | 268 | 5/1/2023 |
1.3.4 | 428 | 3/5/2023 |
1.3.3 | 512 | 1/26/2023 |
1.3.2 | 467 | 1/23/2023 |
1.3.1 | 468 | 1/17/2023 |
1.3.0 | 435 | 1/16/2023 |
1.2.1 | 493 | 1/11/2023 |
1.2.0 | 491 | 1/9/2023 |
1.1.1 | 516 | 12/20/2022 |
1.1.0 | 484 | 11/16/2022 |
1.0.1 | 649 | 10/17/2022 |
1.0.0 | 910 | 3/8/2022 |