Skip to content

Instantly share code, notes, and snippets.

View Anjani11's full-sized avatar

KATAKAM ANJANI AKANKSHA Anjani11

View GitHub Profile
@Anjani11
Anjani11 / Alexa based virtual iot lamp
Created February 3, 2023 16:34
Alexa_iot_lamp.py
# -*- coding: utf-8 -*-
# This sample demonstrates handling intents from an Alexa skill using the Alexa Skills Kit SDK for Python.
# Please visit https://alexa.design/cookbook for additional examples on implementing slots, dialog management,
# session persistence, api calls, and more.
# This sample is built using the handler classes approach in skill builder.
import logging
import ask_sdk_core.utils as ask_utils
from ask_sdk_core.skill_builder import SkillBuilder