integrated collections endpoint with main TMDB class
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user