欢迎使用Eternally-API
调用地址:/API/shorturl.php
返回格式:json
请求方式:GET
请求示例:?type=1&url=97hjh.cn
error_code:201 url不能空|202 无类型
type=1 为suo.nz,2 为mrw.so,3 为suo.im,4 为sohu.gg
调用地址:/API/hitokoto.php
返回格式:json
请求方式:GET
请求示例:?type=c
error_code:201 空值
type | 表示 |
---|---|
a | Anime - 动画 |
b | Comic – 漫画 |
c | Game – 游戏 |
d | Novel – 小说 |
e | Myself – 原创 |
f | Internet – 来自网络 |
g | Other – 其他 |
调用地址:/API/qqname.php
返回格式:json
请求方式:GET
请求示例:?qq=10001
error_code:201 空值
调用地址:/API/encrypt.php
返回格式:json
请求方式:GET POST
error_code:201 空值
请求示例:?type=md5&text=123
type | 表示 |
---|---|
md5 | md5加密 |
sha1 | sha1加密 |
sha256 | sha256加密 |
urlencode | urlencode加密 |
urldecode | urldecode解密 |
base64_decode | base64_decode解密 |
base64_encode | base64_encode解密 |
调用地址:/API/verb.php
返回格式:json
请求方式:GET
请求示例:?web=www.97hjh.cn
error_code:201 空值|202 无备案信息
调用地址:/API/bro.php
返回格式:json
请求方式:GET
调用地址:/API/avatar.php
返回格式:json
请求方式:POST
请求示例:?email=eternally@97hjh.cn
调用地址:/API/hot.php
返回格式:json
请求方式:POST
请求示例:?id=100101
error_code:201 歌曲id不能空