डेवलपर प्लेटफ़ॉर्म
REST API, मार्कडाउन एंडपॉइंट और इंटरैक्टिव टूल के माध्यम से PlantFYI पौधों के डेटा तक पहुँचें।
📖
API दस्तावेज़
इंटरैक्टिव Swagger UI
📋
OpenAPI स्कीमा
मशीन-पठनीय विनिर्देश
🤖
llms.txt
AI-अनुकूल साइट सारांश
🌱
उपकरण
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/ |
डेटाबेस आँकड़े |
मार्कडाउन एंडपॉइंट
जोड़ें .md किसी भी पेज URL में जोड़ें मार्कडाउन संस्करण पाने के लिए। 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"]