The Movie Database (TMDb) SDK.
;/*** @see*/const apiKey: string = '';const tmdb = apiKey;
Note: Only a subset of the API is implemented. I will be adding new methods as needed. If you need a method added, raise a PR. Alternatively, you can use the low-level
getmethod to construct any API calls.
Methods that are expected to return a specific resource will throw
NotFoundError if the resource is not found.
;const tmdb = ;tryawait tmdb;catch errorif error instanceof NotFoundErrorconsole;elsethrow error;