-
Notifications
You must be signed in to change notification settings - Fork 4
/
task_picker.py
35 lines (25 loc) · 755 Bytes
/
task_picker.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
from modules import (
webopener,
maps,
newsReader,
system_apps,
quotation,
weather_today,
)
class TaskIdentifier:
def open_website(json_response):
webopener.open_website(json_response)
def get_directions(json_response):
maps.get_directions(json_response)
def near_me(json_response):
maps.near_me(json_response)
def locate_me(json_response):
maps.locate_me(json_response)
def read_news(json_response):
newsReader.read_news()
def sys_apps(json_response):
system_apps.open_app(json_response)
def get_quote(json_response):
quotation.quote_of_the_day()
def get_weather(json_response):
weather_today.get_weather(json_response)