RevenueCat
Query RevenueCat metrics and search documentation.
Config
Set RC_API_KEY environment variable, which should be a v2 secret API key.
Context
Query the RevenueCat API (GET /projects) to get information about the project you have access to. Your RevenueCat API key allows access to a single project. Use the project ID in subsequent API calls.
API Access
CODEBLOCK0
Example: {baseDir}/scripts/rc-api.sh /projects to list projects.
Local API Reference
Start with {baseDir}/references/api-v2.md for auth, pagination, and common patterns. Then load the domain file you need:
| Domain | File | Covers |
|---|
| Customers | INLINECODE4 | CRUD, attributes, aliases, entitlements, subscriptions, purchases, invoices, virtual currencies, actions |
| Subscriptions |
references/subscriptions.md | List, get, transactions, cancel, refund, management URL |
| Products |
references/products.md | CRUD, create in store, test prices |
| Offerings |
references/offerings.md | Offerings, packages, package products |
| Entitlements |
references/entitlements.md | CRUD, attach/detach products |
| Purchases |
references/purchases.md | List, get, refund, entitlements |
| Projects |
references/projects.md | Projects, apps, API keys, StoreKit config |
| Metrics |
references/metrics.md | Overview metrics, charts, chart options |
| Paywalls |
references/paywalls.md | Paywall creation |
| Integrations |
references/integrations.md | Integrations CRUD |
| Virtual Currencies |
references/virtual-currencies.md | Virtual currencies CRUD |
| Error Handling |
references/error-handling.md | Error handling |
| Rate Limits |
references/rate-limits.md | Rate limits |
Only load the reference file relevant to the current task — don't load them all.
Remote Documentation Search
The RevenueCat documentation is available at https://www.revenuecat.com/docs. Use https://www.revenuecat.com/docs/llms.txt and /sitemap.xml as a guide to the content that is available. Add .md to the end of a documentation URL to get the markdown version of the page.
RevenueCat
查询 RevenueCat 指标并搜索文档。
配置
设置 RCAPIKEY 环境变量,该变量应为 v2 密钥 API 密钥。
上下文
查询 RevenueCat API(GET /projects)以获取您有权访问的项目信息。您的 RevenueCat API 密钥仅允许访问单个项目。在后续 API 调用中使用项目 ID。
API 访问
bash
{baseDir}/scripts/rc-api.sh
示例:{baseDir}/scripts/rc-api.sh /projects 用于列出项目。
本地 API 参考
从 {baseDir}/references/api-v2.md 开始了解身份验证、分页和通用模式。然后加载您需要的领域文件:
| 领域 | 文件 | 涵盖内容 |
|---|
| 客户 | references/customers.md | 增删改查、属性、别名、权益、订阅、购买、发票、虚拟货币、操作 |
| 订阅 |
references/subscriptions.md | 列表、获取、交易、取消、退款、管理 URL |
| 产品 | references/products.md | 增删改查、在商店创建、测试价格 |
| 产品组合 | references/offerings.md | 产品组合、套餐、套餐产品 |
| 权益 | references/entitlements.md | 增删改查、关联/解除关联产品 |
| 购买 | references/purchases.md | 列表、获取、退款、权益 |
| 项目 | references/projects.md | 项目、应用、API 密钥、StoreKit 配置 |
| 指标 | references/metrics.md | 概览指标、图表、图表选项 |
| 付费墙 | references/paywalls.md | 付费墙创建 |
| 集成 | references/integrations.md | 集成增删改查 |
| 虚拟货币 | references/virtual-currencies.md | 虚拟货币增删改查 |
| 错误处理 | references/error-handling.md | 错误处理 |
| 速率限制 | references/rate-limits.md | 速率限制 |
仅加载与当前任务相关的参考文件——不要全部加载。
远程文档搜索
RevenueCat 文档位于 https://www.revenuecat.com/docs。使用 https://www.revenuecat.com/docs/llms.txt 和 /sitemap.xml 作为可用内容的指南。在文档 URL 末尾添加 .md 以获取页面的 Markdown 版本。