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