返回顶部
a

acuity-scheduling敏锐排程

|

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.2
安全检测
已通过
5,345
下载量
免费
免费
3
收藏
概述
安装方式
版本历史

acuity-scheduling

Acuity Scheduling

通过托管OAuth认证访问Acuity Scheduling API。管理预约、日历、客户、可用时间等。

快速开始

bash

列出预约


python < import urllib.request, os, json
req = urllib.request.Request(https://gateway.maton.ai/acuity-scheduling/api/v1/appointments?max=10)
req.addheader(Authorization, fBearer {os.environ[MATONAPI_KEY]})
print(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))
EOF

基础URL

https://gateway.maton.ai/acuity-scheduling/{native-api-path}

将{native-api-path}替换为实际的Acuity API端点路径。网关将请求代理到acuityscheduling.com并自动注入您的OAuth令牌。

认证

所有请求都需要在Authorization头中包含Maton API密钥:

Authorization: Bearer $MATONAPIKEY

环境变量: 将您的API密钥设置为MATONAPIKEY:

bash
export MATONAPIKEY=YOURAPIKEY

获取您的API密钥

  1. 1. 在maton.ai登录或创建账户
  2. 前往maton.ai/settings
  3. 复制您的API密钥

连接管理

在https://ctrl.maton.ai管理您的Acuity Scheduling OAuth连接。

列出连接

bash
python < import urllib.request, os, json
req = urllib.request.Request(https://ctrl.maton.ai/connections?app=acuity-scheduling&status=ACTIVE)
req.addheader(Authorization, fBearer {os.environ[MATONAPI_KEY]})
print(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))
EOF

创建连接

bash
python < import urllib.request, os, json
data = json.dumps({app: acuity-scheduling}).encode()
req = urllib.request.Request(https://ctrl.maton.ai/connections, data=data, method=POST)
req.addheader(Authorization, fBearer {os.environ[MATONAPI_KEY]})
req.add_header(Content-Type, application/json)
print(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))
EOF

获取连接

bash
python < import urllib.request, os, json
req = urllib.request.Request(https://ctrl.maton.ai/connections/{connection_id})
req.addheader(Authorization, fBearer {os.environ[MATONAPI_KEY]})
print(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))
EOF

响应:
json
{
connection: {
connection_id: 21fd90f9-5935-43cd-b6c8-bde9d915ca80,
status: ACTIVE,
creation_time: 2025-12-08T07:20:53.488460Z,
lastupdatedtime: 2026-01-31T20:03:32.593153Z,
url: https://connect.maton.ai/?session_token=...,
app: acuity-scheduling,
metadata: {}
}
}

在浏览器中打开返回的url以完成OAuth授权。

删除连接

bash
python < import urllib.request, os, json
req = urllib.request.Request(https://ctrl.maton.ai/connections/{connection_id}, method=DELETE)
req.addheader(Authorization, fBearer {os.environ[MATONAPI_KEY]})
print(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))
EOF

指定连接

如果您有多个Acuity Scheduling连接,请使用Maton-Connection头指定要使用的连接:

bash
python < import urllib.request, os, json
req = urllib.request.Request(https://gateway.maton.ai/acuity-scheduling/api/v1/appointments)
req.addheader(Authorization, fBearer {os.environ[MATONAPI_KEY]})
req.add_header(Maton-Connection, 21fd90f9-5935-43cd-b6c8-bde9d915ca80)
print(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))
EOF

如果省略,网关将使用默认(最旧)的活动连接。

API参考

账户信息

获取账户信息

bash
GET /acuity-scheduling/api/v1/me

返回账户信息,包括时区、预约页面URL和套餐详情。

响应:
json
{
id: 12345,
email: user@example.com,
timezone: America/Los_Angeles,
name: My Business,
schedulingPage: https://app.acuityscheduling.com/schedule.php?owner=12345,
plan: Professional,
currency: USD
}

预约

列出预约

bash
GET /acuity-scheduling/api/v1/appointments

查询参数:

参数类型描述
max整数最大结果数(默认:100)
minDate
日期 | 此日期及之后的预约 |
| maxDate | 日期 | 此日期及之前的预约 |
| calendarID | 整数 | 按日历筛选 |
| appointmentTypeID | 整数 | 按预约类型筛选 |
| canceled | 布尔值 | 包含已取消的预约(默认:false) |
| firstName | 字符串 | 按客户名字筛选 |
| lastName | 字符串 | 按客户姓氏筛选 |
| email | 字符串 | 按客户邮箱筛选 |
| excludeForms | 布尔值 | 省略登记表以加快响应速度 |
| direction | 字符串 | 排序顺序:ASC或DESC(默认:DESC) |

示例:
bash
python < import urllib.request, os, json
req = urllib.request.Request(https://gateway.maton.ai/acuity-scheduling/api/v1/appointments?max=10&minDate=2026-02-01)
req.addheader(Authorization, fBearer {os.environ[MATONAPI_KEY]})
print(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))
EOF

响应:
json
[
{
id: 1630290133,
firstName: Jane,
lastName: McTest,
phone: 1235550101,
email: jane.mctest@example.com,
date: February 4, 2026,
time: 9:30am,
endTime: 10:20am,
datetime: 2026-02-04T09:30:00-0800,
type: Consultation,
appointmentTypeID: 88791369,
duration: 50,
calendar: Chris,
calendarID: 13499175,
canceled: false,
confirmationPage: https://app.acuityscheduling.com/schedule.php?...
}
]

获取预约

bash
GET /acuity-scheduling/api/v1/appointments/{id}

创建预约

bash
POST /acuity-scheduling/api/v1/appointments
Content-Type: application/json

{
datetime: 2026-02-15T09:00,
appointmentTypeID: 123,
firstName: John,
lastName: Doe,
email: john.doe@example.com,
phone: 555-123-4567,
timezone: America/New_York
}

必填字段:

  • - datetime - 日期和时间(可由PHP的strtotime解析)
  • appointmentTypeID - 预约类型ID
  • firstName - 客户名字
  • lastName - 客户姓氏
  • email - 客户邮箱

可选字段:

  • - phone - 客户电话号码
  • calendarID - 特定日历(省略时自动选择)
  • timezone - 客户时区
  • certificate - 套餐或优惠券代码
  • notes - 管理员备注
  • addonIDs - 附加服务ID数组
  • fields - 表单字段值数组

示例:
bash
python < import urllib.request, os, json
data = json.dumps({
datetime: 2026-02-15T09:00,
appointmentTypeID: 123,
firstName:

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 acuity-scheduling-1776189454 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 acuity-scheduling-1776189454 技能

通过命令行安装

skillhub install acuity-scheduling-1776189454

下载

⬇ 下载 acuity-scheduling v1.0.2(免费)

文件大小: 5.78 KB | 发布时间: 2026-4-15 11:35

v1.0.2 最新 2026-4-15 11:35
- Added clawdbot metadata with an emoji and environment variable requirements to the SKILL.md.
- No functional or API changes; documentation and all other content remain unchanged.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部