zoko

Python SDK for Zoko API


Keywords
zoko, api, sdk, python, library
License
MIT
Install
pip install zoko==0.0.1

Documentation

zoko

A Python library for interacting with the Zoko APIs.

🚧 This project is work in progress. The library still has a lot of methods to implement.

Tests


Table of Contents

Installation

pip install zoko

Quickstart

from zoko import ZokoClient

# Initialize the client with your Zoko API key
zoko = ZokoClient(api_key='YOUR_API_KEY')

# Get all all templates
templates = zoko.account.get_all_templates()

print(templates)

Expected output:

[
  {
    "active": True,
    "channel": "whatsapp",
    "isRichTemplate": True,
    "templateDesc": "Good morning {{1}}. How may I help you today?",
    "templateId": "greeting_01",
    "templateLanguage": "en",
    "templateType": "buttonTemplate",
    "templateVariableCount": 1
  }
]

Documentation

You can find the documentation for the all the available resource and method examples here.

License

zoko is distributed under the terms of the MIT license.