# <font >Get Free Game Count</font>
##description

> Get the remaining number of games in the player's free game

>request method:（Host -> BeSoft）:post ；

>encoding method：application/x-www-form-urlencoded

>Besoft format of the outgoing request data: application/json

## Method URL 

> {besoftapi}/api/game/userfree



## Request Parameters

 | Name | Type | Required |Description|
 |:--------:|:-----:|:--------:|:--------:|
 | cert | string | Y |security code|
 | extension1 | string  | Y |Agent ID|
 | useracc | string  | Y |Player ID|

## Example
 - URL:
    - http://127.0.0.1:8000/api/game/userfree
- HTTP Method
    -   POST
- Form Data
    > Content-Type: application/x-www-form-urlencoded
    ``` 
    cert:v8VMKKzlPpD0te4rX99Hgefs3PQrBFWJKiuUqg6Y
    extension1:adminweb
    useracc:test1
    ```


## Return Result

 | Name | Type | Description |
 |:--------:|:-----:|:--------:|
 | status | int32 | status code |
 | gidfree | array | Game list|
 | gidfree.gid | string | GameID|
 | gidfree.freecount | int32 | Freecount|


 ## Success Result

```
{
	"status": 1,
	"gidfree": [
		{
			"gid": "be0002",
			"freecount": 22
		}
	]
}
```

 ## Failed Result

```
{
	"ret": 10,
	"info": "user not exist"
}
```

