# Challonge

> Read Challonge tournaments, their participants and match results.

App · 7 actions. Web page: https://docs.lodol.com/docs/integrations/challonge

## Actions

### Get a tournament

Read a tournament’s name, state and rules.

**Inputs**

- Tournament (`tournament_id`, text, required): Choose a tournament from your account.

**Outputs**

- `data` (object): The response from Challonge.

**Example output**

```json
{
  "data": {
    "data": {
      "attributes": {
        "name": "example",
        "state": "example",
        "tournament_type": "example",
        "url": "example"
      },
      "id": "example",
      "type": "example"
    }
  }
}
```

### Get a tournament match

Read a match’s players, scores and state.

**Inputs**

- Tournament (`tournament_id`, text, required): Choose a tournament from your account.
- Match ID (`match_id`, text, required): The match ID from List tournament matches.

**Outputs**

- `data` (object): The response from Challonge.

**Example output**

```json
{
  "data": {
    "data": {
      "attributes": {},
      "id": "example",
      "type": "example"
    }
  }
}
```

### Get a tournament participant

Read a participant’s registration details.

**Inputs**

- Tournament (`tournament_id`, text, required): Choose a tournament from your account.
- Participant ID (`participant_id`, text, required): The participant ID from List tournament participants.

**Outputs**

- `data` (object): The response from Challonge.

**Example output**

```json
{
  "data": {
    "data": {
      "attributes": {},
      "id": "example",
      "type": "example"
    }
  }
}
```

### Get your Challonge user

Read the Challonge account associated with this connection.

**Inputs**: None.

**Outputs**

- `data` (object): The response from Challonge.

**Example output**

```json
{
  "data": {
    "data": {
      "attributes": {},
      "id": "example",
      "type": "example"
    }
  }
}
```

### List tournament matches

List the fixtures and match results for a tournament.

**Inputs**

- Tournament (`tournament_id`, text, required): Choose a tournament from your account.
- Page (`page`, number): The page number, starting at 1. At least 1.
- Limit (`limit`, number): The number of records per page. From 1 to 100.

**Outputs**

- `data` (object): The response from Challonge.

**Example output**

```json
{
  "data": {
    "data": [
      {
        "attributes": {},
        "id": "example",
        "type": "example"
      }
    ],
    "links": {},
    "meta": {}
  }
}
```

### List tournament participants

List participants registered for a tournament.

**Inputs**

- Tournament (`tournament_id`, text, required): Choose a tournament from your account.
- Page (`page`, number): The page number, starting at 1. At least 1.
- Limit (`limit`, number): The number of records per page. From 1 to 100.

**Outputs**

- `data` (object): The response from Challonge.

**Example output**

```json
{
  "data": {
    "data": [
      {
        "attributes": {},
        "id": "example",
        "type": "example"
      }
    ],
    "links": {},
    "meta": {}
  }
}
```

### List tournaments

List the tournaments you organize.

**Inputs**

- Page (`page`, number): The page number, starting at 1. At least 1.
- Limit (`limit`, number): The number of records per page. From 1 to 100.

**Outputs**

- `data` (object): The response from Challonge.

**Example output**

```json
{
  "data": {
    "data": [
      {
        "attributes": {
          "name": "example",
          "state": "example",
          "tournament_type": "example",
          "url": "example"
        },
        "id": "example",
        "type": "example"
      }
    ],
    "links": {},
    "meta": {}
  }
}
```
