← 返回
开发者工具 中文

Cat Fact

Random cat facts and breed information from catfact.ninja (free, no API key)
来自 catfact.ninja 的随机猫咪趣闻和品种信息(免费,无需 API 密钥)。
thesethrose thesethrose 来源
开发者工具 clawhub v1.0.2 1 版本 99962 Key: 无需
★ 1
Stars
📥 2,612
下载
💾 55
安装
1
版本
#latest

概述

Cat Fact

Random cat facts from catfact.ninja (no API key required).

Usage

# Get a random cat fact
curl -s "https://catfact.ninja/fact"

# Get a random fact (short)
curl -s "https://catfact.ninja/fact?max_length=100"

# Get cat breeds
curl -s "https://catfact.ninja/breeds?limit=5"

Programmatic (JSON)

curl -s "https://catfact.ninja/fact" | jq '.fact'

One-liner examples

# Random fact
curl -s "https://catfact.ninja/fact" --header "Accept: application/json" | jq -r '.fact'

# Multiple facts
for i in {1..3}; do curl -s "https://catfact.ninja/fact" --header "Accept: application/json" | jq -r '.fact'; done

API Endpoints

EndpointDescription
-----------------------
GET /factRandom cat fact
GET /breedsList of cat breeds

Docs: https://catfact.ninja

版本历史

共 1 个版本

  • v1.0.2 当前
    2026-03-28 13:27 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

life-service

Sonoscli

steipete
控制Sonos音箱(发现/状态/播放/音量/分组)
★ 55 📥 84,857
life-service

Weather

steipete
获取当前天气和预报(无需API密钥)
★ 452 📥 227,128
life-service

Caldav Calendar

asleep123
使用 vdirsyncer + khal 同步并查询 CalDAV 日历(iCloud、Google、Fastmail、Nextcloud 等)。适用于 Linux。
★ 242 📥 30,466