แพลตฟอร์มนักพัฒนา
เข้าถึงข้อมูลบรรพชีวินวิทยาของ DinoFYI ผ่าน REST API, Markdown endpoints และฟีดของเรา สำรวจสายพันธุ์ไดโนเสาร์ ยุคทางธรณีวิทยา เคลด และแหล่งค้นพบ
📖
เอกสาร API
Swagger UI แบบโต้ตอบ
📋
สคีมา OpenAPI
สเปคที่เครื่องอ่านได้
🤖
llms.txt
สรุปเว็บไซต์สำหรับ AI
📡
ฟีด
ฟีด RSS และ Atom
Endpoint ของ REST API
Endpoint ทั้งหมดส่งข้อมูลกลับเป็น JSON
แบ่งหน้าด้วย ?limit= และ ?offset=.
ใช้ ?lang=ko สำหรับฟิลด์ที่แปลแล้ว
| Endpoint | คำอธิบาย |
|---|---|
GET /api/dinosaurs/ |
รายการไดโนเสาร์ (กรองได้ตามยุค เคลด อาหาร) |
GET /api/dinosaurs/{slug}/ |
รายละเอียดไดโนเสาร์ |
GET /api/periods/ |
ยุคธรณีวิทยา |
GET /api/classifications/ |
เคลดไดโนเสาร์ |
GET /api/countries/ |
ประเทศที่มีการค้นพบฟอสซิล |
GET /api/glossary/ |
คำศัพท์ในอภิธานศัพท์ |
GET /api/guides/ |
คู่มือ |
GET /api/search/?q= |
Full-text search across dinosaurs, glossary, and guides |
GET /api/stats/ |
สถิติฐานข้อมูล |
GET /api/random/ |
Random dinosaur |
GET /api/compare/?a=&b= |
Compare two dinosaurs side by side |
Markdown Endpoints
เพิ่มต่อท้าย .md ต่อท้าย URL หน้าใดก็ได้เพื่อรับเวอร์ชัน Markdown มีประโยชน์สำหรับบริบท LLM เอกสาร และการเข้าถึงแบบโปรแกรม
# Dinosaur profile
curl https://dinofyi.com/dinosaur/tyrannosaurus-rex.md
# Guide article
curl https://dinofyi.com/guide/mass-extinction-events.md
# With language prefix
curl https://dinofyi.com/ko/dinosaur/tyrannosaurus-rex.md
เริ่มต้นอย่างรวดเร็ว
curl
# List dinosaurs
curl https://dinofyi.com/api/dinosaurs/
# Search
curl "https://dinofyi.com/api/search/?q=tyrannosaurus"
# Dinosaur detail (Korean)
curl "https://dinofyi.com/api/dinosaurs/tyrannosaurus-rex/?lang=ko"
# Database stats
curl https://dinofyi.com/api/stats/
# Random dinosaur
curl https://dinofyi.com/api/random/
# Compare two dinosaurs
curl "https://dinofyi.com/api/compare/?a=tyrannosaurus-rex&b=triceratops"
Python
import httpx
resp = httpx.get("https://dinofyi.com/api/dinosaurs/",
params={"diet": "carnivore", "limit": 10})
dinosaurs = resp.json()["results"]