文档中心 > API类目 > 云游戏API

alibaba.yuanjing.gamesaas.gamecontent.batchquery (批量查询钉钉游戏中心游戏数据)

批量查询钉钉游戏中心游戏数据

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
game_batch_query_request GameBatchQueryRequest 必须 入参model
  • └ game_ids
  • Number []
  • 必须
  • [123,456]
  • 游戏ID列表

响应参数

名称 类型 示例值 描述
result Result 接口返回model
  • └ code
  • String
  • 0
  • 结果码
  • data
  • GameBatchQueryResponse
  • 返回数据
  • gs_game_details
  • GsGameDetailInfoDTO []
  • 游戏信息列表
  • └ mini_app_id
  • String
  • 123
  • 小程序id
  • game_operational_info
  • GsGameOperationalInfoDTO
  • 游戏运营数据
  • └ cover_url
  • String
  • 游戏封面
  • 游戏封面
  • └ cover_url_2x
  • String
  • 封面图2*1
  • 封面图2*1
  • └ logo_url
  • String
  • 图标
  • 图标
  • └ bg_url
  • String
  • 背景图
  • 背景图
  • └ game_id
  • Number
  • 123
  • 游戏ID
  • └ title
  • String
  • 游戏名
  • 游戏名
  • └ intro
  • String
  • 介绍
  • 介绍
  • └ online_time
  • Date
  • 上线时间
  • 上线时间
  • └ online_status
  • Number
  • 游戏状态
  • 游戏状态
  • └ is_hello_game
  • Boolean
  • 是否哈罗游戏
  • 是否哈罗游戏
  • category
  • GsTagInfoDTO
  • 游戏分类
  • └ tag_id
  • Number
  • 123
  • 标签id
  • └ text
  • String
  • 文本
  • 文本
  • tags
  • GsTagInfoDTO []
  • 标签
  • └ tag_id
  • Number
  • 123
  • 标签id
  • └ text
  • String
  • 文本
  • 文本
  • └ message
  • String
  • 成功
  • 结果码描述

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaYuanjingGamesaasGamecontentBatchqueryRequest req = new AlibabaYuanjingGamesaasGamecontentBatchqueryRequest();
AlibabaYuanjingGamesaasGamecontentBatchqueryRequest.GameBatchQueryRequest obj1 = new AlibabaYuanjingGamesaasGamecontentBatchqueryRequest.GameBatchQueryRequest();
obj1.setGameIds(new Long[] { 123,456 };
);
req.setGameBatchQueryRequest(obj1);
AlibabaYuanjingGamesaasGamecontentBatchqueryResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<alibaba_yuanjing_gamesaas_gamecontent_batchquery_response>
    <result>
        <code>0</code>
        <data>
            <gs_game_details>
                <gs_game_detail_info_d_t_o>
                    <mini_app_id>123</mini_app_id>
                    <game_operational_info>
                        <cover_url>游戏封面</cover_url>
                        <cover_url_2x>封面图2*1</cover_url_2x>
                        <logo_url>图标</logo_url>
                        <bg_url>背景图</bg_url>
                    </game_operational_info>
                    <game_id>123</game_id>
                    <title>游戏名</title>
                    <intro>介绍</intro>
                    <online_time>上线时间</online_time>
                    <online_status>游戏状态</online_status>
                    <is_hello_game>是否哈罗游戏</is_hello_game>
                    <category>
                        <tag_id>123</tag_id>
                        <text>文本</text>
                    </category>
                    <tags>
                        <gs_tag_info_d_t_o>
                            <tag_id>123</tag_id>
                            <text>文本</text>
                        </gs_tag_info_d_t_o>
                    </tags>
                </gs_game_detail_info_d_t_o>
            </gs_game_details>
        </data>
        <message>成功</message>
    </result>
</alibaba_yuanjing_gamesaas_gamecontent_batchquery_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

返回
顶部