360 Secure SkillHub
360 安全技能中心

Easypost

该 Skill 提供 Python 命令行脚本,通过 EasyPost API 创建运单、列出与比较费率、购买面单、创建和查询跟踪器、验证地址、投保、退款及创建退货运单。所有命令以 JSON 输出,需要 EASYPOST_API_KEY,脚本仅依赖 Python 标准库。

aiwithabidi
aiwithabidi
热度 57.01
最近更新 2026-05-10 17:40:54
分类:营销依赖:代码执行 / 第三方 API应用场景:API 集成 / 自动化脚本 / 工作流 / 推荐

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add easypost
Metadata
name
easypost
description
EasyPost — shipping labels, rate comparison, package tracking, address verification, and insurance.
homepage
https://www.agxntsix.ai
license
MIT
compatibility
Python 3.10+ (stdlib only — no dependencies)
metadata
{"openclaw":{"emoji":"🚚","requires":{"env":["EASYPOST_API_KEY"]},"primaryEnv":"EASYPOST_API_KEY","homepage":"https://www.agxntsix.ai"}}

🚚 EasyPost

EasyPost — shipping labels, rate comparison, package tracking, address verification, and insurance.

Requirements

Variable Required Description
EASYPOST_API_KEY ✅ EasyPost API key

Quick Start

# Create shipment & get rates
python3 {{baseDir}}/scripts/easypost.py create-shipment --from "JSON address" --to "JSON address" --parcel "JSON"

# Get shipment details
python3 {{baseDir}}/scripts/easypost.py get-shipment <id>

# List shipments
python3 {{baseDir}}/scripts/easypost.py list-shipments --page-size "20"

# Buy label for shipment
python3 {{baseDir}}/scripts/easypost.py buy-shipment <id> --rate-id <value>

# Create a tracker
python3 {{baseDir}}/scripts/easypost.py create-tracker --tracking-code <value> --carrier <value>

# Get tracker details
python3 {{baseDir}}/scripts/easypost.py get-tracker <id>

# List trackers
python3 {{baseDir}}/scripts/easypost.py list-trackers --page-size "20"

# Verify/create address
python3 {{baseDir}}/scripts/easypost.py verify-address --street1 <value> --city <value> --state <value> --zip <value> --country "US"

# Insure a shipment
python3 {{baseDir}}/scripts/easypost.py create-insurance --shipment-id <value> --amount <value>

# Refund a label
python3 {{baseDir}}/scripts/easypost.py create-refund --carrier <value> --tracking-codes "comma-separated"

# List rates for shipment
python3 {{baseDir}}/scripts/easypost.py list-rates <id>

# Create return shipment
python3 {{baseDir}}/scripts/easypost.py create-return --from "JSON" --to "JSON" --parcel "JSON" --is-return "true"

Output Format

All commands output JSON by default.

Script Reference

Script Description
{baseDir}/scripts/easypost.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