https://github.com/yaronzz/tidallib
Unofficial C# API for TIDAL music streaming service.
https://github.com/yaronzz/tidallib
tidal
Last synced: 11 months ago
JSON representation
Unofficial C# API for TIDAL music streaming service.
- Host: GitHub
- URL: https://github.com/yaronzz/tidallib
- Owner: yaronzz
- License: mit
- Created: 2020-08-03T17:59:26.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2023-12-13T15:46:51.000Z (over 2 years ago)
- Last Synced: 2025-08-01T05:38:03.122Z (12 months ago)
- Topics: tidal
- Language: C#
- Homepage:
- Size: 43.9 KB
- Stars: 17
- Watchers: 4
- Forks: 10
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# TidalLib
Unofficial C# API for TIDAL music streaming service.
## 🖥 Installation
OpenTidl is now available on NuGet
```
PM> Install-Package TidalLib
```
### Nightly Builds
|Download nightly builds from continuous integration: | [![Build Status][Build]][Actions]
|-------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------|
[Actions]: https://github.com/yaronzz/TidalLib/actions/workflows/continuous-integration-workflow.yml
[Build]: https://github.com/yaronzz/TidalLib/actions/workflows/continuous-integration-workflow.yml/badge.svg
## 🤖 Example
### ☑️ Login
```c#
//login by email and password
(string msg1, LoginKey key1) = await Client.Login("xxxx@xx.com", "xxxxxx");
//login by your accesstoken
(string msg2, LoginKey key2) = await Client.Login("your_accctoken");
```
### ☑️ Get Album\Track\Video\Playlist\Artist
```c#
(string msg, LoginKey key) = await Client.Login("xxxx@xx.com", "xxxxxx");
(string msg1, Album album) = await Client.GetAlbum(key, "120929182");
(string msg2, Playlist playlist) = await Client.GetPlaylist(key, "6896171c-2b4a-47bf-b044-ae3886a521d7");
(string msg3, Artist artist) = await Client.GetArtist(key, "8292198");
(string msg4, Track track) = await Client.GetTrack(key, "90521281");
(string msg5, StreamUrl stream) = await Client.GetTrackStreamUrl(key, "90521281", eAudioQuality.Master);
(string msg6, Video video) = await Client.GetVideo(key, "84094460");
(string msg7, VideoStreamUrl vstream) = await Client.GetVideStreamUrl(key, "124586613", eVideoQuality.P1080);
```