포괄적인 잡학 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: 다주제 흥미로운 잡학
- 유연한 취득: 분야·랜덤·혼합
- 실시간 업데이트: 항상 새로운 잡학
- 확장성: 대량 효율 처리
- 교육 포커스: 학습 앱·퀴즈·독학 최적