From d2751c507d8693c7bbcca6570f70ad2aed47d8b5 Mon Sep 17 00:00:00 2001 From: falsepopsky Date: Sun, 22 Oct 2023 15:44:24 -0300 Subject: [PATCH] docs: add getEntities --- docs/api/thetvdb-extended.md | 16 ++++++++++++++++ docs/guide/supported-endpoints.md | 2 +- 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/docs/api/thetvdb-extended.md b/docs/api/thetvdb-extended.md index 8257a99..408c403 100644 --- a/docs/api/thetvdb-extended.md +++ b/docs/api/thetvdb-extended.md @@ -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 + +| method | endpoint | +| ------------------------------- | ----------- | +| | `/entities` | + +### List of active entity types records + +```js +await client.getEntities(); +``` + ## getGenres This method returns a list of genre records and does not require any parameters. diff --git a/docs/guide/supported-endpoints.md b/docs/guide/supported-endpoints.md index 3206e8c..5ca3849 100644 --- a/docs/guide/supported-endpoints.md +++ b/docs/guide/supported-endpoints.md @@ -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: |