integrated collections endpoint with main TMDB class

This commit is contained in:
DerPenz
2023-02-27 16:30:41 +01:00
parent 8649352bf9
commit 3ac257491d

View File

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