SwapDude/SWAD.API/appsettings.json
Lisoveliy fd7a274e82
Some checks failed
Deploy / update (push) Has been cancelled
Build Project .NET / build (push) Has been cancelled
fix: fixed new tidal shit, changed accept header
2025-05-12 20:36:21 +03:00

69 lines
1.7 KiB
JSON

{
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft.AspNetCore": "Warning"
}
},
"AllowedHosts": "*",
"APIServices": {
"ServicesData": [
{
"Name": "Spotify",
"Endpoints": {
"Base": "https://open.spotify.com/",
"Api": "https://api.spotify.com/v1/",
"Token": "https://accounts.spotify.com/api/token",
"MusicLink": [
"https://play.spotify.com/track/",
"https://open.spotify.com/track/"
]
},
"APIPaths": {
"Search": "search",
"GetTrack": "tracks"
}
},
{
"Name": "Tidal",
"Endpoints": {
"Base": "https://tidal.com",
"Api": "https://openapi.tidal.com/v2/",
"Token": "https://auth.tidal.com/v1/oauth2/token",
"MusicLink": [
"https://tidal.com/track/",
"https://tidal.com/browse/track/"
]
},
"APIPaths": {
"Search": "searchresults",
"GetTrack": "tracks",
"GetArtist": "artists"
}
},
{
"Name": "Yandex",
"ClientId": "",
"Secret": "",
"Endpoints": {
"Base": "https://music.yandex.ru",
"Api": "https://music.yandex.ru",
"Token": "https://music.yandex.ru",
"MusicLink": [
"https://music.yandex.ru/track/",
"https://music.yandex.ru/album/",
"https://music.yandex.by/track/",
"https://music.yandex.by/album/"
]
},
"APIPaths": {
"Search": "handlers/suggest.jsx",
"GetTrack": "handlers/track.jsx"
}
}
]
},
"ServicesEndpoints": {
"Redis": "redis:6379"
}
}