360 Secure SkillHub
360 安全技能中心

Teachable

调用 Teachable REST API 管理课程、讲座、用户、选课、优惠券与 Webhook,支持列表、创建、更新、删除,默认输出 JSON,可用 --human 显示。需 TEACHABLE_API_KEY,仅用 Python 标准库;删除命令具破坏性。

分类:知识
aiwithabidi
aiwithabidi
热度 0.19
最近更新 2026-05-10 17:41:38

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add aiwithabidi/teachable
兼容性
通用兼容
联网要求
需要联网
数据出网
必须出网
Metadata
name
teachable
description
Teachable — manage courses, users, enrollments, and coupons via REST API
homepage
https://www.agxntsix.ai
license
MIT
compatibility
Python 3.10+ (stdlib only — no dependencies)
metadata
{"openclaw":{"emoji":"📚","requires":{"env":["TEACHABLE_API_KEY"]},"primaryEnv":"TEACHABLE_API_KEY","homepage":"https://www.agxntsix.ai"}}

📚 Teachable

Teachable — manage courses, users, enrollments, and coupons via REST API

Requirements

Variable Required Description
TEACHABLE_API_KEY ✅ API key from school admin settings

Quick Start

# List courses
python3 {{baseDir}}/scripts/teachable.py courses --page <value>

# Get course
python3 {{baseDir}}/scripts/teachable.py course-get id <value>

# Create course
python3 {{baseDir}}/scripts/teachable.py course-create --name <value> --heading <value>

# Update course
python3 {{baseDir}}/scripts/teachable.py course-update id <value> --name <value>

# Delete course
python3 {{baseDir}}/scripts/teachable.py course-delete id <value>

# List lectures
python3 {{baseDir}}/scripts/teachable.py lectures id <value>

# List users
python3 {{baseDir}}/scripts/teachable.py users --page <value> --email <value>

# Get user
python3 {{baseDir}}/scripts/teachable.py user-get id <value>

All Commands

Command Description
courses List courses
course-get Get course
course-create Create course
course-update Update course
course-delete Delete course
lectures List lectures
users List users
user-get Get user
user-create Create user
enrollments List enrollments
enroll Enroll user
unenroll Unenroll
coupons List coupons
coupon-create Create coupon
webhooks List webhooks

Output Format

All commands output JSON by default. Add --human for readable formatted output.

python3 {{baseDir}}/scripts/teachable.py <command> --human

Script Reference

Script Description
{{baseDir}}/scripts/teachable.py Main CLI — all commands in one tool

Credits

Built by M. Abidi | agxntsix.ai YouTube | GitHub Part of the AgxntSix Skill Suite for OpenClaw agents.

📅 Need help setting up OpenClaw for your business? Book a free consultation