API Hunter

👤 terryyehai 📦 v1.0.0 ⭐ 4.5 ⬇️ 1K 下载
📊 数据分析 免费

📖 技能介绍

API Hunter Skill

功能

全自動 API 服務商獵人 - 根據功能需求搜尋免費 API

安裝

小葱技能7w4.net有更新,你可以访问看下。

# 依賴已安裝
pip install beautifulsoup4 requests

使用方式

方法 1: Python 程式碼

from api_hunter import hunt

# 搜尋天氣 API
report = hunt("weather")

# 搜尋 AI 圖片生成 API
report = hunt("AI image generation")

# 搜尋翻譯 API
report = hunt("translation")

方法 2: 命令列

cd ~/.openclaw/ai-operator/skills
python api_hunter/hunter.py "weather"

方法 3: 實例化

from api_hunter import APIHunter

hunter = APIHunter()

# 自訂搜尋
results = hunter.search("stock market data")
print(results)

# 獵取並生成報告
report = hunter.hunt("email verification")

輸出範例

## 🎯 weather API 獵人報告

### 搜尋結果

1. 🌤️ Free Open-Source Weather API | Open-Meteo.com
   URL: https://open-meteo.com/

2. Free Weather API - WeatherAPI.com
   URL: https://www.weatherapi.com/

### ✅ 無需註冊的 API

| API 名稱 | 網址 |
|----------|------|
| Open-Meteo | https://open-meteo.com/ |
| OpenWeatherMap | https://openweathermap.org/api |

已知免費 API 清單

天氣

API URL 特色
Open-Meteo https://open-meteo.com/ 無需 API Key
OpenWeatherMap https://openweathermap.org/api 免費 tier

資料

API URL 特色
JSONPlaceholder https://jsonplaceholder.typicode.com/ 測試用
Public APIs https://github.com/public-apis/public-apis 集合

AI/ML

API URL 特色
Puter.js https://developer.puter.com/ 完全免費,無需 API Key,客戶端直接調用
HuggingFace https://huggingface.co/inference-api 免費 tier
OpenAI https://platform.openai.com/ 免費 credit

圖片生成 (完全免費,無需 API Key)

Puter.js - 最強大的免費選擇:

<script src="https://js.puter.com/v2/"></script>
<script>
puter.ai.txt2img("A cute cat").then(img => {
    document.body.appendChild(img);
});
</script>

支持的模型: - GPT Image (1, 1.5, 1.5-mini) - DALL-E 2/3 - Gemini 2.5 Flash Image - Flux.1 Schnell / Pro - Stable Diffusion 3 / XL - HiDream-I1 - Qwen-Image

限制

  • 臨時郵件服務有時不穩定
  • 部分網站需要 Cloudflare 驗證
  • 建議優先使用無需註冊的 API

🤖 AI 评测

这个 Skill 质量较好,文档写得非常详细易懂,能快速上手使用。优点是使用场景说明清楚、配置验证友好、中文提示详细。不足是需要安装特定的浏览器环境才能运行,而且只适合抓取普通 AJAX 请求,复杂加密接口和实时通信接口无法处理。总体来说是一款实用且易用的工具。

📊 多维度评分

适应性4.5
规范性4.1
有效性4.6
可靠性4.6
可信度4.8

📁 包含文件 (5 个)

📄 SKILL.md 2.4 KB
📄 __init__.py 106 B
📄 _meta.json 129 B
📄 hunter.py 5.6 KB
📄 package.json 266 B