# Beeminder

> Read goals and progress, update goal settings, and create, edit or delete datapoints.

App · 10 actions. Web page: https://docs.lodol.com/docs/integrations/beeminder

## Actions

### Create datapoint

Create datapoint.

**Inputs**

- Goal (`goal`, text, required): Goal.
- Value (`value`, number, required): Value.
- Timestamp (`timestamp`, date and time): Timestamp.
- Comment (`comment`, text): Comment.
- Requestid (`requestid`, text): Requestid.

**Outputs**

- `data` (object): Beeminder response data.

**Example output**

```json
{
  "data": {
    "comment": "example",
    "daystamp": "example",
    "id": "example",
    "requestid": "example",
    "timestamp": 1,
    "value": 1.0
  }
}
```

### Delete datapoint

Delete datapoint.

**Inputs**

- Goal (`goal`, text, required): Goal.
- Datapoint ID (`datapoint_id`, text, required): Datapoint ID.

**Outputs**

- `data` (object): Beeminder response data.

**Example output**

```json
{
  "data": {
    "comment": "example",
    "daystamp": "example",
    "id": "example",
    "requestid": "example",
    "timestamp": 1,
    "value": 1.0
  }
}
```

### Get goal

Get goal.

**Inputs**

- Goal (`goal`, text, required): Goal.

**Outputs**

- `data` (object): Beeminder response data.

**Example output**

```json
{
  "data": {
    "curval": 1.0,
    "goal_type": "example",
    "goalval": 1.0,
    "losedate": 1,
    "rate": 1.0,
    "safebuf": 1,
    "slug": "example",
    "tags": [],
    "title": "example",
    "updated_at": 1
  }
}
```

### Get user

Get user.

**Inputs**: None.

**Outputs**

- `data` (object): Beeminder response data.

**Example output**

```json
{
  "data": {
    "goals": [],
    "timezone": "example",
    "updated_at": 1,
    "username": "example"
  }
}
```

### List archived goals

List archived goals.

**Inputs**: None.

**Outputs**

- `data` (list): Beeminder response data.

**Example output**

```json
{
  "data": []
}
```

### List datapoints

List datapoints.

**Inputs**

- Goal (`goal`, text, required): Goal.
- Sort (`sort`, text): Sort. One of: `id`, `timestamp`, `value`.
- Page (`page`, number): Page. At least 1.
- Per (`per`, number): Per. From 1 to 1000.

**Outputs**

- `data` (list): Beeminder response data.

**Example output**

```json
{
  "data": []
}
```

### List goals

List goals.

**Inputs**: None.

**Outputs**

- `data` (list): Beeminder response data.

**Example output**

```json
{
  "data": []
}
```

### Refresh goal

Refresh goal.

**Inputs**

- Goal (`goal`, text, required): Goal.

**Outputs**

- `data` (true/false): Beeminder response data.

**Example output**

```json
{
  "data": false
}
```

### Update datapoint

Update datapoint.

**Inputs**

- Goal (`goal`, text, required): Goal.
- Datapoint ID (`datapoint_id`, text, required): Datapoint ID.
- Value (`value`, number): Value.
- Timestamp (`timestamp`, date and time): Timestamp.
- Comment (`comment`, text): Comment.

**Outputs**

- `data` (object): Beeminder response data.

**Example output**

```json
{
  "data": {
    "comment": "example",
    "daystamp": "example",
    "id": "example",
    "requestid": "example",
    "timestamp": 1,
    "value": 1.0
  }
}
```

### Update goal

Update goal.

**Inputs**

- Goal (`goal`, text, required): Goal.
- Title (`title`, text): Title.
- Yaxis (`yaxis`, text): Yaxis.
- Secret (`secret`, true/false): Secret.
- Datapublic (`datapublic`, true/false): Datapublic.
- Tags (`tags`, list): Tags.

**Outputs**

- `data` (object): Beeminder response data.

**Example output**

```json
{
  "data": {
    "curval": 1.0,
    "goal_type": "example",
    "goalval": 1.0,
    "losedate": 1,
    "rate": 1.0,
    "safebuf": 1,
    "slug": "example",
    "tags": [],
    "title": "example",
    "updated_at": 1
  }
}
```
