@untidy/thetvdb

1.1.0 • Public • Published

@untidy/thetvdb

thetvdb logo

ℹ️ About

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.

✨ Features

  • 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

📦 Install

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

🔰 Usage

@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);

📄 Docs

📜 License

@untidy/thetvdb is licensed under the Apache-2.0 license - © 2023, 2024 falsepopsky.

Package Sidebar

Install

npm i @untidy/thetvdb

Weekly Downloads

5

Version

1.1.0

License

Apache-2.0

Unpacked Size

62.7 kB

Total Files

5

Last publish

Collaborators

  • falsepopsky