-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathconst.py
29 lines (26 loc) · 843 Bytes
/
const.py
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
AWSCLIENTID = "3l3gtebtua7qft45b4splbeuiu"
URLS = {
"auth":"https://cognito-idp.us-east-1.amazonaws.com/",
"user_info":"https://api.dronemobile.com/api/v1/user",
"vehicle_info":"https://api.dronemobile.com/api/v1/vehicle?limit=",
"command":"https://accounts.dronemobile.com/api/iot/send-command"}
AVAILABLE_COMMANDS = [
'trunk',
'remote_start',
'remote_stop',
'arm',
'disarm',
'panic',
'remote_aux1',
'remote_aux2',
'location'
]
COMMAND_HEADERS = {
'x-drone-api': None,
'Content-Type': 'application/json;charset=utf-8'
}
AUTH_HEADERS = {
'X-Amz-Target': 'AWSCognitoIdentityProviderService.InitiateAuth',
'Content-Type': 'application/x-amz-json-1.1'
}
resourceDir = 'resources'