@lorenzopant/tmdb 1.9.0 → 1.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/endpoints/keywords.d.ts +30 -0
- package/dist/endpoints/keywords.d.ts.map +1 -0
- package/dist/endpoints/keywords.js +38 -0
- package/dist/endpoints/networks.d.ts +36 -0
- package/dist/endpoints/networks.d.ts.map +1 -0
- package/dist/endpoints/networks.js +46 -0
- package/dist/endpoints/watch_providers.d.ts +35 -0
- package/dist/endpoints/watch_providers.d.ts.map +1 -0
- package/dist/endpoints/watch_providers.js +46 -0
- package/dist/routes.d.ts +14 -0
- package/dist/routes.d.ts.map +1 -1
- package/dist/routes.js +14 -0
- package/dist/tmdb.d.ts +6 -0
- package/dist/tmdb.d.ts.map +1 -1
- package/dist/tmdb.js +9 -0
- package/dist/types/common/images.d.ts +65 -0
- package/dist/types/common/images.d.ts.map +1 -0
- package/dist/types/common/index.d.ts +1 -0
- package/dist/types/common/index.d.ts.map +1 -1
- package/dist/types/common/index.js +1 -0
- package/dist/types/common/media.d.ts +25 -22
- package/dist/types/common/media.d.ts.map +1 -1
- package/dist/types/common/media.js +0 -1
- package/dist/types/index.d.ts +0 -1
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/index.js +0 -1
- package/dist/types/movies/images.d.ts +2 -11
- package/dist/types/movies/images.d.ts.map +1 -1
- package/dist/types/other/collections.d.ts +3 -9
- package/dist/types/other/collections.d.ts.map +1 -1
- package/dist/types/other/companies.d.ts +5 -33
- package/dist/types/other/companies.d.ts.map +1 -1
- package/dist/types/other/index.d.ts +3 -0
- package/dist/types/other/index.d.ts.map +1 -1
- package/dist/types/other/index.js +3 -0
- package/dist/types/other/keywords.d.ts +20 -0
- package/dist/types/other/keywords.d.ts.map +1 -0
- package/dist/types/other/keywords.js +1 -0
- package/dist/types/other/networks.d.ts +46 -0
- package/dist/types/other/networks.d.ts.map +1 -0
- package/dist/types/other/networks.js +1 -0
- package/dist/types/other/watch_providers.d.ts +35 -0
- package/dist/types/other/watch_providers.d.ts.map +1 -0
- package/dist/types/other/watch_providers.js +1 -0
- package/dist/types/tv/episode_groups.d.ts +1 -1
- package/dist/types/tv/episode_groups.d.ts.map +1 -1
- package/dist/types/tv/images.d.ts +2 -11
- package/dist/types/tv/images.d.ts.map +1 -1
- package/dist/types/tv/tv_series.d.ts +1 -1
- package/dist/types/tv/tv_series.d.ts.map +1 -1
- package/package.json +70 -68
- package/LICENSE +0 -21
- package/dist/types/networks/alternative_names.d.ts +0 -1
- package/dist/types/networks/alternative_names.d.ts.map +0 -1
- package/dist/types/networks/alternative_names.js +0 -1
- package/dist/types/networks/images.d.ts +0 -1
- package/dist/types/networks/images.d.ts.map +0 -1
- package/dist/types/networks/images.js +0 -1
- package/dist/types/networks/index.d.ts +0 -2
- package/dist/types/networks/index.d.ts.map +0 -1
- package/dist/types/networks/index.js +0 -1
- package/dist/types/networks/network.d.ts +0 -8
- package/dist/types/networks/network.d.ts.map +0 -1
- /package/dist/types/{networks/network.js → common/images.js} +0 -0
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { Keyword, KeywordDetailsParams, KeywordMoviesParams, MovieResultItem, PaginatedResponse } from "../types";
|
|
2
|
+
import { TMDBAPIBase } from "./base";
|
|
3
|
+
export declare class KeywordsAPI extends TMDBAPIBase {
|
|
4
|
+
private keywordPath;
|
|
5
|
+
/**
|
|
6
|
+
* Details
|
|
7
|
+
* GET - https://api.themoviedb.org/3/keyword/{keyword_id}
|
|
8
|
+
*
|
|
9
|
+
* Get the details of a keyword by ID.
|
|
10
|
+
*
|
|
11
|
+
* @param keyword_id Unique identifier for the keyword
|
|
12
|
+
* @reference https://developer.themoviedb.org/reference/keyword-details
|
|
13
|
+
*/
|
|
14
|
+
details(params: KeywordDetailsParams): Promise<Keyword>;
|
|
15
|
+
/**
|
|
16
|
+
* Movies
|
|
17
|
+
* GET - https://api.themoviedb.org/3/keyword/{keyword_id}/movies
|
|
18
|
+
*
|
|
19
|
+
* Get the movies associated with a keyword.
|
|
20
|
+
*
|
|
21
|
+
* @deprecated TMDB marks this endpoint as deprecated. Use discover/movie with_keywords instead.
|
|
22
|
+
* @param keyword_id Unique identifier for the keyword
|
|
23
|
+
* @param language Language for localized results
|
|
24
|
+
* @param page Page number for paginated results
|
|
25
|
+
* @param include_adult Include adult titles in results
|
|
26
|
+
* @reference https://developer.themoviedb.org/reference/keyword-movies
|
|
27
|
+
*/
|
|
28
|
+
movies(params: KeywordMoviesParams): Promise<PaginatedResponse<MovieResultItem>>;
|
|
29
|
+
}
|
|
30
|
+
//# sourceMappingURL=keywords.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"keywords.d.ts","sourceRoot":"","sources":["../../src/endpoints/keywords.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,oBAAoB,EAAE,mBAAmB,EAAE,eAAe,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAClH,OAAO,EAAE,WAAW,EAAE,MAAM,QAAQ,CAAC;AAErC,qBAAa,WAAY,SAAQ,WAAW;IAC3C,OAAO,CAAC,WAAW;IAInB;;;;;;;;OAQG;IACG,OAAO,CAAC,MAAM,EAAE,oBAAoB,GAAG,OAAO,CAAC,OAAO,CAAC;IAK7D;;;;;;;;;;;;OAYG;IACG,MAAM,CAAC,MAAM,EAAE,mBAAmB,GAAG,OAAO,CAAC,iBAAiB,CAAC,eAAe,CAAC,CAAC;CAKtF"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { ENDPOINTS } from "../routes";
|
|
2
|
+
import { TMDBAPIBase } from "./base";
|
|
3
|
+
export class KeywordsAPI extends TMDBAPIBase {
|
|
4
|
+
keywordPath(keyword_id) {
|
|
5
|
+
return `${ENDPOINTS.KEYWORDS.DETAILS}/${keyword_id}`;
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* Details
|
|
9
|
+
* GET - https://api.themoviedb.org/3/keyword/{keyword_id}
|
|
10
|
+
*
|
|
11
|
+
* Get the details of a keyword by ID.
|
|
12
|
+
*
|
|
13
|
+
* @param keyword_id Unique identifier for the keyword
|
|
14
|
+
* @reference https://developer.themoviedb.org/reference/keyword-details
|
|
15
|
+
*/
|
|
16
|
+
async details(params) {
|
|
17
|
+
const endpoint = this.keywordPath(params.keyword_id);
|
|
18
|
+
return this.client.request(endpoint, params);
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Movies
|
|
22
|
+
* GET - https://api.themoviedb.org/3/keyword/{keyword_id}/movies
|
|
23
|
+
*
|
|
24
|
+
* Get the movies associated with a keyword.
|
|
25
|
+
*
|
|
26
|
+
* @deprecated TMDB marks this endpoint as deprecated. Use discover/movie with_keywords instead.
|
|
27
|
+
* @param keyword_id Unique identifier for the keyword
|
|
28
|
+
* @param language Language for localized results
|
|
29
|
+
* @param page Page number for paginated results
|
|
30
|
+
* @param include_adult Include adult titles in results
|
|
31
|
+
* @reference https://developer.themoviedb.org/reference/keyword-movies
|
|
32
|
+
*/
|
|
33
|
+
async movies(params) {
|
|
34
|
+
const endpoint = `${this.keywordPath(params.keyword_id)}${ENDPOINTS.KEYWORDS.MOVIES}`;
|
|
35
|
+
const requestParams = this.withLanguage(params);
|
|
36
|
+
return this.client.request(endpoint, requestParams);
|
|
37
|
+
}
|
|
38
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { AlternativeNamesResult, Network, NetworkBaseParams, NetworkImages } from "../types";
|
|
2
|
+
import { TMDBAPIBase } from "./base";
|
|
3
|
+
export declare class NetworksAPI extends TMDBAPIBase {
|
|
4
|
+
private networkPath;
|
|
5
|
+
/**
|
|
6
|
+
* Details
|
|
7
|
+
* GET - https://api.themoviedb.org/3/network/{network_id}
|
|
8
|
+
*
|
|
9
|
+
* Get the network details by ID.
|
|
10
|
+
*
|
|
11
|
+
* @param network_id Unique identifier for the network
|
|
12
|
+
* @reference https://developer.themoviedb.org/reference/network-details
|
|
13
|
+
*/
|
|
14
|
+
details(params: NetworkBaseParams): Promise<Network>;
|
|
15
|
+
/**
|
|
16
|
+
* Alternative names
|
|
17
|
+
* GET - https://api.themoviedb.org/3/network/{network_id}/alternative_names
|
|
18
|
+
*
|
|
19
|
+
* Get the list of alternative names for a network.
|
|
20
|
+
*
|
|
21
|
+
* @param network_id Unique identifier for the network
|
|
22
|
+
* @reference https://developer.themoviedb.org/reference/network-alternative-names
|
|
23
|
+
*/
|
|
24
|
+
alternative_names(params: NetworkBaseParams): Promise<AlternativeNamesResult>;
|
|
25
|
+
/**
|
|
26
|
+
* Images
|
|
27
|
+
* GET - https://api.themoviedb.org/3/network/{network_id}/images
|
|
28
|
+
*
|
|
29
|
+
* Get the logos for a network by ID.
|
|
30
|
+
*
|
|
31
|
+
* @param network_id Unique identifier for the network
|
|
32
|
+
* @reference https://developer.themoviedb.org/reference/network-images
|
|
33
|
+
*/
|
|
34
|
+
images(params: NetworkBaseParams): Promise<NetworkImages>;
|
|
35
|
+
}
|
|
36
|
+
//# sourceMappingURL=networks.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"networks.d.ts","sourceRoot":"","sources":["../../src/endpoints/networks.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,sBAAsB,EAAE,OAAO,EAAE,iBAAiB,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAC7F,OAAO,EAAE,WAAW,EAAE,MAAM,QAAQ,CAAC;AAErC,qBAAa,WAAY,SAAQ,WAAW;IAC3C,OAAO,CAAC,WAAW;IAInB;;;;;;;;OAQG;IACG,OAAO,CAAC,MAAM,EAAE,iBAAiB,GAAG,OAAO,CAAC,OAAO,CAAC;IAK1D;;;;;;;;OAQG;IACG,iBAAiB,CAAC,MAAM,EAAE,iBAAiB,GAAG,OAAO,CAAC,sBAAsB,CAAC;IAKnF;;;;;;;;OAQG;IACG,MAAM,CAAC,MAAM,EAAE,iBAAiB,GAAG,OAAO,CAAC,aAAa,CAAC;CAI/D"}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { ENDPOINTS } from "../routes";
|
|
2
|
+
import { TMDBAPIBase } from "./base";
|
|
3
|
+
export class NetworksAPI extends TMDBAPIBase {
|
|
4
|
+
networkPath(network_id) {
|
|
5
|
+
return `${ENDPOINTS.NETWORKS.DETAILS}/${network_id}`;
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* Details
|
|
9
|
+
* GET - https://api.themoviedb.org/3/network/{network_id}
|
|
10
|
+
*
|
|
11
|
+
* Get the network details by ID.
|
|
12
|
+
*
|
|
13
|
+
* @param network_id Unique identifier for the network
|
|
14
|
+
* @reference https://developer.themoviedb.org/reference/network-details
|
|
15
|
+
*/
|
|
16
|
+
async details(params) {
|
|
17
|
+
const endpoint = this.networkPath(params.network_id);
|
|
18
|
+
return this.client.request(endpoint, params);
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Alternative names
|
|
22
|
+
* GET - https://api.themoviedb.org/3/network/{network_id}/alternative_names
|
|
23
|
+
*
|
|
24
|
+
* Get the list of alternative names for a network.
|
|
25
|
+
*
|
|
26
|
+
* @param network_id Unique identifier for the network
|
|
27
|
+
* @reference https://developer.themoviedb.org/reference/network-alternative-names
|
|
28
|
+
*/
|
|
29
|
+
async alternative_names(params) {
|
|
30
|
+
const endpoint = `${this.networkPath(params.network_id)}${ENDPOINTS.NETWORKS.ALTERNATIVE_NAMES}`;
|
|
31
|
+
return this.client.request(endpoint, params);
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Images
|
|
35
|
+
* GET - https://api.themoviedb.org/3/network/{network_id}/images
|
|
36
|
+
*
|
|
37
|
+
* Get the logos for a network by ID.
|
|
38
|
+
*
|
|
39
|
+
* @param network_id Unique identifier for the network
|
|
40
|
+
* @reference https://developer.themoviedb.org/reference/network-images
|
|
41
|
+
*/
|
|
42
|
+
async images(params) {
|
|
43
|
+
const endpoint = `${this.networkPath(params.network_id)}${ENDPOINTS.NETWORKS.IMAGES}`;
|
|
44
|
+
return this.client.request(endpoint);
|
|
45
|
+
}
|
|
46
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { WatchProviderListParams, WatchProviderListResponse, WatchProviderRegionsParams, WatchProviderRegionsResponse } from "../types";
|
|
2
|
+
import { TMDBAPIBase } from "./base";
|
|
3
|
+
export declare class WatchProvidersAPI extends TMDBAPIBase {
|
|
4
|
+
/**
|
|
5
|
+
* Movie Providers
|
|
6
|
+
* GET - https://api.themoviedb.org/3/watch/providers/movie
|
|
7
|
+
*
|
|
8
|
+
* Get the list of movie watch providers supported by TMDB.
|
|
9
|
+
*
|
|
10
|
+
* @param language Language used for localized provider names
|
|
11
|
+
* @reference https://developer.themoviedb.org/reference/watch-provider-movie-list
|
|
12
|
+
*/
|
|
13
|
+
movie_providers(params?: WatchProviderListParams): Promise<WatchProviderListResponse>;
|
|
14
|
+
/**
|
|
15
|
+
* TV Providers
|
|
16
|
+
* GET - https://api.themoviedb.org/3/watch/providers/tv
|
|
17
|
+
*
|
|
18
|
+
* Get the list of TV watch providers supported by TMDB.
|
|
19
|
+
*
|
|
20
|
+
* @param language Language used for localized provider names
|
|
21
|
+
* @reference https://developer.themoviedb.org/reference/watch-provider-tv-list
|
|
22
|
+
*/
|
|
23
|
+
tv_providers(params?: WatchProviderListParams): Promise<WatchProviderListResponse>;
|
|
24
|
+
/**
|
|
25
|
+
* Available Regions
|
|
26
|
+
* GET - https://api.themoviedb.org/3/watch/providers/regions
|
|
27
|
+
*
|
|
28
|
+
* Get the list of regions with watch provider support.
|
|
29
|
+
*
|
|
30
|
+
* @param language Language used for localized region names
|
|
31
|
+
* @reference https://developer.themoviedb.org/reference/watch-providers-available-regions
|
|
32
|
+
*/
|
|
33
|
+
available_regions(params?: WatchProviderRegionsParams): Promise<WatchProviderRegionsResponse>;
|
|
34
|
+
}
|
|
35
|
+
//# sourceMappingURL=watch_providers.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"watch_providers.d.ts","sourceRoot":"","sources":["../../src/endpoints/watch_providers.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,uBAAuB,EAAE,yBAAyB,EAAE,0BAA0B,EAAE,4BAA4B,EAAE,MAAM,UAAU,CAAC;AACxI,OAAO,EAAE,WAAW,EAAE,MAAM,QAAQ,CAAC;AAErC,qBAAa,iBAAkB,SAAQ,WAAW;IACjD;;;;;;;;OAQG;IACG,eAAe,CAAC,MAAM,CAAC,EAAE,uBAAuB,GAAG,OAAO,CAAC,yBAAyB,CAAC;IAM3F;;;;;;;;OAQG;IACG,YAAY,CAAC,MAAM,CAAC,EAAE,uBAAuB,GAAG,OAAO,CAAC,yBAAyB,CAAC;IAMxF;;;;;;;;OAQG;IACG,iBAAiB,CAAC,MAAM,CAAC,EAAE,0BAA0B,GAAG,OAAO,CAAC,4BAA4B,CAAC;CAKnG"}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { ENDPOINTS } from "../routes";
|
|
2
|
+
import { TMDBAPIBase } from "./base";
|
|
3
|
+
export class WatchProvidersAPI extends TMDBAPIBase {
|
|
4
|
+
/**
|
|
5
|
+
* Movie Providers
|
|
6
|
+
* GET - https://api.themoviedb.org/3/watch/providers/movie
|
|
7
|
+
*
|
|
8
|
+
* Get the list of movie watch providers supported by TMDB.
|
|
9
|
+
*
|
|
10
|
+
* @param language Language used for localized provider names
|
|
11
|
+
* @reference https://developer.themoviedb.org/reference/watch-provider-movie-list
|
|
12
|
+
*/
|
|
13
|
+
async movie_providers(params) {
|
|
14
|
+
const language = params?.language ?? this.defaultOptions.language;
|
|
15
|
+
const requestParams = language === undefined ? params : { ...params, language };
|
|
16
|
+
return this.client.request(ENDPOINTS.WATCH_PROVIDERS.MOVIE, requestParams);
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* TV Providers
|
|
20
|
+
* GET - https://api.themoviedb.org/3/watch/providers/tv
|
|
21
|
+
*
|
|
22
|
+
* Get the list of TV watch providers supported by TMDB.
|
|
23
|
+
*
|
|
24
|
+
* @param language Language used for localized provider names
|
|
25
|
+
* @reference https://developer.themoviedb.org/reference/watch-provider-tv-list
|
|
26
|
+
*/
|
|
27
|
+
async tv_providers(params) {
|
|
28
|
+
const language = params?.language ?? this.defaultOptions.language;
|
|
29
|
+
const requestParams = language === undefined ? params : { ...params, language };
|
|
30
|
+
return this.client.request(ENDPOINTS.WATCH_PROVIDERS.TV, requestParams);
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Available Regions
|
|
34
|
+
* GET - https://api.themoviedb.org/3/watch/providers/regions
|
|
35
|
+
*
|
|
36
|
+
* Get the list of regions with watch provider support.
|
|
37
|
+
*
|
|
38
|
+
* @param language Language used for localized region names
|
|
39
|
+
* @reference https://developer.themoviedb.org/reference/watch-providers-available-regions
|
|
40
|
+
*/
|
|
41
|
+
async available_regions(params) {
|
|
42
|
+
const language = params?.language ?? this.defaultOptions.language;
|
|
43
|
+
const requestParams = language === undefined ? params : { ...params, language };
|
|
44
|
+
return this.client.request(ENDPOINTS.WATCH_PROVIDERS.REGIONS, requestParams);
|
|
45
|
+
}
|
|
46
|
+
}
|
package/dist/routes.d.ts
CHANGED
|
@@ -38,6 +38,10 @@ export declare const ENDPOINTS: {
|
|
|
38
38
|
MOVIE_LIST: string;
|
|
39
39
|
TV_LIST: string;
|
|
40
40
|
};
|
|
41
|
+
KEYWORDS: {
|
|
42
|
+
DETAILS: string;
|
|
43
|
+
MOVIES: string;
|
|
44
|
+
};
|
|
41
45
|
MOVIES: {
|
|
42
46
|
DETAILS: string;
|
|
43
47
|
ALTERNATIVE_TITLES: string;
|
|
@@ -59,6 +63,11 @@ export declare const ENDPOINTS: {
|
|
|
59
63
|
VIDEOS: string;
|
|
60
64
|
WATCH_PROVIDERS: string;
|
|
61
65
|
};
|
|
66
|
+
NETWORKS: {
|
|
67
|
+
DETAILS: string;
|
|
68
|
+
ALTERNATIVE_NAMES: string;
|
|
69
|
+
IMAGES: string;
|
|
70
|
+
};
|
|
62
71
|
SEARCH: {
|
|
63
72
|
MOVIE: string;
|
|
64
73
|
COLLECTION: string;
|
|
@@ -93,5 +102,10 @@ export declare const ENDPOINTS: {
|
|
|
93
102
|
VIDEOS: string;
|
|
94
103
|
WATCH_PROVIDERS: string;
|
|
95
104
|
};
|
|
105
|
+
WATCH_PROVIDERS: {
|
|
106
|
+
MOVIE: string;
|
|
107
|
+
TV: string;
|
|
108
|
+
REGIONS: string;
|
|
109
|
+
};
|
|
96
110
|
};
|
|
97
111
|
//# sourceMappingURL=routes.d.ts.map
|
package/dist/routes.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"routes.d.ts","sourceRoot":"","sources":["../src/routes.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,SAAS
|
|
1
|
+
{"version":3,"file":"routes.d.ts","sourceRoot":"","sources":["../src/routes.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6GrB,CAAC"}
|
package/dist/routes.js
CHANGED
|
@@ -38,6 +38,10 @@ export const ENDPOINTS = {
|
|
|
38
38
|
MOVIE_LIST: "/genre/movie/list",
|
|
39
39
|
TV_LIST: "/genre/tv/list",
|
|
40
40
|
},
|
|
41
|
+
KEYWORDS: {
|
|
42
|
+
DETAILS: "/keyword",
|
|
43
|
+
MOVIES: "/movies",
|
|
44
|
+
},
|
|
41
45
|
MOVIES: {
|
|
42
46
|
DETAILS: "/movie",
|
|
43
47
|
ALTERNATIVE_TITLES: "/alternative_titles",
|
|
@@ -59,6 +63,11 @@ export const ENDPOINTS = {
|
|
|
59
63
|
VIDEOS: "/videos",
|
|
60
64
|
WATCH_PROVIDERS: "/watch/providers",
|
|
61
65
|
},
|
|
66
|
+
NETWORKS: {
|
|
67
|
+
DETAILS: "/network",
|
|
68
|
+
ALTERNATIVE_NAMES: "/alternative_names",
|
|
69
|
+
IMAGES: "/images",
|
|
70
|
+
},
|
|
62
71
|
SEARCH: {
|
|
63
72
|
MOVIE: "/search/movie",
|
|
64
73
|
COLLECTION: "/search/collection",
|
|
@@ -93,4 +102,9 @@ export const ENDPOINTS = {
|
|
|
93
102
|
VIDEOS: "/videos",
|
|
94
103
|
WATCH_PROVIDERS: "/watch/providers",
|
|
95
104
|
},
|
|
105
|
+
WATCH_PROVIDERS: {
|
|
106
|
+
MOVIE: "/watch/providers/movie",
|
|
107
|
+
TV: "/watch/providers/tv",
|
|
108
|
+
REGIONS: "/watch/providers/regions",
|
|
109
|
+
},
|
|
96
110
|
};
|
package/dist/tmdb.d.ts
CHANGED
|
@@ -7,13 +7,16 @@ import { ConfigurationAPI } from "./endpoints/configuration";
|
|
|
7
7
|
import { DiscoverAPI } from "./endpoints/discover";
|
|
8
8
|
import { FindAPI } from "./endpoints/find";
|
|
9
9
|
import { GenresAPI } from "./endpoints/genres";
|
|
10
|
+
import { KeywordsAPI } from "./endpoints/keywords";
|
|
10
11
|
import { MovieListsAPI } from "./endpoints/movie_lists";
|
|
11
12
|
import { MoviesAPI } from "./endpoints/movies";
|
|
12
13
|
import { SearchAPI } from "./endpoints/search";
|
|
13
14
|
import { TVSeriesAPI } from "./endpoints/tv_series";
|
|
14
15
|
import { TVSeriesListsAPI } from "./endpoints/tv_series_lists";
|
|
16
|
+
import { WatchProvidersAPI } from "./endpoints/watch_providers";
|
|
15
17
|
import { ImageAPI } from "./images/images";
|
|
16
18
|
import { TMDBOptions } from "./types/config";
|
|
19
|
+
import { NetworksAPI } from "./endpoints/networks";
|
|
17
20
|
export declare class TMDB {
|
|
18
21
|
private client;
|
|
19
22
|
private options;
|
|
@@ -23,8 +26,10 @@ export declare class TMDB {
|
|
|
23
26
|
images: ImageAPI;
|
|
24
27
|
configuration: ConfigurationAPI;
|
|
25
28
|
genres: GenresAPI;
|
|
29
|
+
keywords: KeywordsAPI;
|
|
26
30
|
tv_lists: TVSeriesListsAPI;
|
|
27
31
|
tv_series: TVSeriesAPI;
|
|
32
|
+
watch_providers: WatchProvidersAPI;
|
|
28
33
|
certifications: CertificationsAPI;
|
|
29
34
|
changes: ChangesAPI;
|
|
30
35
|
companies: CompaniesAPI;
|
|
@@ -32,6 +37,7 @@ export declare class TMDB {
|
|
|
32
37
|
collections: CollectionsAPI;
|
|
33
38
|
discover: DiscoverAPI;
|
|
34
39
|
find: FindAPI;
|
|
40
|
+
networks: NetworksAPI;
|
|
35
41
|
/**
|
|
36
42
|
* Creates a new TMDB instance.
|
|
37
43
|
* @param accessToken The TMDB API access token.
|
package/dist/tmdb.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tmdb.d.ts","sourceRoot":"","sources":["../src/tmdb.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAC/D,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACjD,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AACrD,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACjD,OAAO,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AACzD,OAAO,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAC7D,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACnD,OAAO,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAC3C,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAC/C,OAAO,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AACxD,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAC/C,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAC/C,OAAO,EAAE,WAAW,EAAE,M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AE,SAAS,CAAC;IAClB,WAAW,EAAE,aAAa,CAAC;IAC3B,MAAM,EAAE,SAAS,CAAC;IAClB,MAAM,EAAE,QAAQ,CAAC;IACjB,aAAa,EAAE,gBAAgB,CAAC;IAChC,MAAM,EAAE,SAAS,CAAC;IAClB,QAAQ,EAAE,WAAW,CAAC;IACtB,QAAQ,EAAE,gBAAgB,CAAC;IAC3B,SAAS,EAAE,WAAW,CAAC;IACvB,eAAe,EAAE,iBAAiB,CAAC;IACnC,cAAc,EAAE,iBAAiB,CAAC;IAClC,OAAO,EAAE,UAAU,CAAC;IACpB,SAAS,EAAE,YAAY,CAAC;IACxB,OAAO,EAAE,UAAU,CAAC;IACpB,WAAW,EAAE,cAAc,CAAC;IAC5B,QAAQ,EAAE,WAAW,CAAC;IACtB,IAAI,EAAE,OAAO,CAAC;IACd,QAAQ,EAAE,WAAW,CAAC;IAG7B;;;;OAIG;gBACS,WAAW,EAAE,MAAM,EAAE,OAAO,GAAE,WAAgB;CAuB1D"}
|
package/dist/tmdb.js
CHANGED
|
@@ -9,13 +9,16 @@ import { ConfigurationAPI } from "./endpoints/configuration";
|
|
|
9
9
|
import { DiscoverAPI } from "./endpoints/discover";
|
|
10
10
|
import { FindAPI } from "./endpoints/find";
|
|
11
11
|
import { GenresAPI } from "./endpoints/genres";
|
|
12
|
+
import { KeywordsAPI } from "./endpoints/keywords";
|
|
12
13
|
import { MovieListsAPI } from "./endpoints/movie_lists";
|
|
13
14
|
import { MoviesAPI } from "./endpoints/movies";
|
|
14
15
|
import { SearchAPI } from "./endpoints/search";
|
|
15
16
|
import { TVSeriesAPI } from "./endpoints/tv_series";
|
|
16
17
|
import { TVSeriesListsAPI } from "./endpoints/tv_series_lists";
|
|
18
|
+
import { WatchProvidersAPI } from "./endpoints/watch_providers";
|
|
17
19
|
import { Errors } from "./errors/messages";
|
|
18
20
|
import { ImageAPI } from "./images/images";
|
|
21
|
+
import { NetworksAPI } from "./endpoints/networks";
|
|
19
22
|
export class TMDB {
|
|
20
23
|
client;
|
|
21
24
|
options; // ** Default options for all requests
|
|
@@ -25,8 +28,10 @@ export class TMDB {
|
|
|
25
28
|
images;
|
|
26
29
|
configuration;
|
|
27
30
|
genres;
|
|
31
|
+
keywords;
|
|
28
32
|
tv_lists;
|
|
29
33
|
tv_series;
|
|
34
|
+
watch_providers;
|
|
30
35
|
certifications;
|
|
31
36
|
changes;
|
|
32
37
|
companies;
|
|
@@ -34,6 +39,7 @@ export class TMDB {
|
|
|
34
39
|
collections;
|
|
35
40
|
discover;
|
|
36
41
|
find;
|
|
42
|
+
networks;
|
|
37
43
|
// etc...
|
|
38
44
|
/**
|
|
39
45
|
* Creates a new TMDB instance.
|
|
@@ -51,8 +57,10 @@ export class TMDB {
|
|
|
51
57
|
this.images = new ImageAPI(this.options.images);
|
|
52
58
|
this.configuration = new ConfigurationAPI(this.client, this.options);
|
|
53
59
|
this.genres = new GenresAPI(this.client, this.options);
|
|
60
|
+
this.keywords = new KeywordsAPI(this.client, this.options);
|
|
54
61
|
this.tv_lists = new TVSeriesListsAPI(this.client, this.options);
|
|
55
62
|
this.tv_series = new TVSeriesAPI(this.client, this.options);
|
|
63
|
+
this.watch_providers = new WatchProvidersAPI(this.client, this.options);
|
|
56
64
|
this.certifications = new CertificationsAPI(this.client, this.options);
|
|
57
65
|
this.changes = new ChangesAPI(this.client, this.options);
|
|
58
66
|
this.companies = new CompaniesAPI(this.client, this.options);
|
|
@@ -60,5 +68,6 @@ export class TMDB {
|
|
|
60
68
|
this.collections = new CollectionsAPI(this.client, this.options);
|
|
61
69
|
this.discover = new DiscoverAPI(this.client, this.options);
|
|
62
70
|
this.find = new FindAPI(this.client, this.options);
|
|
71
|
+
this.networks = new NetworksAPI(this.client, this.options);
|
|
63
72
|
}
|
|
64
73
|
}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import { LiteralUnion } from "../utility";
|
|
2
|
+
/**
|
|
3
|
+
* Defines the possible image collection keys returned by TMDB image endpoints.
|
|
4
|
+
*/
|
|
5
|
+
export type ImageCollectionKey = "backdrops" | "logos" | "posters" | "profiles" | "stills";
|
|
6
|
+
/**
|
|
7
|
+
* Image metadata and details
|
|
8
|
+
*/
|
|
9
|
+
export type ImageItem = {
|
|
10
|
+
/** Aspect ratio of the image (width/height) */
|
|
11
|
+
aspect_ratio: number;
|
|
12
|
+
/** Image height in pixels */
|
|
13
|
+
height: number;
|
|
14
|
+
/** ISO 639-1 language code if image contains text, null otherwise */
|
|
15
|
+
iso_639_1?: string | null;
|
|
16
|
+
/** Relative path to the image file (append to base URL) */
|
|
17
|
+
file_path: string;
|
|
18
|
+
/** Average user rating for this image */
|
|
19
|
+
vote_average: number;
|
|
20
|
+
/** Total number of votes for this image */
|
|
21
|
+
vote_count: number;
|
|
22
|
+
/** Image width in pixels */
|
|
23
|
+
width: number;
|
|
24
|
+
};
|
|
25
|
+
/**
|
|
26
|
+
* Represents a single company or network logo (slightly different from ImageItem)
|
|
27
|
+
*
|
|
28
|
+
* Note on FileType from TMDB:
|
|
29
|
+
* There are two image formats that are supported for companies, PNG's and SVG's.
|
|
30
|
+
* You can see which type the original file is by looking at the file_type field.
|
|
31
|
+
* We prefer SVG's as they are resolution independent and as such, the width and height are only
|
|
32
|
+
* there to reflect the original asset that was uploaded.
|
|
33
|
+
* An SVG can be scaled properly beyond those dimensions if you call them as a PNG.
|
|
34
|
+
*/
|
|
35
|
+
export type OrganizationImage = Omit<ImageItem, "iso_639_1"> & {
|
|
36
|
+
id: string;
|
|
37
|
+
file_type: FileType;
|
|
38
|
+
};
|
|
39
|
+
/**
|
|
40
|
+
* Represents the response from a TMDB image endpoint.
|
|
41
|
+
* Use the generic parameter to specify which image collections are present.
|
|
42
|
+
*
|
|
43
|
+
* @template K - The image collection keys available for the given entity type.
|
|
44
|
+
*
|
|
45
|
+
* @example
|
|
46
|
+
* // Company or Network (logos only)
|
|
47
|
+
* type OrganizationImagesResult = ImagesResult<"logos">;
|
|
48
|
+
*
|
|
49
|
+
* @example
|
|
50
|
+
* // Movie or TV Show (backdrops, logos and posters)
|
|
51
|
+
* type MovieImagesResult = ImagesResult<"backdrops" | "logos" | "posters">;
|
|
52
|
+
*
|
|
53
|
+
* @example
|
|
54
|
+
* // Person (profiles only)
|
|
55
|
+
* type PersonImagesResult = ImagesResult<"profiles">;
|
|
56
|
+
*/
|
|
57
|
+
export type ImagesResult<T, K extends ImageCollectionKey> = {
|
|
58
|
+
/** The unique TMDB identifier of the entity. */
|
|
59
|
+
id: number;
|
|
60
|
+
} & {
|
|
61
|
+
[P in K]: T[];
|
|
62
|
+
};
|
|
63
|
+
/** Available file type on svg (for images) */
|
|
64
|
+
export type FileType = LiteralUnion<".png" | ".svg">;
|
|
65
|
+
//# sourceMappingURL=images.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"images.d.ts","sourceRoot":"","sources":["../../../src/types/common/images.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAE1C;;GAEG;AACH,MAAM,MAAM,kBAAkB,GAAG,WAAW,GAAG,OAAO,GAAG,SAAS,GAAG,UAAU,GAAG,QAAQ,CAAC;AAE3F;;GAEG;AACH,MAAM,MAAM,SAAS,GAAG;IACvB,+CAA+C;IAC/C,YAAY,EAAE,MAAM,CAAC;IACrB,6BAA6B;IAC7B,MAAM,EAAE,MAAM,CAAC;IACf,qEAAqE;IACrE,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,2DAA2D;IAC3D,SAAS,EAAE,MAAM,CAAC;IAClB,yCAAyC;IACzC,YAAY,EAAE,MAAM,CAAC;IACrB,2CAA2C;IAC3C,UAAU,EAAE,MAAM,CAAC;IACnB,4BAA4B;IAC5B,KAAK,EAAE,MAAM,CAAC;CACd,CAAC;AAEF;;;;;;;;;GASG;AACH,MAAM,MAAM,iBAAiB,GAAG,IAAI,CAAC,SAAS,EAAE,WAAW,CAAC,GAAG;IAC9D,EAAE,EAAE,MAAM,CAAC;IACX,SAAS,EAAE,QAAQ,CAAC;CACpB,CAAC;AAEF;;;;;;;;;;;;;;;;;GAiBG;AACH,MAAM,MAAM,YAAY,CAAC,CAAC,EAAE,CAAC,SAAS,kBAAkB,IAAI;IAC3D,gDAAgD;IAChD,EAAE,EAAE,MAAM,CAAC;CACX,GAAG;KACF,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE;CACb,CAAC;AAEF,8CAA8C;AAC9C,MAAM,MAAM,QAAQ,GAAG,YAAY,CAAC,MAAM,GAAG,MAAM,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/types/common/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAC;AACxB,cAAc,cAAc,CAAC;AAC7B,cAAc,UAAU,CAAC;AACzB,cAAc,kBAAkB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/types/common/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,cAAc,CAAC;AAC7B,cAAc,UAAU,CAAC;AACzB,cAAc,kBAAkB,CAAC"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { CountryISO3166_1 } from "../config/countries";
|
|
2
|
-
import type { LiteralUnion } from "../utility";
|
|
3
2
|
/**
|
|
4
3
|
* Represents a genre of a movie or TV show.
|
|
5
4
|
*/
|
|
@@ -83,6 +82,31 @@ export type Keyword = {
|
|
|
83
82
|
id: number;
|
|
84
83
|
name: string;
|
|
85
84
|
};
|
|
85
|
+
/**
|
|
86
|
+
* Represents an alternative name entry for a company or network.
|
|
87
|
+
*
|
|
88
|
+
* @see https://developer.themoviedb.org/reference/company-alternative-names
|
|
89
|
+
* @see https://developer.themoviedb.org/reference/network-alternative-names
|
|
90
|
+
*/
|
|
91
|
+
export type AlternativeName = {
|
|
92
|
+
/** The alternative name. */
|
|
93
|
+
name: string;
|
|
94
|
+
/** The type or context of the alternative name (e.g. "short name", "abbreviation"). */
|
|
95
|
+
type: string;
|
|
96
|
+
};
|
|
97
|
+
/**
|
|
98
|
+
* Represents the response from the TMDB alternative names endpoint
|
|
99
|
+
* for a company or network.
|
|
100
|
+
*
|
|
101
|
+
* @see https://developer.themoviedb.org/reference/company-alternative-names
|
|
102
|
+
* @see https://developer.themoviedb.org/reference/network-alternative-names
|
|
103
|
+
*/
|
|
104
|
+
export type AlternativeNamesResult = {
|
|
105
|
+
/** The unique TMDB identifier of the company or network. */
|
|
106
|
+
id: number;
|
|
107
|
+
/** A list of alternative names associated with the company or network. */
|
|
108
|
+
results: AlternativeName[];
|
|
109
|
+
};
|
|
86
110
|
/**
|
|
87
111
|
* Alternative title entry
|
|
88
112
|
*/
|
|
@@ -123,25 +147,6 @@ export type VideoItem = {
|
|
|
123
147
|
* Watch provider monetization filters supported by TMDB media discovery endpoints.
|
|
124
148
|
*/
|
|
125
149
|
export type WatchMonetizationType = "flatrate" | "free" | "ads" | "rent" | "buy";
|
|
126
|
-
/**
|
|
127
|
-
* Image metadata and details
|
|
128
|
-
*/
|
|
129
|
-
export type ImageItem = {
|
|
130
|
-
/** Aspect ratio of the image (width/height) */
|
|
131
|
-
aspect_ratio: number;
|
|
132
|
-
/** Image height in pixels */
|
|
133
|
-
height: number;
|
|
134
|
-
/** ISO 639-1 language code if image contains text, null otherwise */
|
|
135
|
-
iso_639_1?: string | null;
|
|
136
|
-
/** Relative path to the image file (append to base URL) */
|
|
137
|
-
file_path: string;
|
|
138
|
-
/** Average user rating for this image */
|
|
139
|
-
vote_average: number;
|
|
140
|
-
/** Total number of votes for this image */
|
|
141
|
-
vote_count: number;
|
|
142
|
-
/** Image width in pixels */
|
|
143
|
-
width: number;
|
|
144
|
-
};
|
|
145
150
|
/**
|
|
146
151
|
* Base properties shared between movie and TV show results
|
|
147
152
|
*/
|
|
@@ -193,8 +198,6 @@ export type KnownForTV = BaseKnownForItem & {
|
|
|
193
198
|
export type KnownForItem = KnownForMovie | KnownForTV;
|
|
194
199
|
/** Available media types on TMDB */
|
|
195
200
|
export type MediaType = "movie" | "tv";
|
|
196
|
-
/** Available file type on svg (for images) */
|
|
197
|
-
export type FileType = LiteralUnion<".png" | ".svg">;
|
|
198
201
|
/**
|
|
199
202
|
* Content rating information for a TV show or movie
|
|
200
203
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"media.d.ts","sourceRoot":"","sources":["../../../src/types/common/media.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"media.d.ts","sourceRoot":"","sources":["../../../src/types/common/media.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAEvD;;GAEG;AACH,MAAM,MAAM,KAAK,GAAG;IAEnB,EAAE,EAAE,MAAM,CAAC;IAEX,IAAI,EAAE,MAAM,CAAC;CACb,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,cAAc,GAAG;IAC5B,8CAA8C;IAC9C,MAAM,EAAE,KAAK,EAAE,CAAC;CAChB,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,iBAAiB,GAAG;IAE/B,EAAE,EAAE,MAAM,CAAC;IAEX,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IAEzB,IAAI,EAAE,MAAM,CAAC;IAEb,cAAc,EAAE,MAAM,CAAC;CACvB,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,iBAAiB,GAAG;IAE/B,UAAU,EAAE,MAAM,CAAC;IAEnB,IAAI,EAAE,MAAM,CAAC;CACb,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,cAAc,GAAG;IAE5B,YAAY,EAAE,MAAM,CAAC;IAErB,SAAS,EAAE,MAAM,CAAC;IAElB,IAAI,EAAE,MAAM,CAAC;CACb,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,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gB,EAAE,MAAM,CAAC;CACzB,CAAC"}
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC;AAC3B,cAAc,UAAU,CAAC;AACzB,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC;AAC3B,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,MAAM,CAAC;AACrB,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAC"}
|