接入教程
访问官方GitHub页面获取API使用教程。
Python 示例
python
import requests
response = requests.get('https://animechan.xyz/api/random')
print(response.json())
PHP 示例
php
$response = file_get_contents('https://animechan.xyz/api/random');
echo $response;
JavaScript 示例
javascript
fetch('https://animechan.xyz/api/random')
.then(response => response.json())
.then(data => console.log(data));
常见问题
AnimeChan 是免费的吗?
是的,AnimeChan 是一个完全免费的API服务。
是否需要API密钥?
不需要,AnimeChan 不需要API密钥即可使用。
AnimeChan 支持哪些语言?
AnimeChan 主要支持英文,但名言可能包含其他语言。
Aitishiku.com