稳定、快速、免费的 API 接口服务
看一看历史上的今天都发生了什么
接口地址: https://api.52vmy.cn/api/wl/today
返回格式: JSON
请求方式: GET
请求示例: https://api.52vmy.cn/api/wl/today
接口定制: 点此加入用户群
默认QPS: 每2秒最多4次 携带Token可无视限制
接口备注:历史上的今天资讯
请求参数说明:
| 名称 | 必填 | 类型 | 说明 |
|---|---|---|---|
| type | 否 | string | 返回格式默认JSON可选text |
返回参数说明:
| 名称 | 类型 | 说明 |
|---|
返回示例:
Warning: count(): Parameter must be an array or an object that implements Countable in /www/wwwroot/api.52vmy.cn/view/api/wl/today/index.php on line 8
{ "code": 200, "msg": "成功", "data": null }
PHP代码示例:
$type = $_GET["type"]; $url = "https://api.52vmy.cn/api/wl/today?type=".$type; echo file_get_contents($url);