منصة المطورين

الوصول إلى بيانات BirdFYI عبر REST API ونقاط نهاية Markdown والتغذيات.

نقاط نهاية 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

نقاط نهاية Markdown

أضف .md إلى أي رابط صفحة للحصول على نسخة Markdown. مفيد لسياق 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"]

موارد إضافية