finished movie endpoints, addded configuration and utility method to construct full image url
This commit is contained in:
@@ -6,6 +6,7 @@ import {
|
||||
GenreEndpoint,
|
||||
MoviesEndpoint,
|
||||
SearchEndpoint,
|
||||
ConfigurationEndpoint,
|
||||
} from './endpoints';
|
||||
|
||||
export default class TMDB {
|
||||
@@ -19,6 +20,10 @@ export default class TMDB {
|
||||
return new AccountEndpoint(this.accessToken);
|
||||
}
|
||||
|
||||
get configuration(): ConfigurationEndpoint {
|
||||
return new ConfigurationEndpoint(this.accessToken);
|
||||
}
|
||||
|
||||
get certifications(): CertificationEndpoint {
|
||||
return new CertificationEndpoint(this.accessToken);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user