A lightweight and fully-typed client for accessing the TheTVDB API V4 for Node.js. This package provides a simple and intuitive interface for querying multiple API endpoints.
Note
This is an unofficial package and is not affiliated with or endorsed by TheTVDB. However, it uses the official TheTVDB API endpoints to retrieve information.
- Access multiple endpoints of the TheTVDB API (check supported endpoints)
- Built with TypeScript for full typing support
- Uses the native
fetch
module from Node.js for making HTTP requests - ESM only
You can install @untidy/thetvdb
package using your preferred package manager:
With npm:
npm install @untidy/thetvdb
With yarn:
yarn add @untidy/thetvdb
With pnpm:
pnpm add @untidy/thetvdb
@untidy/thetvdb
is easy to use, simply create an instance of the TheTVDB class with your API
token, and call any of the available methods to retrieve data from the TheTVDB API.
Example usage:
import { TheTVDB } from '@untidy/thetvdb';
const client = new TheTVDB('access token');
const { data } = await client.characterById('64140522');
console.log(data);
@untidy/thetvdb
is licensed under the
Apache-2.0 license - ©
2023, 2024 falsepopsky.