# games.gamesgamesgamesgames.actor.getTasteProfile

> Published by [gamesgamesgamesgames.games](https://lexicon.garden/identity/did:web:gamesgamesgamesgames.games)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:web:gamesgamesgamesgames.games/games.gamesgamesgamesgames.actor.getTasteProfile)
- [Documentation](https://lexicon.garden/lexicon/did:web:gamesgamesgamesgames.games/games.gamesgamesgamesgames.actor.getTasteProfile/docs)
- [Examples](https://lexicon.garden/lexicon/did:web:gamesgamesgamesgames.games/games.gamesgamesgamesgames.actor.getTasteProfile/examples)

## Definitions

### `games.gamesgamesgamesgames.actor.getTasteProfile`

**Type**: `query`

Get a user's taste profile: top genres computed from likes and reviews, plus auto-selected favorite games.

#### Parameters

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `did` | `string` | Yes | The DID of the user whose taste profile to retrieve. |
| `genreLimit` | `integer` | No |  |
| `favoriteLimit` | `integer` | No |  |

#### Output

**Encoding**: `application/json`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `genres` | `array` | Yes |  |
| `favorites` | `array` | Yes |  |

### `games.gamesgamesgamesgames.actor.getTasteProfile#genrePreference`

**Type**: `object`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `count` | `integer` | Yes |  |
| `genre` | `string` | Yes |  |
| `percentage` | `integer` | Yes |  |

## Raw Schema

```json
{
  "id": "games.gamesgamesgamesgames.actor.getTasteProfile",
  "defs": {
    "main": {
      "type": "query",
      "output": {
        "schema": {
          "type": "object",
          "required": [
            "genres",
            "favorites"
          ],
          "properties": {
            "genres": {
              "type": "array",
              "items": {
                "ref": "#genrePreference",
                "type": "ref"
              }
            },
            "favorites": {
              "type": "array",
              "items": {
                "ref": "games.gamesgamesgamesgames.defs#gameView",
                "type": "ref"
              }
            }
          }
        },
        "encoding": "application/json"
      },
      "parameters": {
        "type": "params",
        "required": [
          "did"
        ],
        "properties": {
          "did": {
            "type": "string",
            "description": "The DID of the user whose taste profile to retrieve."
          },
          "genreLimit": {
            "type": "integer",
            "default": 5,
            "maximum": 20,
            "minimum": 1
          },
          "favoriteLimit": {
            "type": "integer",
            "default": 6,
            "maximum": 12,
            "minimum": 1
          }
        }
      },
      "description": "Get a user's taste profile: top genres computed from likes and reviews, plus auto-selected favorite games."
    },
    "genrePreference": {
      "type": "object",
      "required": [
        "genre",
        "count",
        "percentage"
      ],
      "properties": {
        "count": {
          "type": "integer"
        },
        "genre": {
          "type": "string"
        },
        "percentage": {
          "type": "integer"
        }
      }
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
