chore: init commit from GitHub
This commit is contained in:
73
SWAD.API/appsettings.json
Normal file
73
SWAD.API/appsettings.json
Normal file
@@ -0,0 +1,73 @@
|
||||
{
|
||||
"Logging": {
|
||||
"LogLevel": {
|
||||
"Default": "Information",
|
||||
"Microsoft.AspNetCore": "Warning"
|
||||
}
|
||||
},
|
||||
"AllowedHosts": "*",
|
||||
"APIServices": {
|
||||
"ServicesData": [
|
||||
{
|
||||
"Name": "Spotify",
|
||||
"ClientId": "INSERT CLIENTID HERE",
|
||||
"Secret": "INSERT SECRET HERE",
|
||||
"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",
|
||||
"ClientId": "INSERT CLIENTID HERE",
|
||||
"Secret": "INSERT SECRET HERE",
|
||||
"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"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user