# start.gg

> Read tournament brackets, standings, entrants and player information.

App · 20 actions. Web page: https://docs.lodol.com/docs/integrations/start-gg

## Actions

### Get connected user

Get connected user.

**Inputs**: None.

**Outputs**

- `data` (object): The response from start.gg.

**Example output**

```json
{
  "data": {
    "currentUser": {
      "id": 1,
      "slug": "example"
    }
  }
}
```

### Get entrant

Get entrant.

**Inputs**

- Record ID (`record_id`, number, required): Entrant ID.

**Outputs**

- `data` (object): The response from start.gg.

**Example output**

```json
{
  "data": {
    "entrant": {
      "id": 1,
      "participants": [
        {
          "id": 1,
          "player": {
            "gamerTag": "example",
            "id": 1
          }
        }
      ]
    }
  }
}
```

### Get event

Get event.

**Inputs**

- Slug (`slug`, text, required): Slug.

**Outputs**

- `data` (object): The response from start.gg.

**Example output**

```json
{
  "data": {
    "event": {
      "id": 1,
      "name": "example",
      "phases": [
        {
          "id": 1
        }
      ]
    }
  }
}
```

### Get participant

Get participant.

**Inputs**

- Participant ID (`record_id`, number, required): Record ID.

**Outputs**

- `data` (object): The response from start.gg.

**Example output**

```json
{
  "data": {
    "participant": {
      "id": 1
    }
  }
}
```

### Get phase

Get phase.

**Inputs**

- Record ID (`record_id`, number, required): Phase ID.

**Outputs**

- `data` (object): The response from start.gg.

**Example output**

```json
{
  "data": {
    "phase": {
      "id": 1
    }
  }
}
```

### Get phase group

Get phase group.

**Inputs**

- Phase group ID (`record_id`, number, required): Record ID.

**Outputs**

- `data` (object): The response from start.gg.

**Example output**

```json
{
  "data": {
    "phaseGroup": {
      "id": 1
    }
  }
}
```

### Get player

Get player.

**Inputs**

- Player ID (`record_id`, number, required): Record ID.

**Outputs**

- `data` (object): The response from start.gg.

**Example output**

```json
{
  "data": {
    "player": {
      "id": 1
    }
  }
}
```

### Get seed

Get seed.

**Inputs**

- Seed ID (`record_id`, number, required): Record ID.

**Outputs**

- `data` (object): The response from start.gg.

**Example output**

```json
{
  "data": {
    "seed": {
      "id": 1
    }
  }
}
```

### Get set

Get set.

**Inputs**

- Record ID (`record_id`, number, required): Set ID.

**Outputs**

- `data` (object): The response from start.gg.

**Example output**

```json
{
  "data": {
    "set": {
      "id": 1
    }
  }
}
```

### Get tournament

Get tournament.

**Inputs**

- Slug (`slug`, text, required): Slug.

**Outputs**

- `data` (object): The response from start.gg.

**Example output**

```json
{
  "data": {
    "tournament": {
      "id": 1,
      "name": "example",
      "slug": "example"
    }
  }
}
```

### Get user

Get user.

**Inputs**

- User slug (`slug`, text, required): The user slug, such as user/abc123.

**Outputs**

- `data` (object): The response from start.gg.

**Example output**

```json
{
  "data": {
    "user": {
      "id": 1,
      "slug": "example"
    }
  }
}
```

### Get video game

Get video game.

**Inputs**

- Record ID (`record_id`, number, required): Videogame ID.

**Outputs**

- `data` (object): The response from start.gg.

**Example output**

```json
{
  "data": {
    "videogame": {
      "id": 1
    }
  }
}
```

### List event entrants

List event entrants.

**Inputs**

- Event ID (`event_id`, number, required): Event id.
- Page (`page`, number): Page. At least 1.
- Page size (`page_size`, number): Page size. From 1 to 50.

**Outputs**

- `data` (object): The response from start.gg.

**Example output**

```json
{
  "data": {
    "event": {
      "entrants": {
        "nodes": [
          {
            "id": 1,
            "participants": [
              {
                "id": 1,
                "player": {
                  "gamerTag": "example",
                  "id": 1
                }
              }
            ]
          }
        ]
      }
    }
  }
}
```

### List event sets

List event sets.

**Inputs**

- Event ID (`event_id`, number, required): Event id.
- Page (`page`, number): Page. At least 1.
- Page size (`page_size`, number): Page size. From 1 to 50.

**Outputs**

- `data` (object): The response from start.gg.

**Example output**

```json
{
  "data": {
    "event": {
      "sets": {
        "nodes": [
          {
            "id": 1,
            "state": 1
          }
        ]
      }
    }
  }
}
```

### List event standings

List event standings.

**Inputs**

- Event ID (`event_id`, number, required): Event id.
- Page (`page`, number): Page. At least 1.
- Page size (`page_size`, number): Page size. From 1 to 50.

**Outputs**

- `data` (object): The response from start.gg.

**Example output**

```json
{
  "data": {
    "event": {
      "standings": {
        "nodes": [
          {
            "id": 1
          }
        ]
      }
    }
  }
}
```

### List phase groups

List phase groups.

**Inputs**

- Phase ID (`record_id`, number, required): Record ID.
- Page (`page`, number): Page. At least 1.
- Page size (`page_size`, number): Page size. From 1 to 50.

**Outputs**

- `data` (object): The response from start.gg.

**Example output**

```json
{
  "data": {
    "phase": {
      "phaseGroups": {
        "nodes": [
          {
            "id": 1
          }
        ]
      }
    }
  }
}
```

### List phase seeds

List phase seeds.

**Inputs**

- Phase ID (`record_id`, number, required): Record ID.
- Page (`page`, number): Page. At least 1.
- Page size (`page_size`, number): Page size. From 1 to 50.

**Outputs**

- `data` (object): The response from start.gg.

**Example output**

```json
{
  "data": {
    "phase": {
      "seeds": {
        "nodes": [
          {
            "id": 1
          }
        ]
      }
    }
  }
}
```

### List phase sets

List phase sets.

**Inputs**

- Phase ID (`record_id`, number, required): Record ID.
- Page (`page`, number): Page. At least 1.
- Page size (`page_size`, number): Page size. From 1 to 50.

**Outputs**

- `data` (object): The response from start.gg.

**Example output**

```json
{
  "data": {
    "phase": {
      "sets": {
        "nodes": [
          {
            "id": 1
          }
        ]
      }
    }
  }
}
```

### List tournament events

List tournament events.

**Inputs**

- Slug (`slug`, text, required): Slug.

**Outputs**

- `data` (object): The response from start.gg.

**Example output**

```json
{
  "data": {
    "tournament": {
      "events": [
        {
          "id": 1,
          "name": "example",
          "slug": "example"
        }
      ]
    }
  }
}
```

### Search video games

Search video games.

**Inputs**

- Name (`name`, text, required): Name.
- Page (`page`, number): Page. At least 1.
- Page size (`page_size`, number): Page size. From 1 to 50.

**Outputs**

- `data` (object): The response from start.gg.

**Example output**

```json
{
  "data": {
    "videogames": {
      "nodes": [
        {
          "id": 1,
          "name": "example",
          "slug": "example"
        }
      ]
    }
  }
}
```
