From 3ac257491df144a7308c58ebfd014a78a444c9b9 Mon Sep 17 00:00:00 2001 From: DerPenz Date: Mon, 27 Feb 2023 16:30:41 +0100 Subject: [PATCH] integrated collections endpoint with main TMDB class --- src/tmdb.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/tmdb.ts b/src/tmdb.ts index 5776d8a..73af31a 100644 --- a/src/tmdb.ts +++ b/src/tmdb.ts @@ -14,6 +14,7 @@ import { TrendingEndpoint, FindEndpoint, KeywordsEndpoint, + CollectionsEndpoint, } from './endpoints'; export default class TMDB { @@ -82,4 +83,8 @@ export default class TMDB { get keywords() : KeywordsEndpoint{ return new KeywordsEndpoint(this.accessToken); } + + get collections() : CollectionsEndpoint{ + return new CollectionsEndpoint(this.accessToken); + } }