แพลตฟอร์มนักพัฒนา
เข้าถึงข้อมูลนกวิทยา BirdFYI ผ่าน REST API, เอนดพอินต์ markdown และฟีด
📖
เอกสาร API
Swagger UI แบบโต้ตอบ
📋
โครงสร้าง OpenAPI
ข้อมูลที่เครื่องอ่านได้
🤖
llms.txt
สรุปเว็บไซต์ที่เหมาะสำหรับ AI
📡
ฟีด
ฟีด RSS และ Atom
เอนดพอินต์ 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 ต่อท้าย URL ของหน้าใดก็ได้เพื่อรับเวอร์ชัน 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"]