文档中心 > API类目 > 阿里影业云智API

taobao.lark.external.basedata.film.get (云影片获取)

云智作为云应用,对外已提供影片信息输出能力,提供其他内部产品使用,如电影云

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
start_date String 可选 2018-01-01 开始时间
end_date String 可选 2019-01-01 结束时间

响应参数

名称 类型 示例值 描述
result ListResult 协议对象
  • data_list
  • CloudFilmInfo []
  • 数据列表
  • └ introduction
  • String
  • 本片...
  • 介绍
  • └ cast
  • String
  • 未知
  • 演员
  • └ director
  • String
  • 未知
  • 导演
  • └ producer
  • String
  • 未知
  • 影片发制作人
  • └ publisher
  • String
  • 未知
  • 影片发行商
  • └ publish_year
  • String
  • 2018
  • 发行年份
  • └ publish_date
  • String
  • 2018-01-01
  • 发行日期
  • └ duration
  • Number
  • 120
  • 时长
  • └ country_name
  • String
  • 中国
  • 国家名称
  • └ country_code
  • String
  • 011
  • 国家编码
  • └ version
  • String
  • 2D
  • 放映版本
  • └ film_name
  • String
  • 平行世界
  • 影片编码
  • └ film_code
  • String
  • 011223892018
  • 影片国家编码
  • └ alias_name
  • String
  • 影片别名
  • 影片别名
  • └ public_show_date
  • String
  • 2023-01-01 00:00:00
  • 公映日期
  • └ film_category_name
  • String
  • 故事片
  • 影片类别
  • └ key_start_time
  • String
  • 2023-01-01 00:00:00
  • 秘钥开始时间
  • └ key_end_time
  • String
  • 2023-01-30 00:00:00
  • 秘钥结束时间
  • └ issue_date
  • String
  • 2024-01-10
  • 电影公映许可证发证日期
  • └ reshow_flag
  • Boolean
  • 1
  • 是否复映
  • └ msg
  • String
  • 成功
  • 业务结果消息
  • └ code
  • String
  • SUCCESS
  • 业务结果编码
  • └ success
  • Boolean
  • true
  • 业务结果

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
LarkExternalBasedataFilmGetRequest req = new LarkExternalBasedataFilmGetRequest();
req.setStartDate("2018-01-01");
req.setEndDate("2019-01-01");
LarkExternalBasedataFilmGetResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<lark_external_basedata_film_get_response>
    <result>
        <data_list>
            <cloud_film_info>
                <introduction>本片...</introduction>
                <cast>未知</cast>
                <director>未知</director>
                <producer>未知</producer>
                <publisher>未知</publisher>
                <publish_year>2018</publish_year>
                <publish_date>2018-01-01</publish_date>
                <duration>120</duration>
                <country_name>中国</country_name>
                <country_code>011</country_code>
                <version>2D</version>
                <film_name>平行世界</film_name>
                <film_code>011223892018</film_code>
                <alias_name>影片别名</alias_name>
                <public_show_date>2023-01-01 00:00:00</public_show_date>
                <film_category_name>故事片</film_category_name>
                <key_start_time>2023-01-01 00:00:00</key_start_time>
                <key_end_time>2023-01-30 00:00:00</key_end_time>
                <issue_date>2024-01-10</issue_date>
                <reshow_flag>1</reshow_flag>
            </cloud_film_info>
        </data_list>
        <msg>成功</msg>
        <code>SUCCESS</code>
        <success>true</success>
    </result>
</lark_external_basedata_film_get_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

返回
顶部