{"id":17677504,"url":"https://github.com/dvcol/tvdb-http-client","last_synced_at":"2026-01-19T16:32:39.123Z","repository":{"id":239460883,"uuid":"799325075","full_name":"dvcol/tvdb-http-client","owner":"dvcol","description":"Fetch based http client for TVDB API","archived":false,"fork":false,"pushed_at":"2024-08-13T18:48:46.000Z","size":512,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-24T03:39:27.441Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dvcol.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-05-11T19:42:33.000Z","updated_at":"2024-08-13T20:14:20.000Z","dependencies_parsed_at":null,"dependency_job_id":"6a15feb0-3dbc-4f9d-aa60-3eaee4406ba3","html_url":"https://github.com/dvcol/tvdb-http-client","commit_stats":null,"previous_names":["dvcol/tvdb-http-client"],"tags_count":8,"template":false,"template_full_name":"dvcol/typescript-lib-template","purl":"pkg:github/dvcol/tvdb-http-client","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dvcol%2Ftvdb-http-client","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dvcol%2Ftvdb-http-client/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dvcol%2Ftvdb-http-client/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dvcol%2Ftvdb-http-client/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dvcol","download_url":"https://codeload.github.com/dvcol/tvdb-http-client/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dvcol%2Ftvdb-http-client/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28574352,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-19T16:29:19.148Z","status":"ssl_error","status_checked_at":"2026-01-19T16:29:17.772Z","response_time":67,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-24T07:28:52.833Z","updated_at":"2026-01-19T16:32:39.106Z","avatar_url":"https://github.com/dvcol.png","language":"TypeScript","funding_links":["https://paypal.me/dvcol/5"],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003e@dvcol/tvdb-http-client\u003c/h1\u003e\n\u003cp\u003e\n  \u003cimg src=\"https://img.shields.io/badge/pnpm-%3E%3D9.0.0-blue.svg\" /\u003e\n  \u003cimg src=\"https://img.shields.io/badge/node-%3E%3D20.0.0-blue.svg\" /\u003e\n  \u003ca href=\"https://paypal.me/dvcol/5\" target=\"_blank\"\u003e\n    \u003cimg alt=\"donate\" src=\"https://img.shields.io/badge/Donate%20€-PayPal-brightgreen.svg\" /\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n\u003e Simple fetch based http client for TVDB API with full typescript support (request and response).\n\n## Prerequisites\n\n- pnpm \u003e=9.0.0\n- node \u003e=20.0.0\n\n## Install\n\n```sh\npnpm install\n```\n\n## Usage\n\n```sh\npnpm add @dvcol/tvdb-http-client\n```\n\n### Modular endpoint bundling\n\nTvdb-http-client is designed to be modular and flexible. Although it uses static classes, endpoints are instantiated at runtime and can be easily omitted, extended or overridden.\nIf your bundler does not support tree-shaking, you can omit unused endpoints by only importing the ones you need.\n\nBy default we provide a [full api](https://github.com/dvcol/tvdb-http-client/blob/main/lib/api/tvdb-api.endpoints.ts) object with all supported endpoints, as well as a [minimal api](https://github.com/dvcol/tvdb-http-client/blob/main/lib/api/tvdb-minimal-api.endpoints.ts) object with only the essential authentication endpoints.\nYou can also import any [endpoint by common scope](https://github.com/dvcol/tvdb-http-client/tree/main/lib/api/endpoints).\n\n```ts\nimport { TvdbClient } from '@dvcol/tvdb-http-client';\n\nimport { minimalTvdbApi } from '@dvcol/tvdb-http-client/api/minimal';\n\nimport { movies } from '@dvcol/tvdb-http-client/api/movies';\nimport { series } from '@dvcol/tvdb-http-client/api/series';\nimport { Config } from '@dvcol/tvdb-http-client/config';\n\nimport type { TvdbClientSettings } from '@dvcol/tvdb-http-client/models';\n\nexport const api = {\n  ...minimalTvdbApi,\n  movies,\n  series\n};\n\nexport const settings: TvdbClientSettings = {\n  apiKey:'\u003cYour api ID\u003e',\n  tokenTTL: Config.tokenTTL,\n  endpoint: Config.endpoint,\n  version: 'v4',\n\n  useragent: '\u003cYour user Agent\u003e',\n  corsProxy: '\u003cOptional cors Proxy\u003e',\n  corsPrefix: '\u003cOptional cors Proxy prefix\u003e'\n};\n\nconst authenticaiton = {}\n\nconst client = new TvdbClient(settings, authenticaiton, api);\n```\n\n### Features\n\n* [Built-in cache support](https://github.com/dvcol/base-http-client/blob/ed17c369f3cdf93656568373fc2dba841050e427/lib/client/base-client.test.ts#L235-L484) (per client, endpoint, or query)\n* [Extensible cache store](https://github.com/dvcol/base-http-client/blob/ed17c369f3cdf93656568373fc2dba841050e427/lib/client/base-client.test.ts#L186-L194) (in-memory, local storage, etc.)\n* [Event observer](https://github.com/dvcol/base-http-client/blob/ed17c369f3cdf93656568373fc2dba841050e427/lib/client/base-client.test.ts#L486-L575) (request, query, auth)\n* [Built-in cancellation support](https://github.com/dvcol/base-http-client/blob/ed17c369f3cdf93656568373fc2dba841050e427/lib/client/base-client.test.ts#L691-L758)\n* [Built-in cors proxy support](https://github.com/dvcol/base-http-client/blob/ed17c369f3cdf93656568373fc2dba841050e427/lib/models/base-client.model.ts#L14)\n\n### Documentation\n\nSee [Tvdb API documentation](https://github.com/thetvdb/v4-api) for more information.\n\n## Author\n\n* Github: [@dvcol](https://github.com/dvcol)\n\n## 📝 License\n\nThis project is [MIT](https://github.com/dvcol/tvdb-http-client/blob/master/LICENSE) licensed.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdvcol%2Ftvdb-http-client","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdvcol%2Ftvdb-http-client","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdvcol%2Ftvdb-http-client/lists"}