注意:以下文档只适用于TOP接口,请谨慎使用!

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

alibaba.cgame.logitech.game.query (罗技游戏列表)

罗技游戏列表

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
logitech_game_query_dto LogitechGameQueryDTO 可选 查询对象
  • └ access_id
  • String
  • 可选
  • logitech
  • access id
  • └ access_key
  • String
  • 可选
  • logitech_game
  • access key
  • └ limit
  • Number
  • 可选
  • 100
  • 查询限制
  • └ index
  • Number
  • 可选
  • 0
  • 起始
  • └ version
  • String
  • 可选
  • 0
  • 更新时间

响应参数

名称 类型 示例值 描述
result_code String 0 code
result_data LogitechGameResultDTO 业务数据
  • data
  • LogitechGameDTO []
  • 业务游戏对象
  • └ id
  • String
  • xxx12345
  • 游戏mix id
  • └ status
  • String
  • online
  • 状态
  • └ icon
  • String
  • http://123.jpg
  • icon
  • └ logo
  • String
  • http://123.jpg
  • logo
  • └ banner
  • String
  • http://123.jpg
  • 2*1
  • └ background
  • String
  • http://123.jpg
  • 背景
  • └ background_videos
  • String []
  • 视频
  • └ title
  • String
  • 原神
  • 标题
  • └ tags
  • String []
  • 标签
  • └ brief
  • String
  • 简介
  • 简介
  • └ intro
  • String
  • 介绍
  • 介绍
  • └ developers
  • String []
  • 开发者
  • └ publishers
  • String []
  • 发行者
  • └ publish_date
  • String
  • 1714289298904
  • 发布时间
  • └ game_type
  • String
  • SLG
  • 游戏分类
  • └ age_grading
  • String
  • 9+
  • 年龄限制
  • └ input_type
  • String []
  • 输入类型
  • └ platform
  • Number
  • 1
  • 游戏类型
  • └ players
  • String []
  • 玩家数
  • └ isbn
  • String
  • isbn
  • isbn
  • gallery
  • LogitechGameGalleryDTO []
  • 截图
  • └ type
  • String
  • image
  • 类型
  • └ url
  • String
  • http://123.jpg
  • 地址
  • └ uri
  • String
  • cgott://123
  • 详情页地址
  • └ access_lv
  • String []
  • 游戏级别
  • └ locale
  • String
  • zh-cn
  • 中文
  • └ created_at
  • String
  • 1714289298904
  • 创建时间
  • └ updated_at
  • String
  • 1714289298904
  • 修改时间
  • meta
  • LogitechGameMetaDTO
  • meta信息
  • └ version
  • String
  • 1714289298904
  • 版本时间
  • pagination
  • LogitechPaginationDTO
  • 分页信息
  • └ start
  • Number
  • 0
  • 起始位置
  • └ limit
  • Number
  • 10
  • 限制条数
  • └ count
  • Number
  • 50
  • 条数
  • └ total
  • Number
  • 100
  • 总数
message String success message

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaCgameLogitechGameQueryRequest req = new AlibabaCgameLogitechGameQueryRequest();
AlibabaCgameLogitechGameQueryRequest.LogitechGameQueryDTO obj1 = new AlibabaCgameLogitechGameQueryRequest.LogitechGameQueryDTO();
obj1.setAccessId("logitech");
obj1.setAccessKey("logitech_game");
obj1.setLimit(100L);
obj1.setIndex(0L);
obj1.setVersion("0");
req.setLogitechGameQueryDto(obj1);
AlibabaCgameLogitechGameQueryResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<alibaba_cgame_logitech_game_query_response>
    <result_code>0</result_code>
    <result_data>
        <data>
            <logitech_game_d_t_o>
                <id>xxx12345</id>
                <status>online</status>
                <icon>http://123.jpg</icon>
                <logo>http://123.jpg</logo>
                <banner>http://123.jpg</banner>
                <background>http://123.jpg</background>
                <title>原神</title>
                <brief>简介</brief>
                <intro>介绍</intro>
                <publish_date>1714289298904</publish_date>
                <game_type>SLG</game_type>
                <age_grading>9+</age_grading>
                <platform>1</platform>
                <isbn>isbn</isbn>
                <gallery>
                    <logitech_game_gallery_d_t_o>
                        <type>image</type>
                        <url>http://123.jpg</url>
                    </logitech_game_gallery_d_t_o>
                </gallery>
                <uri>cgott://123</uri>
                <locale>zh-cn</locale>
                <created_at>1714289298904</created_at>
                <updated_at>1714289298904</updated_at>
            </logitech_game_d_t_o>
        </data>
        <meta>
            <version>1714289298904</version>
            <pagination>
                <start>0</start>
                <limit>10</limit>
                <count>50</count>
                <total>100</total>
            </pagination>
        </meta>
    </result_data>
    <message>success</message>
</alibaba_cgame_logitech_game_query_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

返回
顶部