alexapy

Submodules

Functions

  • hide_email(): Obfuscate email.

  • hide_serial(): Obfuscate serial.

  • obfuscate(): Obfuscate email, password, and other known sensitive keys.

Classes

  • AlexaLogin: Class to handle login connection to Alexa. This class will not reconnect.

  • AlexaAPI: Class for accessing a specific Alexa device using rest API.

  • AlexaProxy: Class to handle proxy login connections to Alexa.

  • WebsocketEchoClient: WebSocket Client Class for Echo Devices.

Exceptions

  • AlexapyConnectionError: Define an error related to invalid requests.

  • AlexapyLoginCloseRequested: Define an error related to requesting access to API after requested close.

  • AlexapyLoginError: Define an error related to no longer being logged in.

  • AlexapyPyotpInvalidKey: Define an error related to invalid 2FA key.