接口地址
https://api.vvhan.com/api/movies
返回格式
JSON
请求方式:
GET
请求示例:
https://api.vvhan.com/api/movies
参数说明
名称 | 必填 | 类型 | 说明 |
---|---|---|---|
无 | 否 | 无 | 无 |
返回数据
{"NetWork": "Api.vvhan.com","time": "北京时间 19:44:45","data": [{"Top":"1","moveName":"宠爱","day":"上映8天","piaofang":"4.68亿"},{"Top":"2","moveName":"叶问4:完结篇","day":"上映19天","piaofang":"9.41亿"},{"Top":"3","moveName":"误杀","day":"上映26天","piaofang":"9.63亿"},{"Top":"4","moveName":"变身特工","day":"上映5天","piaofang":"3117.2万"},{"Top":"5","moveName":"美丽人生","day":"上映5天","piaofang":"2994.5万"},{"Top":"6","moveName":"天使陷落","day":"上映8天","piaofang":"4727.5万"},{"Top":"7","moveName":"我为你牺牲","day":"上映34天","piaofang":"1.52亿"},{"Top":"8","moveName":"半个喜剧","day":"上映19天","piaofang":"1.65亿"},{"Top":"9","moveName":"海林都","day":"上映48天","piaofang":"3884.9万"},{"Top":"10","moveName":"解放·终局营救","day":"上映12天","piaofang":"3543.6万"}]}
调用实例
自行调用
示例代码
<?php
$url = "https://api.vvhan.com/api/movies"; $data = file_get_contents($url); echo $data;
?>