# Schoology

> Read schools, groups, course sections, assignments and class activity from Schoology.

App · 14 actions. Web page: https://docs.lodol.com/docs/integrations/schoology

## Actions

### Get course

Read Schoology details for one course.

**Inputs**

- Course (`course_id`, text, required): The Schoology course to retrieve.

**Outputs**

- `data` (object): Data.
- `has_more` (true/false): Whether another page is available.
- `next_cursor` (text): Continuation value for the next page, when available.

**Example output**

```json
{
  "data": {
    "id": 20,
    "title": "Biology"
  },
  "has_more": false,
  "next_cursor": null
}
```

### Get group

Read Schoology details for one group.

**Inputs**

- Group (`group_id`, text, required): The Schoology group to retrieve.

**Outputs**

- `data` (object): Data.
- `has_more` (true/false): Whether another page is available.
- `next_cursor` (text): Continuation value for the next page, when available.

**Example output**

```json
{
  "data": {
    "id": 10,
    "title": "Art Club"
  },
  "has_more": false,
  "next_cursor": null
}
```

### Get school

Read Schoology details for one school.

**Inputs**

- School (`school_id`, text, required): The Schoology school to retrieve.

**Outputs**

- `data` (object): Data.
- `has_more` (true/false): Whether another page is available.
- `next_cursor` (text): Continuation value for the next page, when available.

**Example output**

```json
{
  "data": {
    "id": 1,
    "title": "Sample School"
  },
  "has_more": false,
  "next_cursor": null
}
```

### Get section

Read Schoology details for one section.

**Inputs**

- Section (`section_id`, text, required): The Schoology section to retrieve.

**Outputs**

- `data` (object): Data.
- `has_more` (true/false): Whether another page is available.
- `next_cursor` (text): Continuation value for the next page, when available.

**Example output**

```json
{
  "data": {
    "id": 30,
    "section_title": "Biology 1"
  },
  "has_more": false,
  "next_cursor": null
}
```

### List courses

Read courses visible to the connected Schoology account.

**Inputs**

- Start (`start`, number): Number of matching records to skip. At least 0.
- Limit (`limit`, number): Maximum records to return. From 1 to 200.

**Outputs**

- `data` (object): Data.
- `has_more` (true/false): Whether another page is available.
- `next_cursor` (text): Continuation value for the next page, when available.

**Example output**

```json
{
  "data": {
    "course": [
      {
        "id": 20,
        "title": "Biology"
      }
    ],
    "links": {}
  },
  "has_more": false,
  "next_cursor": null
}
```

### List groups

Read groups visible to the connected Schoology account.

**Inputs**

- Start (`start`, number): Number of matching records to skip. At least 0.
- Limit (`limit`, number): Maximum records to return. From 1 to 200.

**Outputs**

- `data` (object): Data.
- `has_more` (true/false): Whether another page is available.
- `next_cursor` (text): Continuation value for the next page, when available.

**Example output**

```json
{
  "data": {
    "group": [
      {
        "id": 10,
        "title": "Art Club"
      }
    ],
    "links": {}
  },
  "has_more": false,
  "next_cursor": null
}
```

### List schools

Read schools visible to the connected Schoology account.

**Inputs**

- Start (`start`, number): Number of matching records to skip. At least 0.
- Limit (`limit`, number): Maximum records to return. From 1 to 200.

**Outputs**

- `data` (object): Data.
- `has_more` (true/false): Whether another page is available.
- `next_cursor` (text): Continuation value for the next page, when available.

**Example output**

```json
{
  "data": {
    "links": {},
    "school": [
      {
        "id": 1,
        "title": "Sample School"
      }
    ]
  },
  "has_more": false,
  "next_cursor": null
}
```

### List section assignments

Read the assignments in a selected course section.

**Inputs**

- Section (`section_id`, text, required): Select a course section or enter its ID.
- Start (`start`, number): Number of matching records to skip. At least 0.
- Limit (`limit`, number): Maximum records to return. From 1 to 200.

**Outputs**

- `data` (object): Data.
- `has_more` (true/false): Whether another page is available.
- `next_cursor` (text): Continuation value for the next page, when available.

