返回顶部
🇺🇸 English
🇨🇳 简体中文
🇨🇳 繁體中文
🇺🇸 English
🇯🇵 日本語
🇰🇷 한국어
🇫🇷 Français
🇩🇪 Deutsch
🇪🇸 Español
🇷🇺 Русский
p

perpetua

OAuth proxy for calling external APIs (Oura, Google Calendar, etc.) via Perpetua.sh hosted API using a single API key. Use when fetching Oura data, Google Calendar events, or managing OAuth connections.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.0
安全检测
已通过
401
下载量
0
收藏
概述
安装方式
版本历史

perpetua

# Perpetua Skill (Hosted) ## Overview Use **Perpetua.sh hosted API** as the default path: - Base URL: `https://www.perpetua.sh` - API routes: `/api/*` - Auth: `Authorization: Bearer $PERPETUA_API_KEY` Load secrets with: ```bash op run --env-file="$HOME/.openclaw/secrets.env" -- <command> ``` ## Credentials Set API key via env var from any secret source (1Password, CI, `.env`, secret manager): ```bash export PERPETUA_API_KEY="<your-key>" ``` ## Core endpoints (hosted) ```bash # Connection status summary curl -s "https://www.perpetua.sh/api/status" \ -H "Authorization: Bearer $PERPETUA_API_KEY" # Active connections curl -s "https://www.perpetua.sh/api/connections" \ -H "Authorization: Bearer $PERPETUA_API_KEY" # Providers curl -s "https://www.perpetua.sh/api/providers" \ -H "Authorization: Bearer $PERPETUA_API_KEY" ``` ## Proxy call pattern ```bash GET https://www.perpetua.sh/api/proxy/:provider/:path Authorization: Bearer $PERPETUA_API_KEY ``` Optional: `?account=default` for explicit account selection. ### Oura examples > Avoid huge endpoints (`daily_activity`, detailed `sleep`) unless explicitly needed. ```bash # Daily sleep curl -s "https://www.perpetua.sh/api/proxy/oura/v2/usercollection/daily_sleep?start_date=YYYY-MM-DD&end_date=YYYY-MM-DD&account=default" \ -H "Authorization: Bearer $PERPETUA_API_KEY" | jq . # Daily readiness curl -s "https://www.perpetua.sh/api/proxy/oura/v2/usercollection/daily_readiness?start_date=YYYY-MM-DD&end_date=YYYY-MM-DD&account=default" \ -H "Authorization: Bearer $PERPETUA_API_KEY" | jq . # Workout curl -s "https://www.perpetua.sh/api/proxy/oura/v2/usercollection/workout?start_date=YYYY-MM-DD&end_date=YYYY-MM-DD&account=default" \ -H "Authorization: Bearer $PERPETUA_API_KEY" | jq . ``` ### Google Calendar examples ```bash # Upcoming primary calendar events curl -s "https://www.perpetua.sh/api/proxy/gcal/calendars/primary/events?account=default&maxResults=10&orderBy=startTime&singleEvents=true&timeMin=$(date -u +%Y-%m-%dT%H:%M:%SZ)" \ -H "Authorization: Bearer $PERPETUA_API_KEY" | jq '[.items[] | {summary, start}]' # Calendar list curl -s "https://www.perpetua.sh/api/proxy/gcal/users/me/calendarList?account=default" \ -H "Authorization: Bearer $PERPETUA_API_KEY" | jq . ``` ## Connection management (hosted) ```bash # Start OAuth flow for provider curl -s -X POST "https://www.perpetua.sh/api/auth/connect/:provider/start" \ -H "Authorization: Bearer $PERPETUA_API_KEY" \ -H "Content-Type: application/json" \ -d '{"account":"default"}' | jq .authUrl ``` ## Troubleshooting - `401` → wrong/expired API key - `403/404` on provider routes → missing connection or wrong provider/account - `5xx` → hosted service issue; retry and/or notify Daniel ## Local OSS note Local `http://localhost:3001` is for OSS development only. Default operational path in this workspace is hosted Perpetua.sh.

标签

skill ai

通过对话安装

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

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 perpetua-1776312868 技能

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

设置 SkillHub 为我的优先技能安装源,然后帮我安装 perpetua-1776312868 技能

通过命令行安装

skillhub install perpetua-1776312868

下载 Zip 包

⬇ 下载 perpetua v1.0.0

文件大小: 1.98 KB | 发布时间: 2026-4-16 18:20

v1.0.0 最新 2026-4-16 18:20
- Initial release of the Perpetua skill.
- Provides an OAuth proxy for external APIs (Oura, Google Calendar) via a single API key from Perpetua.sh.
- Documentation covers API usage, connection management, example requests, and troubleshooting.
- Hosted API at https://www.perpetua.sh is the default operational path.

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

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

p2p_official_large
返回顶部