Kakao i Open Builder SDK
Project description
ikakao
Kakao i Open Builder SDK (Currently WIP)
Roadmap
Supported Components
- SimpleText
- SimpleImage
- BasicCard (Partial support)
- CommerceCard
- ListCard
- Carousel (Partial support)
- QuickReply (Partial support)
Usage Examples
Simple Text Response
import json
from ikakao.skill import Response
r = Response("Hello, Kakao i!")
print(json.dumps(r.to_dict(), indent=2))
Output:
{
"version": "2.0",
"template": {
"outputs": [
{
"simpleText": {
"text": "Hello, Kakao i!"
}
}
]
}
}
Multiple Text Response
import json
from ikakao.skill import Response
r = Response("Hello", "Kakao", "i")
print(json.dumps(r.to_dict(), indent=2))
Output:
{
"version": "2.0",
"template": {
"outputs": [
{
"simpleText": {
"text": "Hello"
}
},
{
"simpleText": {
"text": "Kakao"
}
},
{
"simpleText": {
"text": "i"
}
}
]
}
}
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
ikakao-0.0.6.tar.gz
(3.5 kB
view hashes)
Built Distribution
ikakao-0.0.6-py3-none-any.whl
(5.1 kB
view hashes)