alibaba.pictures.dengta.component.hangzhoudata.collect (杭州市电影数据汇总详情)

获取杭州市电影汇总数据

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
hangzhou_brain_show_request HangzhouBrainShowRequest 可选 入参类
  • └ show_year
  • Number
  • 必须
  • 2021
  • 需要查询的日期

响应参数

名称 类型 示例值 描述
result Result result 接口返回model
  • └ trace_id
  • String
  • demo
  • 鹰眼ID
  • └ code
  • String
  • 200
  • code
  • data
  • Data
  • 1234
  • 返回素材id
  • └ total_box_office
  • Number
  • 1316969387
  • 总票房
  • └ total_sold_seat_cnt
  • Number
  • 272388
  • 总观影人次
  • top10_films
  • HangzhouTop10FilmVo []
  • top10电影信息
  • └ in_zhejiang_ranking
  • Number
  • 1
  • 在浙江省排名
  • └ sold_seat_cnt
  • Number
  • 148825
  • 观影人次
  • └ film_name
  • String
  • 你好,李焕英
  • 电影名称
  • └ contribution_rate
  • String
  • 0.3%
  • 贡献率
  • └ box_office
  • Number
  • 721447879
  • 票房
  • └ in_china_ranking
  • Number
  • 1
  • 全国排名
  • near3_years_rankings
  • Near3YearsRankings []
  • 近3年排名
  • └ in_zhejiang_ranking
  • Number
  • 1
  • 浙江排名
  • └ year
  • Number
  • 20200101
  • └ box_office
  • Number
  • 47678595580
  • 票房
  • └ in_china_ranking
  • Number
  • 7
  • 全国排名
  • └ total_top10_film_sold_seat_cnt
  • Number
  • 272371
  • top10电影总观影人次
  • └ top10_film_box_office_in_china_rate
  • String
  • 1.8%
  • top10电影票房全国占比
  • └ box_office_in_china_rate
  • String
  • 1.8%
  • 杭州总票房全国占比
  • └ box_office_in_zhejiang_rate
  • String
  • 24.3%
  • 杭州总票房浙江省占比
  • └ total_attend_rate
  • String
  • 63.0%
  • 上座率
  • └ error_message
  • String
  • demo
  • error_message
  • └ message
  • String
  • successful
  • message
  • └ data_present
  • Boolean
  • true
  • data_present
  • └ show_error
  • Number
  • 0
  • show_error
  • └ success
  • Boolean
  • true
  • 是否成功
  • └ extra
  • String
  • 额外信息
  • └ msg_info
  • String
  • 调用成功
  • msgInfo
  • └ msg_code
  • String
  • SUCCESS
  • msgCode
  • └ ts
  • Number
  • 1613701479782
  • 毫秒值

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaPicturesDengtaComponentHangzhoudataCollectRequest req = new AlibabaPicturesDengtaComponentHangzhoudataCollectRequest();
AlibabaPicturesDengtaComponentHangzhoudataCollectRequest.HangzhouBrainShowRequest obj1 = new AlibabaPicturesDengtaComponentHangzhoudataCollectRequest.HangzhouBrainShowRequest();
obj1.setShowYear(2021L);
req.setHangzhouBrainShowRequest(obj1);
AlibabaPicturesDengtaComponentHangzhoudataCollectResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<alibaba_pictures_dengta_component_hangzhoudata_collect_response>
    <result>
        <trace_id>demo</trace_id>
        <code>200</code>
        <data>
            <total_box_office>1316969387</total_box_office>
            <total_sold_seat_cnt>272388</total_sold_seat_cnt>
            <top10_films>
                <hangzhou_top10_film_vo>
                    <in_zhejiang_ranking>1</in_zhejiang_ranking>
                    <sold_seat_cnt>148825</sold_seat_cnt>
                    <film_name>你好,李焕英</film_name>
                    <contribution_rate>0.3%</contribution_rate>
                    <box_office>721447879</box_office>
                    <in_china_ranking>1</in_china_ranking>
                </hangzhou_top10_film_vo>
            </top10_films>
            <near3_years_rankings>
                <near3_years_rankings>
                    <in_zhejiang_ranking>1</in_zhejiang_ranking>
                    <year>20200101</year>
                    <box_office>47678595580</box_office>
                    <in_china_ranking>7</in_china_ranking>
                </near3_years_rankings>
            </near3_years_rankings>
            <total_top10_film_sold_seat_cnt>272371</total_top10_film_sold_seat_cnt>
            <top10_film_box_office_in_china_rate>1.8%</top10_film_box_office_in_china_rate>
            <box_office_in_china_rate>1.8%</box_office_in_china_rate>
            <box_office_in_zhejiang_rate>24.3%</box_office_in_zhejiang_rate>
            <total_attend_rate>63.0%</total_attend_rate>
        </data>
        <error_message>demo</error_message>
        <message>successful</message>
        <data_present>true</data_present>
        <show_error>0</show_error>
        <success>true</success>
        <extra></extra>
        <msg_info>调用成功</msg_info>
        <msg_code>SUCCESS</msg_code>
        <ts>1613701479782</ts>
    </result>
</alibaba_pictures_dengta_component_hangzhoudata_collect_response>

异常示例

  • XML示例
  • JSON示例
<error_response>
    <code>50</code>
    <msg>Remote service error</msg>
    <sub_code>isv.invalid-parameter</sub_code>
    <sub_msg>非法参数</sub_msg>
</error_response>

错误码解释

错误码 错误描述 解决方案

API工具

如何获得此API

FAQ

返回
顶部