-
Notifications
You must be signed in to change notification settings - Fork 6
/
config.json.sample
57 lines (57 loc) · 1.42 KB
/
config.json.sample
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
{
"settings": {
"twilio": {
"id": "YOUR_ID_HERE",
"token": "YOUR_TOKEN_HERE",
"from": "+15555555555",
"to": "+15555555556"
},
"logging": {
"url": "http://dot.com",
"token": "look-a-me-im-a-token",
"client-id": "CLIENTID",
"client-secret": "CLIENTSECRET",
"enabled": true
}
},
"buttons": [
{
"name": "myName",
"id": "da:sh:bu:tt:on:id",
"action": "gong",
"slack": {
"webhook": "https://hooks.slack.com/services/SERVIXEXXX/IDOFSLACKHOOKXXXYYYYZZZZ",
"channel": "#general",
"username": "Dash-button",
"message": "From amazon dash."
},
"giphy": {
"url": "http://api.giphy.com/v1/gifs/search",
"key": "GIPHYKEYXXX",
"searchTerms": ["amazon", "dash","button","node"]
}
},
{
"name": "Post to a url",
"id": "da:sh:bu:tt:on:id",
"action": "post",
"post": {
"url": "http://site.com/to/post/to",
"auth": {
"user": "username",
"pass": "password",
"sendImmediately": false
},
"headers": {
"User-Agent": "request"
}
}
},
{
"name": "Send a text",
"id": "da:sh:bu:tt:on:id",
"action": "text",
"messages": ["Ding Dong.", "Hey, someone is at your door", "( ͡° ͜ʖ ͡°)", "o/ o_ o/ o_", "(☞゚ヮ゚)☞"]
}
]
}