跳到正文
TakoAPI
返回技能列表

xapi123123

由 glacier-luo 提供

PDF & Documents
1.1k下载量由 clawskills.sh 提供
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

Aggregated API platform for AI agents.

描述

该技能的功能

xapi is a CLI tool for accessing real-time external data through a unified interface. It provides built-in capabilities for Twitter/X, crypto prices, web search, news, and AI text processing, plus proxied access to third-party APIs. All output is JSON, making it easy to chain with other tools.

A single CLI handles Twitter data, crypto prices, web search, and AI text tasks without separate API keys or SDKs for each service.

何时使用

  • Look up a Twitter user's profile and recent tweets
  • Check current BTC or ETH price and 24-hour change
  • Search the web or news for real-time information
  • Summarize or rewrite a block of text via AI
  • Discover and call third-party API endpoints without writing integration code

示例工作流

输入

User asks: Get the last 10 tweets from @elonmusk

智能体
  1. 1

    Run npx @xapi-to/xapi call twitter.user_by_screen_name --input '{"screen_name":"elonmusk"}' to get the numeric user_id

  2. 2

    Extract the user_id from the JSON response

  3. 3

    Run npx @xapi-to/xapi call twitter.user_tweets --input '{"user_id":"44196397","count":10}'

  4. 4

    Parse the returned JSON array of tweet objects

输出

JSON array of the 10 most recent tweets with text, timestamps, and engagement metrics

前置要求

  • XAPI_API_KEY environment variable or account registered via `npx @xapi-to/xapi register`

安装

clawhub install glacier-luo/xapi123123

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接