> 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/licenses/fetchlicense.md).

# FetchLicense()

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

```python
import PyAuthGG

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

Admin.FetchLicense("NRMY7-YPPZ0-SHQR2-5ITYV-GFI40")
```

### Success Response

```javascript
{
   "status":"success",
   "license":"NRMY7-YPPZ0-SHQR2-5ITYV-GFI40",
   "rank":"1",
   "used":"true",
   "used_by":"xFueY",
   "created":"2020-12-29 18:14:45"
}
```

### Error Response

```javascript
{
   "status":"failed",
   "info":"No license found"
}
```
