首页 娱乐购物 电影影讯
电影影讯

电影影讯

  • 314
  • 243
查询今日上映电影,电影信息,电影院及上映信息。
198.00/10000次
申请就送100次
https://api.jisuapi.com/movie/on
JSON JSONP
GET
https://api.jisuapi.com/movie/on?cityid=&city=北京&date=2018-06-16&appkey=yourappkey

请求参数:

API在线测试
参数名称类型必填说明
cityid int 城市ID
city string 城市 城市ID和城市任选其一
date string 日期 默认当天

返回参数:

参数名称类型说明
city string 城市
cityid string 城市ID
date string 日期
movieid string 电影ID
moviename string 电影名称
pic string 图片

请求代码:

查看代码
<?php

require_once 'curl.func.php';

$appkey = 'your_appkey_here';//你的appkey
$cityid = '1'; //当前城市的cityid 任选
$city = '北京'; //当前城市 任选
$date = '2018-06-16'; //日期
$url = "https://api.jisuapi.com/movie/on?cityid=$cityid&city=$city&date=$date&appkey=$yourappkey";
$result = curlOpen($url, ['ssl'=>true]);
$jsonarr = json_decode($result, true);
if($jsonarr['status'] != 0)
{
    echo $jsonarr['msg'];
    exit();
}
$result = $jsonarr['result'];
echo $result['city']. ' '.$result['cityid']. ' '.$result['date']. '
'; foreach ($result['list'] as $val){ echo $val['movieid'].' '.$val['moviename'].' '.$val['pic']. '
'; }

JSON返回示例 :

{
    "status": 0,
    "msg": "ok",
    "result": {
        "city": "杭州",
        "cityid": "382",
        "date": "2018-07-08",
        "list": [
            {
                "movieid": "137363",
                "moviename": "我不是药神",
                "pic": "http://api.jisuapi.com/movie/upload/movie/14/137363.jpg"
            },
            {
                "movieid": "137197",
                "moviename": "动物世界",
                "pic": "http://api.jisuapi.com/movie/upload/movie/14/137197.jpg"
            },
            {
                "movieid": "140409",
                "moviename": "新大头儿子和小头爸爸3:俄罗斯奇遇记",
                "pic": "http://api.jisuapi.com/movie/upload/movie/15/140409.jpg"
            },
            {
                "movieid": "17594",
                "moviename": "侏罗纪世界2",
                "pic": "http://api.jisuapi.com/movie/upload/movie/2/17594.jpg"
            },
            {
                "movieid": "8702",
                "moviename": "超人总动员2",
                "pic": "http://api.jisuapi.com/movie/upload/movie/1/8702.jpg"
            },
            {
                "movieid": "136269",
                "moviename": "金蝉脱壳2",
                "pic": "http://api.jisuapi.com/movie/upload/movie/14/136269.jpg"
            },
            {
                "movieid": "350",
                "moviename": "阿飞正传",
                "pic": "http://api.jisuapi.com/movie/upload/movie/1/350.jpg"
            },
            {
                "movieid": "140586",
                "moviename": "细思极恐",
                "pic": "http://api.jisuapi.com/movie/upload/movie/15/140586.jpg"
            },
            {
                "movieid": "140753",
                "moviename": "您一定不要错过",
                "pic": ""
            },
            {
                "movieid": "137628",
                "moviename": "龙虾刑警",
                "pic": "http://api.jisuapi.com/movie/upload/movie/14/137628.jpg"
            },
            {
                "movieid": "8001",
                "moviename": "猛虫过江",
                "pic": "http://api.jisuapi.com/movie/upload/movie/1/8001.jpg"
            },
            {
                "movieid": "140750",
                "moviename": "姽婳",
                "pic": "http://api.jisuapi.com/movie/upload/movie/15/140750.jpg"
            },
            {
                "movieid": "11112",
                "moviename": "暹罗决:九神战甲",
                "pic": "http://api.jisuapi.com/movie/upload/movie/2/11112.jpg"
            },
            {
                "movieid": "140754",
                "moviename": "生存家族",
                "pic": ""
            },
            {
                "movieid": "140041",
                "moviename": "潜艇总动员:海底两万里",
                "pic": "http://api.jisuapi.com/movie/upload/movie/15/140041.jpg"
            },
            {
                "movieid": "140751",
                "moviename": "我的诗篇",
                "pic": "http://api.jisuapi.com/movie/upload/movie/15/140751.jpg"
            },
            {
                "movieid": "138863",
                "moviename": "泄密者",
                "pic": "http://api.jisuapi.com/movie/upload/movie/14/138863.jpg"
            },
            {
                "movieid": "140752",
                "moviename": "最后一球",
                "pic": "http://api.jisuapi.com/movie/upload/movie/15/140752.jpg"
            },
            {
                "movieid": "310",
                "moviename": "复仇者联盟3:无限战争",
                "pic": "http://api.jisuapi.com/movie/upload/movie/1/310.jpg"
            },
            {
                "movieid": "1730",
                "moviename": "寂静之地",
                "pic": "http://api.jisuapi.com/movie/upload/movie/1/1730.jpg"
            },
            {
                "movieid": "127361",
                "moviename": "第七个小矮人",
                "pic": "http://api.jisuapi.com/movie/upload/movie/13/127361.jpg"
            },
            {
                "movieid": "140584",
                "moviename": "小悟空",
                "pic": "http://api.jisuapi.com/movie/upload/movie/15/140584.jpg"
            },
            {
                "movieid": "133229",
                "moviename": "阿修罗",
                "pic": "http://api.jisuapi.com/movie/upload/movie/14/133229.jpg"
            },
            {
                "movieid": "128837",
                "moviename": "邪不压正",
                "pic": "http://api.jisuapi.com/movie/upload/movie/13/128837.jpg"
            },
            {
                "movieid": "140755",
                "moviename": "摩天营救",
                "pic": ""
            },
            {
                "movieid": "140756",
                "moviename": "汪星卧底",
                "pic": ""
            }
        ]
    }
}
                    

API错误码:

代号说明
201 城市和城市ID为空
202 城市不存在
203 影院ID为空
204 电影ID为空
205 电影ID不存在
206 电影院ID不存在
210 没有信息

系统错误码:

代号说明
101 APPKEY为空或不存在
102 APPKEY已过期
103 APPKEY无请求此数据权限
104 请求超过次数限制
105 IP被禁止
106 IP请求超过限制
107 接口维护中
108 接口已停用
名称权限价格
免费套餐 100次 免费
Level1 10000次 198.00元
Level2 20000次 370.00元
Level3 50000次 850.00元
Level4 100000次 1500.00元

活动推荐ACTIVITY 更多

  • orc活动

其它推荐RECOMMENDED DATA 更多