# clova-cek-sdk-python-sample **Repository Path**: mirrors_line/clova-cek-sdk-python-sample ## Basic Information - **Project Name**: clova-cek-sdk-python-sample - **Description**: Sample application that uses the Clova Python CEK SDK - **Primary Language**: Unknown - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-09-25 - **Last Updated**: 2026-03-22 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Clova Example Extension This is a simple Clova Extention to demonstrate how to use the Clova Extension SDK for python. Have a look at `home-extension.py` to see how the CEK SDK can be used. For this example the Custom Extension in the Clova-Developers Center has been setup with the following custom Intends. `TurnOn`, `TurnOff`, `HomeStatus`, `PlayASound` The `TurnOn` and `TurnOff` Intents can have Custom Slots with the names `Light` or `AirConditioner`. ## Documentation * [Clova Platform Guide](https://clova-developers.line.me/guide/) * [Clova CEK SDK Python API](https://clova-cek-sdk-python.readthedocs.io/) ## Installation ## How to Setup Environment #### Install pip: ``` sudo easy_install pip ``` #### Install Flask: ``` pip install Flask ``` #### Install CEK SDK: ``` pip install clova-cek-sdk ``` #### Run Flask server: ``` FLASK_APP=home-extension.py python3 -m flask run --host=0.0.0.0 ``` ## How to manually Test You can run the Flask server locally and use `curl` to test if the server works. #### POST ``` curl -H "Content-Type: application/json" -X POST -d @"./test/data/example_request.txt" http://localhost:5000/app ``` #### GET ``` curl -X GET http://localhost:5000/ ```