Game_code
*Interface address:
- Domain name / V1 / game / code
*Request parameters:
Field name | type | length | Mandatory | Explain |
---|---|---|---|---|
Plat_type | String | 32 | yes | Platform type (see Appendix platform type) |
Sign_key | String | 32 | yes | Encrypted signature |
Keyword | String | 100 | Optional parameters | Search English and Chinese names and key words of the game |
Category_id | Int | 10 | Optional parameters | First level classification ID |
sec_category_id | Int | 10 | Optional parameters | Secondary classification ID |
Code | String | 32 | yes | md5(sign_key+api_account+plat_type) |
*Response parameters
Field name | type | Explain |
---|---|---|
StatusCode | String | Success.01: success; other failures; |
Message | String | Information corresponding to code |
Data | String | Game code information |
* 返回数据内容 { "statusCode": "01", "data": [{ "plat_type": "PGS", "name": "夜戏貂蝉", "en_name": "Honey Trap of Diao Chan", "keyword": "", "ng_game_code": "ng_pgs_10001", "category_id": "202", "sec_category_id": "207", "is_active": "1", "is_hot": "1", "is_new": "0", "is_recommend": "0", "image": "https:\/\/storage.shao360.com\/image\/201812\/1545473176687.png", "is_mobile": "1", "is_pc": "1", "category_name": "老虎机", "category_en_name": "", "sec_category_name": "30-60线", "sec_category_en_name": "" }], "message": "成功" }
*Return field description
Field name | Explain | Suggested field type |
---|---|---|
Plat_type | Platform type | Varchar (20) |
Name | Simplified Chinese name of the game | Varchar (200) |
En_name | English name of the game | Varchar (200) |
Keyword | Game search keywords | Varchar (200) |
Ng_game_code | Game code | Varchar (20) |
Category_id | First level classification ID | Int (10) |
sec_category_id | Secondary classification ID | Int (10) |
Is_active | Disabled state 0 deleted disabled 1 enabled | Tinyint (1) |
Is_hot | Is popular game 0 not 1 yes | Tinyint (1) |
Is_new | Is the latest game 0 not 1 yes | Tinyint (1) |
Is_recommend | Recommend game 0 not 1 yes | Tinyint (1) |
Image | The game image address is recommended to download and save locally | Varchar (100) |
Is_mobile | Whether to display game for mobile terminal | Tinyint (1) |
Is_pc | Whether to display games for PC | Tinyint (1) |
category_name | Game category simplified Chinese name | Varchar (100) |
category_en_name | English name of game category | Varchar (100) |
sec_category_name | Simplified Chinese name of secondary classification | Varchar (100) |
sec_category_en_name | English name of secondary classification | Varchar (100) |
请先
!