雑学API

雑学API

包括的な雑学APIで無限の知識を。

概要

雑学APIで多カテゴリの面白い雑学コレクションへ即アクセス。トリビア好きも知的好奇心もコンテンツ開発者も、幅広い話題への比類ない洞察を。

主な機能

  • 多カテゴリ対応:多数カテゴリの雑学
  • ランダム取得:ひらめきを即入手
  • 構造化データ:使いやすいJSONで統合容易
  • カスタム洞察:ニーズに調整
  • 拡張ソリューション:大量リクエストを効率処理
  • 簡単統合:シンプルなRESTful設計

API利用法

シンプル第一:

# Example API Requests

GET /v1/facts/categories
GET /v1/facts/categories/{category}/random
GET /v1/facts/random

# Response Structure

Categories Endpoint:
[
  "Animals",
  "History",
  "Science",
  "Technology",
  "Sports",
  // ... more categories
]

Random Fact Endpoint:
{
  "text": "The shortest war in history was between Britain and Zanzibar on August 27, 1896, and lasted only 38 minutes.",
  "category": "History"
}

Random Fact Endpoint:
{
  "text": "The longest word in the English language, according to the Oxford English Dictionary, is pneumonoultramicroscopicsilicovolcanoconiosis, a lung disease caused by inhaling very fine particles of silica.",
  "category": "Health and Fitness"
}

なぜこのAPIか

  • 完全なDB:多話題の面白い雑学
  • 柔軟な取得:カテゴリ・ランダム・混合
  • リアルタイム更新:常に新しい雑学
  • 拡張ソリューション:大量リクエストを効率処理
  • 教育フォーカス:学習アプリ・トリビア・独学に最適