-
Notifications
You must be signed in to change notification settings - Fork 0
/
deta.json
80 lines (80 loc) · 2.45 KB
/
deta.json
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
{
"name": "Crypto Price Notifier",
"description": "A Simple CRON JOB that checks price of the coin you want at every fixed interval and notifies via call by using Twilio API.",
"runtime": "micro's runtime",
"env": [
{
"key": "PROJECT_KEY",
"description": "Get a Project Key from deta.sh settings",
"value": "",
"required": true
},
{
"key": "DETABASE_NAME",
"description": "A name for the database stored in deta base. (Optional)",
"value": "CRYPTO-LOGS",
"required": false
},
{
"key": "COINNAME",
"description": "Enter the Coinname",
"value": "",
"required": true
},
{
"key": "COIN_SYMBOL_IN_BINANCE",
"description": "Enter the coin symbol. (ex: BTC for Bitcoin, ETH for Ethereum). Ensure you enter it correctly.",
"value": "",
"required": true
},
{
"key": "FIRST_PRICE",
"description": "Enter the price at which you want a first call",
"value": "0",
"required": true
},
{
"key": "SECOND_PRICE",
"description": "Enter the price at which you want a second call",
"value": "0",
"required": true
},
{
"key": "TWILIO_SID",
"description": "Enter your Twilio SID Token from your Twilio Console",
"value": "",
"required": true
},
{
"key": "TWILIO_AUTH_TOKEN",
"description": "Enter Twilio AUTH Token from your Twilio Console",
"value": "",
"required": true
},
{
"key": "TWILIO_PHONE_NUMBER",
"description": "Enter your Twilio Phone Number (with the country code)",
"value": "",
"required": true
},
{
"key": "TWILIO_FIRST_PRICE_MESSAGE",
"description": "Enter the message you want on call for your first price target",
"value": "Dear Crypto Trader, Your first price target has been reached",
"required": false
},
{
"key": "TWILIO_SECOND_PRICE_MESSAGE",
"description": "Enter the message you want on call for your second price target",
"value": "Dear Crypto Trader, Your second price target has been reached",
"required": false
},
{
"key": "PHONE_NUMBER_WITH_COUNTRY_CODE",
"description": "Enter your Mobile Number where you want to receive the call (with the country code). Please make sure this number is added to verified numbers list in your Twilio Account ",
"value": "",
"required": true
}
],
"cron": "1 minute"
}