**Example output**

```json
{
  "data": {
    "assignment": [
      {
        "id": 1,
        "title": "Lab report"
      }
    ],
    "links": {}
  },
  "has_more": false,
  "next_cursor": null
}
```

### List section discussions

Read the discussions in a selected course section.

**Inputs**

- Section (`section_id`, text, required): Select a course section or enter its ID.
- Start (`start`, number): Number of matching records to skip. At least 0.
- Limit (`limit`, number): Maximum records to return. From 1 to 200.

**Outputs**

- `data` (object): Data.
- `has_more` (true/false): Whether another page is available.
- `next_cursor` (text): Continuation value for the next page, when available.

**Example output**

```json
{
  "data": {
    "discussion": [
      {
        "id": 4,
        "title": "Class discussion"
      }
    ],
    "links": {}
  },
  "has_more": false,
  "next_cursor": null
}
```

### List section enrollments

Read the enrollments in a selected course section.

**Inputs**

- Section (`section_id`, text, required): Select a course section or enter its ID.
- Start (`start`, number): Number of matching records to skip. At least 0.
- Limit (`limit`, number): Maximum records to return. From 1 to 200.

**Outputs**

- `data` (object): Data.
- `has_more` (true/false): Whether another page is available.
- `next_cursor` (text): Continuation value for the next page, when available.

**Example output**

```json
{
  "data": {
    "enrollment": [
      {
        "id": 5,
        "uid": 1
      }
    ],
    "links": {}
  },
  "has_more": false,
  "next_cursor": null
}
```

### List section events

Read the events in a selected course section.

**Inputs**

- Section (`section_id`, text, required): Select a course section or enter its ID.
- Start (`start`, number): Number of matching records to skip. At least 0.
- Limit (`limit`, number): Maximum records to return. From 1 to 200.

**Outputs**

- `data` (object): Data.
- `has_more` (true/false): Whether another page is available.
- `next_cursor` (text): Continuation value for the next page, when available.

**Example output**

```json
{
  "data": {
    "event": [
      {
        "id": 2,
        "title": "Class event"
      }
    ],
    "links": {}
  },
  "has_more": false,
  "next_cursor": null
}
```

### List section pages

Read the pages in a selected course section.

**Inputs**

- Section (`section_id`, text, required): Select a course section or enter its ID.
- Start (`start`, number): Number of matching records to skip. At least 0.
- Limit (`limit`, number): Maximum records to return. From 1 to 200.

**Outputs**

- `data` (object): Data.
- `has_more` (true/false): Whether another page is available.
- `next_cursor` (text): Continuation value for the next page, when available.

**Example output**

```json
{
  "data": {
    "links": {},
    "page": [
      {
        "id": 3,
        "title": "Lab instructions"
      }
    ]
  },
  "has_more": false,
  "next_cursor": null
}
```

### List section posts

Read the posts in a selected course section.

**Inputs**

- Section (`section_id`, text, required): Select a course section or enter its ID.
- Start (`start`, number): Number of matching records to skip. At least 0.
- Limit (`limit`, number): Maximum records to return. From 1 to 200.

**Outputs**

- `data` (object): Data.
- `has_more` (true/false): Whether another page is available.
- `next_cursor` (text): Continuation value for the next page, when available.

**Example output**

```json
{
  "data": {
    "links": {},
    "post": [
      {
        "body": "Class update",
        "id": 6
      }
    ]
  },
  "has_more": false,
  "next_cursor": null
}
```

### List sections

Read sections visible to the connected Schoology account.

**Inputs**

- Start (`start`, number): Number of matching records to skip. At least 0.
- Limit (`limit`, number): Maximum records to return. From 1 to 200.

**Outputs**

- `data` (object): Data.
- `has_more` (true/false): Whether another page is available.
- `next_cursor` (text): Continuation value for the next page, when available.

**Example output**

```json
{
  "data": {
    "links": {},
    "section": [
      {
        "id": 30,
        "section_title": "Biology 1"
      }
    ]
  },
  "has_more": false,
  "next_cursor": null
}
```
