forked from Chimildic/goofy
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig
More file actions
31 lines (25 loc) · 1.18 KB
/
config
File metadata and controls
31 lines (25 loc) · 1.18 KB
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
function setProperties(){
// Description of parameters: chimildic.github.io/goofy/#/guide?id=Параметры
UserProperties.setProperty('CLIENT_ID', 'Your-Value');
UserProperties.setProperty('CLIENT_SECRET', 'Your-Value');
UserProperties.setProperty('PRIVATE_CLIENT_ID', 'Your-Value');
UserProperties.setProperty('PRIVATE_CLIENT_SECRET', 'Your-Value');
UserProperties.setProperty('LASTFM_API_KEY', 'Your-Value');
UserProperties.setProperty('MUSIXMATCH_API_KEY', 'Your-Value');
UserProperties.setProperty('ON_SPOTIFY_RECENT_TRACKS', 'true');
UserProperties.setProperty('ON_LASTFM_RECENT_TRACKS', 'false');
UserProperties.setProperty('COUNT_RECENT_TRACKS', '60000');
UserProperties.setProperty('LASTFM_LOGIN', 'Your-Value');
UserProperties.setProperty('LASTFM_RANGE_RECENT_TRACKS', '30');
UserProperties.setProperty('LOG_LEVEL', 'info');
UserProperties.setProperty('LOCALE', 'AU');
UserProperties.setProperty('REQUESTS_IN_ROW', '20');
UserProperties.setProperty('MIN_DICE_RATING', '0.6005');
}
// To view current parameter values
console.log(UserProperties.getProperties());
// To reset authorization and parameters
//Admin.reset();
function resetAuth(){
Auth.reset();
}