# random

The `Anilibria.random()` is a method that optionally takes an argument `limit` of type `string | number` and returns an object of type [`Release`](https://zetharionn.gitbook.io/aniapi-docs/anilibria-api/types/release)`[]`.

## Usage

{% code overflow="wrap" lineNumbers="true" %}

```typescript
anilibria.random({
    limit: 5
}).then(res => res)
```

{% endcode %}

## Parameters

| Parameter | Type     | Is Required |
| --------- | -------- | ----------- |
| `limit`   | `number` | `false`     |
