integrated find endpoint with main TMDB class
This commit is contained in:
@@ -12,6 +12,7 @@ import {
|
||||
PeopleEndpoint,
|
||||
ReviewEndpoint,
|
||||
TrendingEndpoint,
|
||||
FindEndpoint,
|
||||
} from './endpoints';
|
||||
|
||||
export default class TMDB {
|
||||
@@ -72,4 +73,8 @@ export default class TMDB {
|
||||
get trending(): TrendingEndpoint{
|
||||
return new TrendingEndpoint(this.accessToken);
|
||||
}
|
||||
|
||||
get find() : FindEndpoint{
|
||||
return new FindEndpoint(this.accessToken);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user