adding tv networks
This commit is contained in:
@@ -19,6 +19,7 @@ import {
|
||||
TvEpisodesEndpoint,
|
||||
} from './endpoints';
|
||||
import { CompaniesEndpoint } from './endpoints/companies';
|
||||
import { NetworksEndpoint } from './endpoints/networks';
|
||||
|
||||
export class TMDB {
|
||||
private readonly accessToken: string;
|
||||
@@ -51,6 +52,10 @@ export class TMDB {
|
||||
return new CompaniesEndpoint(this.accessToken);
|
||||
}
|
||||
|
||||
get networks(): NetworksEndpoint {
|
||||
return new NetworksEndpoint(this.accessToken);
|
||||
}
|
||||
|
||||
get search(): SearchEndpoint {
|
||||
return new SearchEndpoint(this.accessToken);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user