added tv show endpoints

This commit is contained in:
Blake Joynes
2021-05-31 23:14:33 -04:00
parent b5034bfa9c
commit a009a2e4b7
13 changed files with 807 additions and 369 deletions

View File

@@ -6,6 +6,7 @@ import {
GenreEndpoint,
MoviesEndpoint,
SearchEndpoint,
TvShowsEndpoint,
ConfigurationEndpoint,
} from './endpoints';
@@ -47,4 +48,8 @@ export default class TMDB {
get movies(): MoviesEndpoint{
return new MoviesEndpoint(this.accessToken);
}
get tvShows(): TvShowsEndpoint{
return new TvShowsEndpoint(this.accessToken);
}
}