integrated collections endpoint with main TMDB class
This commit is contained in:
@@ -14,6 +14,7 @@ import {
|
|||||||
TrendingEndpoint,
|
TrendingEndpoint,
|
||||||
FindEndpoint,
|
FindEndpoint,
|
||||||
KeywordsEndpoint,
|
KeywordsEndpoint,
|
||||||
|
CollectionsEndpoint,
|
||||||
} from './endpoints';
|
} from './endpoints';
|
||||||
|
|
||||||
export default class TMDB {
|
export default class TMDB {
|
||||||
@@ -82,4 +83,8 @@ export default class TMDB {
|
|||||||
get keywords() : KeywordsEndpoint{
|
get keywords() : KeywordsEndpoint{
|
||||||
return new KeywordsEndpoint(this.accessToken);
|
return new KeywordsEndpoint(this.accessToken);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
get collections() : CollectionsEndpoint{
|
||||||
|
return new CollectionsEndpoint(this.accessToken);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user