-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
.env.example
84 lines (70 loc) · 2.59 KB
/
.env.example
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
# ----------------------------------------------
# REQUIRED ENV
# ----------------------------------------------
# Found at https://developer.spotify.com/dashboard/
# Create new App and Copy/Past this info into .env. REDIRECT must match. Use localhost if you're unsure
# Description: Client ID for Spotify API
# Type: String
SPOTIPY_CLIENT=
# Description: Secret Client ID for Spotify API
# Type: String
SPOTIPY_SECRET_CLIENT=
# Description: Redirect URI for Spotify API
# Type: String
SPOTIPY_REDIRECT="http://localhost:8888/callback/"
# Description: Spotify username
# Type: String
USERNAME=
# ----------------------------------------------
# OPTIONAL ENV
# ----------------------------------------------
# Description: Boolean value indicating whether to create a public playlist
# Type: Boolean
# Default: True
# Values: True | False
PUBLIC_PLAYLIST=True
# Description: Boolean value indicating whether to keep flask server alive
# Type: Boolean
# Default: False
# Values: True | False
KEEP_ALIVE=False
# Description: Boolean value indicating whether to generate recommendations (tracks playlist and artists recommendations)
# Type: Boolean
# Default: False
# Values: True | False
RECCOMENDATIONS=False
# Description: Time interval for updating the playlist/top tracks and artists
# Type: Integer
# Default: 360
MINUTES=360
# Description: URLs for apprise alert notifications
# Type: String
APPRISE_ALERTS=
# Sets the timezone for the bot
# Default: 'America/New_York'
# Values: Any valid IANA timezone (https://www.iana.org/time-zones)
TZ='America/New_York'
# Description: Optional, Spotify cache file contents for `https://dashboard.render.com/` hosting
# Type: String of JSON
AUTH_CACHE='
{"access_token": "access-code-here",
"token_type": "Bearer",
"expires_in": 3600,
"refresh_token": "refresh-token-here",
"scope": "scopes here",
"expires_at": 1705357893
}'
# Description: Google Spreadsheet service account JSON key
# Type: String of JSON
GSPREAD_KEYS='{
"type": "service_account",
"project_id": "project_name-649377",
"private_key_id": "9464d4ds2da43f3gf5gd4g5f3f8k53f46785hfh6",
"private_key": "-----BEGIN PRIVATE KEY-----\{your private key here}\n-----END PRIVATE KEY-----\n",
"client_email": "project_name@project_name.iam.gserviceaccount.com",
"client_id": "YOUR CLIENT ID",
"auth_uri": "https://accounts.google.com/o/oauth2/auth",
"token_uri": "https://oauth2.googleapis.com/token",
"auth_provider_x509_cert_url": "https://www.googleapis.com/oauth2/v1/certs",
"client_x509_cert_url": "https://www.googleapis.com/robot/v1/metadata/x509/your_project_name%40your_project_name.iam.gserviceaccount.com"
}'