Skip to content

Commit

Permalink
docs: add getEntities
Browse files Browse the repository at this point in the history
  • Loading branch information
falsepopsky committed Oct 22, 2023
1 parent d9fc667 commit d2751c5
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
16 changes: 16 additions & 0 deletions docs/api/thetvdb-extended.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,22 @@ This method returns a list of country records and does not require any parameter
await client.getCountries();
```

## getEntities

This method returns a list of active entity types records and does not require any parameters.

### Supported endpoint <Badge type="warning" text="endpoint" />

| method | endpoint |
| ------------------------------- | ----------- |
| <Badge type="tip" text="GET" /> | `/entities` |

### List of active entity types records<Badge type="tip" text="example" />

```js
await client.getEntities();
```

## getGenres

This method returns a list of genre records and does not require any parameters.
Expand Down
2 changes: 1 addition & 1 deletion docs/guide/supported-endpoints.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ List of endpoints from [TheTVDB API V4](https://thetvdb.github.io/v4-api/).
| `/companies/{id}` | :white_check_mark: |
| `/content/ratings` | :white_check_mark: |
| `/countries` | :white_check_mark: |
| `/entities` | :interrobang: |
| `/entities` | :white_check_mark: |
| `/episodes` | :interrobang: |
| `/episodes/{id}` | :white_check_mark: |
| `/episodes/{id}/extended` | :white_check_mark: |
Expand Down

0 comments on commit d2751c5

Please sign in to comment.