تخطَّ إلى المحتوى
TakoAPI
العودة إلى المهارات

xapi123123

بواسطة glacier-luo

PDF & Documents
1.1kالتنزيلات وفق ما يذكره clawskills.sh
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

شغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.

الروابط