Integrated people endpoint with main TMDB class
This commit is contained in:
@@ -8,6 +8,7 @@ import {
|
||||
SearchEndpoint,
|
||||
TvShowsEndpoint,
|
||||
ConfigurationEndpoint,
|
||||
PeopleEndpoint,
|
||||
} from './endpoints';
|
||||
|
||||
export default class TMDB {
|
||||
@@ -52,4 +53,8 @@ export default class TMDB {
|
||||
get tvShows(): TvShowsEndpoint{
|
||||
return new TvShowsEndpoint(this.accessToken);
|
||||
}
|
||||
|
||||
get people(): PeopleEndpoint{
|
||||
return new PeopleEndpoint(this.accessToken);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user