revenuecat

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

RevenueCat

RevenueCat

Query RevenueCat metrics and search documentation.
查询RevenueCat指标并搜索文档。

Config

配置

Set
RC_API_KEY
environment variable, which should be a v2 secret API key.
设置
RC_API_KEY
环境变量,该变量应为v2版本的私密API密钥。

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.
调用RevenueCat API(
GET /projects
)获取您有权访问的项目信息。您的RevenueCat API密钥仅能访问单个项目。在后续API调用中使用该项目ID。

API Access

API访问

bash
{baseDir}/scripts/rc-api.sh <endpoint>
Example:
{baseDir}/scripts/rc-api.sh /projects
to list projects.
bash
{baseDir}/scripts/rc-api.sh <endpoint>
示例:
{baseDir}/scripts/rc-api.sh /projects
用于列出项目。

Local API Reference

本地API参考

Start with
{baseDir}/references/api-v2.md
for auth, pagination, and common patterns. Then load the domain file you need:
DomainFileCovers
Customers
references/customers.md
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.
首先查看
{baseDir}/references/api-v2.md
了解认证、分页和通用模式。然后加载您所需的领域文件:
领域文件路径涵盖内容
客户
references/customers.md
增删改查(CRUD)、属性、别名、权益、订阅、购买、发票、虚拟货币、操作
订阅
references/subscriptions.md
列表、详情、交易记录、取消、退款、管理URL
产品
references/products.md
增删改查(CRUD)、在商店创建、测试定价
产品套餐
references/offerings.md
产品套餐、套餐包、套餐产品
权益
references/entitlements.md
增删改查(CRUD)、关联/解绑产品
购买记录
references/purchases.md
列表、详情、退款、权益
项目
references/projects.md
项目、应用、API密钥、StoreKit配置
指标
references/metrics.md
概览指标、图表、图表选项
付费墙
references/paywalls.md
付费墙创建
集成
references/integrations.md
集成增删改查(CRUD)
虚拟货币
references/virtual-currencies.md
虚拟货币增删改查(CRUD)
错误处理
references/error-handling.md
错误处理
速率限制
references/rate-limits.md
速率限制
仅加载与当前任务相关的参考文件——无需全部加载。

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文档可访问 https://www.revenuecat.com/docs。使用https://www.revenuecat.com/docs/llms.txt 和 /sitemap.xml 作为内容导航指引。在文档URL末尾添加.md即可获取该页面的Markdown版本。