🐈
猫咪品种列表
已测试可用GET图片提供商: TheCatAPI
获取所有猫咪品种
#猫咪#品种#列表#动物
请求地址
GET https://api.thecatapi.com/v1/breeds在线测试
GET
https://api.thecatapi.com/v1/breeds注册并登录后即可在线测试 API
请求参数
| 参数名 | 类型 | 必填 | 描述 |
|---|---|---|---|
| q | string | 否 | 查询关键字 |
| limit | number | 否 | 返回数量限制 |
JavaScriptfetch
fetch('https://api.thecatapi.com/v1/breeds')
.then(response => response.json())
.then(data => console.log(data))
.catch(error => console.error('Error:', error));cURL命令行
curl "https://api.thecatapi.com/v1/breeds"