منصة المطورين
يمكنك الوصول إلى بيانات DinoFYI لعلم الحفريات من خلال واجهة REST API ونقاط نهاية Markdown والخلاصات. استكشف أنواع الديناصورات والعصور الجيولوجية والفروع التطورية ومواقع الاكتشاف.
📖
وثائق API
واجهة Swagger التفاعلية
📋
مخطط OpenAPI
مواصفات قابلة للقراءة آلياً
🤖
llms.txt
ملخص الموقع الملائم للذكاء الاصطناعي
📡
الخلاصات
خلاصات RSS و Atom
نقاط نهاية REST API
جميع نقاط النهاية تُرجع بيانات بتنسيق JSON.
مُقسّم إلى صفحات بـ ?limit= و ?offset=.
استخدم ?lang=ko للحقول المترجمة.
| نقطة النهاية | الوصف |
|---|---|
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
أضِف .md إلى أي عنوان URL للصفحة للحصول على نسخة بتنسيق Markdown. مفيد لسياق نماذج اللغة الكبيرة والتوثيق والوصول البرمجي.
# 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"]