← 返回 Skills 市场
🔌

API Ninjas

作者 OOMOL · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
27
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install oo-api-ninjas
功能描述
API Ninjas (api-ninjas.com). Use this skill for ANY API Ninjas request — searching and reading data. Whenever a task involves API Ninjas, use this skill inst...
使用说明 (SKILL.md)

API Ninjas

Operate API Ninjas through your OOMOL-connected account. This skill calls the api_ninjas connector with the oo CLI; OOMOL injects credentials server-side, so you never handle raw tokens.

Category: Developer Tools, Data & Analytics. Exposes 6 action(s).

Running an action

Assume the user has already installed the oo CLI, signed in, and connected API Ninjas. Do not run oo auth login or open the connection URL proactively — just run the action. Fall back to First-time setup only when a command actually fails with an auth or connection error.

1. Inspect the contract to get the authoritative input/output schema before building a payload:

oo connector schema "api_ninjas" --action "\x3Caction_name>"

2. Run the action with a JSON payload that matches the input schema:

oo connector run "api_ninjas" --action "\x3Caction_name>" --data '\x3Cjson>' --json
  • --data takes a JSON object string or @path/to/file.json; omit it to send {}.
  • The response is { "data": ..., "meta": { "executionId": "..." } }; the execution id lives under meta.executionId.

Each action below links to a reference file with its purpose and exact commands. Read the linked file, then fetch the live schema with oo connector schema before constructing --data.

Available actions

  • air_quality — Fetch current air quality metrics for coordinates or a city-based lookup.
  • geocode — Convert a city name into geographic coordinates and country information.
  • reverse_geocode — Resolve latitude and longitude coordinates into place metadata.
  • timezone — Fetch timezone metadata by timezone name or premium location lookup fields.
  • weather — Fetch the current weather conditions for a set of coordinates.
  • weather_forecast — Fetch forecast weather readings for a set of coordinates.

Safety

  • Read actions (get / list / search) are safe to run directly.
  • Create, update, send, or post actions change API Ninjas state — confirm the exact payload and effect with the user before running.
  • Delete or remove actions are destructive — always confirm the target and get explicit approval first.

First-time setup

These are one-time steps — do not repeat them on every call. Run a step only when a command fails for the matching reason.

  • oo: command not found — install the oo CLI (other platforms: \x3Chttps://cli.oomol.com/install-guide.md>):

    curl -fsSL https://cli.oomol.com/install.sh | bash    # macOS / Linux
    
    irm https://cli.oomol.com/install.ps1 | iex           # Windows PowerShell
    
  • Not signed in / authentication error — sign in to your OOMOL account once:

    oo auth login
    
  • scope_missing / credential_expired / app_not_ready / app_not_found — API Ninjas is not connected, or the connection expired or lacks a scope. Connect once (auth type: API key) at:

    https://console.oomol.com/app-connections?provider=api_ninjas
    
  • HTTP 402 / OOMOL_INSUFFICIENT_CREDIT — billing stop. Recharge at https://console.oomol.com/billing/token-recharge before retrying.

Resources

安全使用建议
Install only if you are comfortable using OOMOL's oo CLI and connecting an API Ninjas API key through OOMOL. Treat setup, login, billing, and connection steps as user-approved actions, and use the skill only for the documented read-style API Ninjas lookups unless you review any live schema carefully first.
能力标签
requires-sensitive-credentials
能力评估
Purpose & Capability
The stated purpose is to use API Ninjas through OOMOL's oo CLI for weather, forecast, air quality, geocode, reverse geocode, and timezone lookups; the documented actions are read-oriented and coherent with that purpose.
Instruction Scope
The frontmatter says to use the skill for any API Ninjas request, which is broader than the six documented actions, but the body clearly lists supported actions and instructs schema inspection before constructing payloads.
Install Mechanism
First-time setup includes disclosed CLI installation, OOMOL login, connection, and billing links, and it explicitly says not to run auth or connection steps proactively; these should remain user-directed.
Credentials
The allowed tool scope is limited to Bash commands beginning with oo, matching the connector workflow; no executable scripts, package dependencies, or local file indexing behavior were present.
Persistence & Privilege
The skill relies on an existing OOMOL-connected account with server-side credential injection and does not request raw tokens, background persistence, privilege escalation, or local credential harvesting.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install oo-api-ninjas
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /oo-api-ninjas 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
- Initial release of the `oo-api-ninjas` skill for using API Ninjas through an OOMOL-connected account and the `oo` CLI. - Adds six read-oriented connector actions: `air_quality`, `geocode`, `reverse_geocode`, `timezone`, `weather`, and `weather_forecast`. - Supports location workflows including city-to-coordinate lookup, coordinate-to-place resolution, timezone metadata, current weather, forecasts, and air quality metrics. - Documents the standard action flow: inspect the live connector schema first, then run the matching `api_ninjas` action with JSON input. - Includes first-time setup guidance for CLI installation, OOMOL authentication, API Ninjas connection issues, expired credentials, and billing-related failures.
元数据
Slug oo-api-ninjas
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

API Ninjas 是什么?

API Ninjas (api-ninjas.com). Use this skill for ANY API Ninjas request — searching and reading data. Whenever a task involves API Ninjas, use this skill inst... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 27 次。

如何安装 API Ninjas?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install oo-api-ninjas」即可一键安装,无需额外配置。

API Ninjas 是免费的吗?

是的,API Ninjas 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

API Ninjas 支持哪些平台?

API Ninjas 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 API Ninjas?

由 OOMOL(@oomol)开发并维护,当前版本 v1.0.0。

💬 留言讨论