-
Notifications
You must be signed in to change notification settings - Fork 1
/
utils.py
51 lines (42 loc) · 2.49 KB
/
utils.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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
HELP_MESSAGE = ('Annadata usage:\n'
'`@annadata soil geolocation <latitude> <longitude>`\n'
'Get realtime soil temparature and moisture for given <latitude> and <longitude> location\n'
'`@annadata soil name <city_name>`\n'
'Get realtime soil temparature and moisture for given city_name\n'
'`@annadata soil pincode <pincode>`\n'
'Get realtime soil temparature and moisture for given <pincode> location\n'
'`@annadata fire geolocation <latitude> <longitude>`\n'
'`@annadata fire name <city_name>`\n'
'`@annadata fire pincode <pincode>`\n'
'Get realtime fire threat alert for your location\n'
'`@annadata pollen geolocation <latitude> <longitude>`\n'
'`@annadata pollen name <city_name>`\n'
'`@annadata pollen pincode <pincode>`\n'
'Get realtime fire threat alert for your location\n'
'`@annadata weather geolocation <latitude> <longitude>`\n'
'`@annadata weather name <city_name>`\n'
'`@annadata weather pincode <pincode>`\n'
'Get realtime weather forecast\n'
'`@annadata watervapour geolocation <latitude> <longitude>`\n'
'`@annadata watervapour name <city_name>`\n'
'`@annadata watervapour pincode <pincode>`\n'
'Get realtime water vapour content\n'
'`@annadata air geolocation <latitude> <longitude>`\n'
'`@annadata air name <city_name>`\n'
'`@annadata air pincode <pincode>`\n'
'Get realtime air quality information\n'
'Usage examples:\n'
'* `@annadata soil geolocation 28 77`\n'
'* `@annadata soil name bengaluru`\n'
'* `@annadata soil pincode 121001`\n'
'* `@annadata fire geolocation 28 77`\n'
'* `@annadata fire name bengaluru`\n'
'* `@annadata fire pincode 121001`\n'
'* `@annadata pollen geolocation 28 77`\n'
'* `@annadata pollen name bengaluru`\n'
'* `@annadata pollen pincode 121001`\n'
'* `@annadata weather geolocation 28 77`\n'
'* `@annadata weather name bengaluru`\n'
'* `@annadata weather pincode 121001`\n'
)
QUICK_HELP = 'Enter `@annadata help` for help on using the converter.'