डेवलपर प्लेटफॉर्म

हमारी REST API, मार्कडाउन एंडपॉइंट और फ़ीड के माध्यम से BirdFYI पक्षी विज्ञान डेटा तक पहुंचें।

REST API एंडपॉइंट

सभी एंडपॉइंट JSON लौटाते हैं। पृष्ठांकन: ?limit= और ?offset=. उपयोग करें ?lang=ko अनुवादित फ़ील्ड के लिए।

एंडपॉइंट विवरण फ़िल्टर
/birds/ List all birds
/bird/{slug}/ Bird detail
/orders/ List all taxonomic orders
/order/{slug}/ Order detail
/family/{slug}/ Family detail
/countries/ List all countries
/country/{code}/ Country detail
/habitats/ List all habitats
/habitat/{slug}/ Habitat detail
/glossary/ List glossary terms
/glossary/{slug}/ Glossary term detail
/guides/ List published guides
/guide/{slug}/ Guide detail

मार्कडाउन एंडपॉइंट

जोड़ें .md किसी भी पेज URL में जोड़कर मार्कडाउन संस्करण प्राप्त करें। LLM संदर्भ, दस्तावेज़ीकरण और प्रोग्रामेटिक एक्सेस के लिए उपयोगी।

# Bird profile
curl https://birdfyi.com/birds/bald-eagle.md
# Guide article
curl https://birdfyi.com/guide/backyard-birding.md
# With language prefix
curl https://birdfyi.com/ko/birds/bald-eagle.md

त्वरित शुरुआत

curl

# List birds
curl https://birdfyi.com/api/birds/
# Search
curl "https://birdfyi.com/api/search/?q=eagle"
# Bird detail (Korean)
curl "https://birdfyi.com/api/birds/bald-eagle/?lang=ko"
# Database stats
curl https://birdfyi.com/api/stats/

Python

import httpx
resp = httpx.get("https://birdfyi.com/api/birds/",
    params={"conservation_status": "CR", "limit": 10})
birds = resp.json()["results"]

अतिरिक्त संसाधन