> For the complete documentation index, see [llms.txt](https://pyauthgg.xfuey.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://pyauthgg.xfuey.dev/administration/users/fetchusedlicenses.md).

# FetchUsedLicenses()

| Arguments | Type   | Required | Default |
| --------- | ------ | -------- | ------- |
| Username  | String | True     |         |

```python
import PyAuthGG

Admin = PyAuthGG.Administration("ADMIN API KEY")

Admin.FetchUsedLicenses("xFueY")
```

### Success Response

```javascript
{
   "Licenses":[
      {
         "token":"XXXXX-XXXXX-XXXXX-XXXXX-XXXXX",
         "rank":"0",
         "used":"1",
         "used_by":"xFueY",
         "days":"31"
      }
   ]
}
```

### Error Response

```javascript
{
   "Licenses":[
      
   ]
}
```
