i have a question about json and php. I want to get the value in wins\_ratio. How do i get that?

```html
<?php
$jsondata = file_get_contents('https://api.worldoftanks.eu/wot/account/info/?application_id=ea6d19fe37d4b6b660f18c322a6ec219&account_id=' .$acc_account_id );
$info = json_decode($jsondata, TRUE);
$account = $info['data']['wins_ratio'][0];
foreach ($account as $acc) {
 $acc_value = $acc['value'];
 echo $acc_value; 
}
?>
```

**JSON File**

[![enter image description here](https://i.stack.imgur.com/gfjV1.png)](https://i.stack.imgur.com/gfjV1.png)

**PHP file**

[![enter image description here](https://i.stack.imgur.com/Ck4nT.png)](https://i.stack.imgur.com/Ck4nT.png)