Example #1
0
    def __init__(self):
        """
            First it looks for and initializes APIs in the "api_library" folder.
            Then it prompts the user to log in.
            Next it verifies that the user's .yml file is configured for each API.
            If an API's required configuration variables are not found, the API is disabled.
            Next it finds and loads modules in the "modules" folder.
            Lastly, it initializes the STT engine.

            Use "from athena.apis import api_lib" & "api_lib['(api_name_key)']"
            to access instances of APIs.
        """
        apis.find_apis()
        self.login()
        
        apis.verify_apis(self.user)
        apis.list_apis()
        
        self.find_mods()
        self.list_mods()
        
        self.greet()
        stt.init()
        
        self.quit_flag = False
Example #2
0
    def __init__(self):
        """
            First it looks for and initializes APIs in the "api_library" folder.
            Then it prompts the user to log in.
            Next it verifies that the user's .yml file is configured for each API.
            If an API's required configuration variables are not found, the API is disabled.
            Next it finds and loads modules in the "modules" folder.
            Lastly, it initializes the STT engine.

            Use "from athena.apis import api_lib" & "api_lib['(api_name_key)']"
            to access instances of APIs.
        """
        apis.find_apis()
        self.login()
        
        apis.verify_apis(self.user)
        apis.list_apis()
        
        self.find_mods()
        self.list_mods()
        
        self.greet()
        stt.init()
        
        self.quit_flag = False
Example #3
0
    def __init__(self):
        apis.find_apis()
        apis.list_apis()

        mods.find_mods()
        mods.list_mods()