lobby.md 1.5 KB

Game hall access

Description

This section describes the process for connecting to the game hall

Step

1.Get the games list page

| Name | Type | Required | Description | | -------- | -------- | -------- | -------- |
| gameicourl | string | Y | Request game entry icon address | | gameurl| string| Game link address | | gamelist.name |string | Game Name | | gamelist.gid| string(20) | Unique id to enter the game | | gamelist.gametype |string | Game Type | | gamelist.hot| int | 1 represents the tag of popular games, 0 does not | | gamelist.new| int | 1 represents the new game tag, 0 does not |

  • Successful Result

    {
    	"gameicourl": "http://127.0.0.1:8000/gameicon",
    	"gamelist": [
    		{
    			"gid": "be001",
    			"name": "Dragon Stash",
    			"gametype": "1",
    			"hot": 1,
    			"new": 0
    		},
    		{
    			"gid": "be002",
    			"name": "Jungle Fruit",
    			"gametype": "1",
    			"hot": 1,
    			"new": 1
    		}
    	]
    }
    

2、Call interface instance:

Parameter description:

| Param | Type | Description | | -------- | -------- | -------- |
| tt | string | The key is obtained by getting the key interface (api/game/getKey) | |lang| string| The language to display |

3、Hall Example

Game Hall