منصة المطورين
الوصول إلى بيانات نباتات PlantFYI من خلال واجهة REST API ونقاط نهاية Markdown والأدوات التفاعلية.
📖
وثائق API
واجهة Swagger التفاعلية
📋
مخطط OpenAPI
مواصفات قابلة للقراءة آلياً
🤖
llms.txt
ملخص الموقع الملائم للذكاء الاصطناعي
🌱
الأدوات
10 أدوات بستنة تفاعلية
نقاط نهاية REST API
جميع نقاط النهاية تُرجع JSON.
مُقسّم بصفحات باستخدام ?limit= و ?offset=.
استخدم ?lang=ko للحقول المترجمة.
| نقطة النهاية | الوصف |
|---|---|
/api/plants/ |
قائمة جميع أنواع النباتات |
/api/plants/{slug}/ |
تفاصيل نوع النبات |
/api/families/ |
قائمة فصائل النباتات |
/api/orders/ |
قائمة رتب النباتات |
/api/countries/ |
قائمة الدول ذات النباتات الأصلية |
/api/climate-zones/ |
قائمة المناطق المناخية |
/api/search/?q= |
البحث في جميع المحتوى |
/api/glossary/ |
مصطلحات القاموس النباتي |
/api/stats/ |
إحصائيات قاعدة البيانات |
نقاط نهاية Markdown
أضف .md إلى أي عنوان URL للصفحة للحصول على نسخة Markdown. مفيد لسياق LLM والتوثيق والوصول البرمجي.
# Plant species profile
curl https://plantfyi.com/plant/rosa-gallica.md
# Plant family
curl https://plantfyi.com/families/rosaceae.md
# Guide article
curl https://plantfyi.com/guide/companion-planting.md
# With language prefix
curl https://plantfyi.com/ko/plant/rosa-gallica.md
بداية سريعة
curl
# List plants
curl https://plantfyi.com/api/plants/
# Search
curl "https://plantfyi.com/api/search/?q=rose"
# Plant detail (Korean)
curl "https://plantfyi.com/api/plants/rosa-gallica/?lang=ko"
# Database stats
curl https://plantfyi.com/api/stats/
Python
import httpx
resp = httpx.get("https://plantfyi.com/api/plants/",
params={"limit": 10})
plants = resp.json()["results"]