---
title: "Contemplações"
description: "Títulos e contemplações do usuário."
---
<div class="lm-ref-kicker"><code>contemplations</code><span>namespace</span></div>

Títulos e contemplações do usuário.

<div class="lm-ref-stats lm-ref-stats--compact">
  <div class="lm-ref-stat"><strong>1</strong><span>método</span></div>
  <div class="lm-ref-stat"><code>contemplations</code><span>namespace</span></div>
</div>

> Esta página é gerada automaticamente pelo `@luckymaker/sdk-generator`. Não edite manualmente.

## `listContemplations`

<div class="lm-endpoint"><span class="lm-http lm-http--get">GET</span><code>/user/contemplations</code></div>

Assinatura:

```ts
listContemplations(query?: ListContemplationsQuery, settings?: SdkSettings): Promise<ListContemplationsResponse>
```

### Query

| Nome | Tipo | Obrigatório |
|---|---|---|
| `category` | `string` | sim |

### Tipos

```ts
type ListContemplationsQuery = { "category": string; };
type ListContemplationsResponse = Array<{ "raffle": { "uuid": string; "title": string; "date": string; "thumbnail"?: string; "kind": "gambling"; }; "instant"?: { "id": string; "title": string; "kind": string; "drawMethod": string; "monetaryValue"?: number; }; "numbers": Array<string>; }>;
```

### Exemplo

```ts
const response = await sdk.contemplations.listContemplations({ "category": "string" });
```

<a class="lm-playground-link" href="/docs/guias/playground/?namespace=contemplations&method=listContemplations">Testar esta função no playground <svg class="lm-arrow-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M5 12h14"/><path d="m12 5 7 7-7 7"/></svg></a>