# Get gamelist ## Description > Get gamelist > Request mode (Host-> BeSoft) :post > Encoding method: application/x-www-form-urlencoded > The data format of the Besoft response is application/json ## Method URL > {besoftapi}/api/game/subgamelist ## Example - URL: - http://127.0.0.1:8000/api/game/subgamelist - HTTP Method - POST/GET - Form Data ``` extension1:testadmin ``` ## Request parameters | Name | Type | Required | Description | | -------- | -------- | -------- | -------- | | extension1 | string | Y | Merchant account | ## Parameter analysis of successful results | Name | Type | Required | Description | | -------- | -------- | -------- | -------- | | gameicourl | string | Y | Request game entry icon address | | gametype |string | Y | Game Type | | gid| string(20) | Y | Unique id to enter the game | ### Successful Result ``` { "gameicourl": "http://127.0.0.1:8000/gameicon", "gamelist": [ { "gid": "be001", "name": "Dragon Stash", "gametype": "1" }, { "gid": "be002", "name": "Jungle Fruit", "gametype": "1" } ] } ``` ## The result of failure ```json { "ret": 1616, "info": "ip address error" } ``` ## Method for piecing together the address of the game entrance icon request > gameicourl+/+ gid+"_game_icon_"+Size+"_"+"Language encoding"+.png" ## Icon Get example ### English ``` Square, Size 600x600 (Default) http://127.0.0.1:8000/gameicon/be001_game_icon_600x600_en.png ``` ``` Horizontal rectangle, Size 600x360(Optional) http://127.0.0.1:8000/gameicon/be001_game_icon_600x360_en.png ``` ``` Vertical rectangle, Size 450x600(Optional) http://127.0.0.1:8000/gameicon/be001_game_icon_450x600_en.png ``` ### Chinese ``` Square, Size 600x600 (Default) http://127.0.0.1:8000/gameicon/be001_game_icon_600x600_zh.png ``` ``` Horizontal rectangle, Size 600x360(Optional) http://127.0.0.1:8000/gameicon/be001_game_icon_600x360_zh.png ``` ``` Vertical rectangle, Size 450x600(Optional) http://127.0.0.1:8000/gameicon/be001_game_icon_450x600_zh.png ``` ### Bahasa Indonesia ``` Square, Size 600x600 (Default) http://127.0.0.1:8000/gameicon/be001_game_icon_600x600_id.png ``` ``` Horizontal rectangle, Size 600x360(Optional) http://127.0.0.1:8000/gameicon/be001_game_icon_600x360_id.png ``` ``` Vertical rectangle, Size 450x600(Optional) http://127.0.0.1:8000/gameicon/be001_game_icon_450x600_id.png ``` ## Response sample - Size 600x600 ![600x600](../../pic/be025_game_icon_600x600_en.png) - Size 600x360 ![600x600](../../pic/be025_game_icon_600x360_en.png) - Size 450x600 ![600x600](../../pic/be025_game_icon_450x600_en.png)