agentleFS
claude-office-skillsclaude-office-skills/claude-office-plugin/skills/connectors/sensortower/SKILL.md

sensortower

Skill9 starsChanged 8 months agoMITView on GitHub

SensorTower 移动应用数据连接器 — App 下载量、收入、DAU/MAU 数据

The file

Files
SKILL.md

SensorTower 移动应用数据连接器

通过 dataBridgePull() 获取移动应用下载量、收入、活跃用户等数据。

获取应用下载与收入

var resp = dataBridgePull("sensortower", "app_sales", {
  os: "ios",
  app_id: "553834731",
  countries: "US,GB",
  start_date: "2024-01-01",
  end_date: "2024-12-31",
  date_granularity: "monthly"
});
if (!resp || !resp.ok) return "获取数据失败: " + (resp ? resp.error : "网络错误");
var records = resp.data.records;
// iOS: [{date, country, appId, iphoneDownloads, ipadDownloads, totalDownloads, iphoneRevenue, ipadRevenue, totalRevenue}, ...]
// Android: [{date, country, appId, downloads, revenue}, ...]

获取活跃用户 (DAU/MAU)

var resp = dataBridgePull("sensortower", "app_active_users", {
  os: "ios",
  app_id: "553834731",
  countries: "US",
  start_date: "2024-01-01",
  end_date: "2024-12-31",
  date_granularity: "monthly",
  metric: "dau"
});
var records = resp.data.records; // [{date, country, appId, dau}, ...]

参数说明

参数说明示例
os平台"ios" 或 "android"
app_id应用 IDiOS 数字 ID: "553834731", Android 包名: "com.king.candycrushsaga"
countries国家代码"US", "US,GB,JP", "WW"(全球)
start_date开始日期"2024-01-01"
end_date结束日期"2024-12-31"
date_granularity时间粒度"daily" / "weekly" / "monthly" / "quarterly"
metric活跃用户指标"dau" / "mau"

重要规则

  • 收入单位:返回值已转为美元(API 原始返回美分,handler 已做 ÷100 处理)
  • 日期分段:API 有超时限制,handler 自动按粒度分段请求,无需手动处理
  • iOS 区分设备:iOS 数据包含 iPhone 和 iPad 分别的下载/收入,以及合计
  • 检查 resp.ok:必须检查返回状态

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.