@segha/tmdb 0.0.1

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.
Files changed (83) hide show
  1. package/README.md +401 -0
  2. package/index.ts +4 -0
  3. package/json-schemas/API/AiringTodayTVEndpoint.json +6 -0
  4. package/json-schemas/API/AllEndpoints.json +107 -0
  5. package/json-schemas/API/BaseUrl.json +6 -0
  6. package/json-schemas/API/ConfigurationSchema.json +13 -0
  7. package/json-schemas/API/EndpointsSchema.json +141 -0
  8. package/json-schemas/API/ImageBaseUrl.json +6 -0
  9. package/json-schemas/API/MethodsSchema.json +3791 -0
  10. package/json-schemas/API/MovieDetailsEndpoint.json +6 -0
  11. package/json-schemas/API/MovieEndpoints.json +45 -0
  12. package/json-schemas/API/MovieImagesEndpoint.json +6 -0
  13. package/json-schemas/API/MovieSimilarEndpoint.json +6 -0
  14. package/json-schemas/API/MovieVideosEndpoint.json +6 -0
  15. package/json-schemas/API/NowPlayingMoviesEndpoint.json +6 -0
  16. package/json-schemas/API/OnTheAirTVEndpoint.json +6 -0
  17. package/json-schemas/API/PopularMoviesEndpoint.json +6 -0
  18. package/json-schemas/API/PopularTVEndpoint.json +6 -0
  19. package/json-schemas/API/SearchEndpoints.json +15 -0
  20. package/json-schemas/API/SearchMoviesEndpoint.json +6 -0
  21. package/json-schemas/API/SearchTVEndpoint.json +6 -0
  22. package/json-schemas/API/SpecSchema.json +3817 -0
  23. package/json-schemas/API/TVDetailsEndpoint.json +6 -0
  24. package/json-schemas/API/TVEndpoints.json +45 -0
  25. package/json-schemas/API/TVImagesEndpoint.json +6 -0
  26. package/json-schemas/API/TVSimilarEndpoint.json +6 -0
  27. package/json-schemas/API/TVVideosEndpoint.json +6 -0
  28. package/json-schemas/API/TopRatedMoviesEndpoint.json +6 -0
  29. package/json-schemas/API/TopRatedTVEndpoint.json +6 -0
  30. package/json-schemas/API/UpcomingMoviesEndpoint.json +6 -0
  31. package/json-schemas/API/Version.json +6 -0
  32. package/json-schemas/API/index.json +8107 -0
  33. package/json-schemas/BackdropSizeSchema.json +11 -0
  34. package/json-schemas/DataTypes/BackdropSizeSchema.json +11 -0
  35. package/json-schemas/DataTypes/GenreSchema.json +18 -0
  36. package/json-schemas/DataTypes/ImageSchema.json +50 -0
  37. package/json-schemas/DataTypes/ImagesResponseSchema.json +175 -0
  38. package/json-schemas/DataTypes/LanguageSchema.json +23 -0
  39. package/json-schemas/DataTypes/PaginationParamsSchema.json +19 -0
  40. package/json-schemas/DataTypes/PosterSizeSchema.json +14 -0
  41. package/json-schemas/DataTypes/ProductionCompanySchema.json +35 -0
  42. package/json-schemas/DataTypes/ProductionCountrySchema.json +18 -0
  43. package/json-schemas/DataTypes/VideoSchema.json +58 -0
  44. package/json-schemas/DataTypes/VideosResponseSchema.json +75 -0
  45. package/json-schemas/DataTypes/index.json +503 -0
  46. package/json-schemas/GenreSchema.json +18 -0
  47. package/json-schemas/ImageSchema.json +50 -0
  48. package/json-schemas/ImagesResponseSchema.json +175 -0
  49. package/json-schemas/LanguageSchema.json +23 -0
  50. package/json-schemas/MovieDetailsParamsSchema.json +18 -0
  51. package/json-schemas/MovieDetailsSchema.json +246 -0
  52. package/json-schemas/MovieSchema.json +81 -0
  53. package/json-schemas/Movies/MovieDetailsParamsSchema.json +18 -0
  54. package/json-schemas/Movies/MovieDetailsSchema.json +246 -0
  55. package/json-schemas/Movies/MovieSchema.json +81 -0
  56. package/json-schemas/Movies/MoviesResponseSchema.json +108 -0
  57. package/json-schemas/Movies/SearchMoviesParamsSchema.json +31 -0
  58. package/json-schemas/Movies/index.json +491 -0
  59. package/json-schemas/MoviesResponseSchema.json +108 -0
  60. package/json-schemas/PaginationParamsSchema.json +19 -0
  61. package/json-schemas/PosterSizeSchema.json +14 -0
  62. package/json-schemas/ProductionCompanySchema.json +35 -0
  63. package/json-schemas/ProductionCountrySchema.json +18 -0
  64. package/json-schemas/SearchMoviesParamsSchema.json +31 -0
  65. package/json-schemas/SearchSeriesParamsSchema.json +31 -0
  66. package/json-schemas/SerieDetailsParamsSchema.json +18 -0
  67. package/json-schemas/SerieDetailsSchema.json +523 -0
  68. package/json-schemas/SerieSchema.json +107 -0
  69. package/json-schemas/SeriesResponseSchema.json +134 -0
  70. package/json-schemas/TVSeries/CreatorSchema.json +40 -0
  71. package/json-schemas/TVSeries/EpisodeSchema.json +89 -0
  72. package/json-schemas/TVSeries/NetworkSchema.json +35 -0
  73. package/json-schemas/TVSeries/SearchSeriesParamsSchema.json +31 -0
  74. package/json-schemas/TVSeries/SeasonSchema.json +57 -0
  75. package/json-schemas/TVSeries/SerieDetailsParamsSchema.json +18 -0
  76. package/json-schemas/TVSeries/SerieDetailsSchema.json +523 -0
  77. package/json-schemas/TVSeries/SerieSchema.json +107 -0
  78. package/json-schemas/TVSeries/SeriesResponseSchema.json +134 -0
  79. package/json-schemas/TVSeries/index.json +1041 -0
  80. package/json-schemas/VideoSchema.json +58 -0
  81. package/json-schemas/VideosResponseSchema.json +75 -0
  82. package/json-schemas/index.json +1800 -0
  83. package/package.json +50 -0
@@ -0,0 +1,11 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "string",
4
+ "enum": [
5
+ "w300",
6
+ "w780",
7
+ "w1280",
8
+ "original"
9
+ ],
10
+ "description": "Backdrop size"
11
+ }
@@ -0,0 +1,11 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "string",
4
+ "enum": [
5
+ "w300",
6
+ "w780",
7
+ "w1280",
8
+ "original"
9
+ ],
10
+ "description": "Backdrop size"
11
+ }
@@ -0,0 +1,18 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "properties": {
5
+ "id": {
6
+ "type": "number",
7
+ "description": "Unique identifier for the genre"
8
+ },
9
+ "name": {
10
+ "type": "string",
11
+ "description": "Genre name"
12
+ }
13
+ },
14
+ "required": [
15
+ "id",
16
+ "name"
17
+ ]
18
+ }
@@ -0,0 +1,50 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "properties": {
5
+ "aspect_ratio": {
6
+ "type": "number",
7
+ "description": "Aspect ratio"
8
+ },
9
+ "height": {
10
+ "type": "number",
11
+ "description": "Height"
12
+ },
13
+ "iso_639_1": {
14
+ "anyOf": [
15
+ {
16
+ "type": "string"
17
+ },
18
+ {
19
+ "type": "null"
20
+ }
21
+ ],
22
+ "description": "Spoken language ISO 639-1 code"
23
+ },
24
+ "file_path": {
25
+ "type": "string",
26
+ "description": "File path"
27
+ },
28
+ "vote_average": {
29
+ "type": "number",
30
+ "description": "Vote average"
31
+ },
32
+ "vote_count": {
33
+ "type": "number",
34
+ "description": "Vote count"
35
+ },
36
+ "width": {
37
+ "type": "number",
38
+ "description": "Width"
39
+ }
40
+ },
41
+ "required": [
42
+ "aspect_ratio",
43
+ "height",
44
+ "iso_639_1",
45
+ "file_path",
46
+ "vote_average",
47
+ "vote_count",
48
+ "width"
49
+ ]
50
+ }
@@ -0,0 +1,175 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "properties": {
5
+ "id": {
6
+ "type": "number",
7
+ "description": "Image ID"
8
+ },
9
+ "backdrops": {
10
+ "type": "array",
11
+ "items": {
12
+ "type": "object",
13
+ "properties": {
14
+ "aspect_ratio": {
15
+ "type": "number",
16
+ "description": "Aspect ratio"
17
+ },
18
+ "height": {
19
+ "type": "number",
20
+ "description": "Height"
21
+ },
22
+ "iso_639_1": {
23
+ "anyOf": [
24
+ {
25
+ "type": "string"
26
+ },
27
+ {
28
+ "type": "null"
29
+ }
30
+ ],
31
+ "description": "Spoken language ISO 639-1 code"
32
+ },
33
+ "file_path": {
34
+ "type": "string",
35
+ "description": "File path"
36
+ },
37
+ "vote_average": {
38
+ "type": "number",
39
+ "description": "Vote average"
40
+ },
41
+ "vote_count": {
42
+ "type": "number",
43
+ "description": "Vote count"
44
+ },
45
+ "width": {
46
+ "type": "number",
47
+ "description": "Width"
48
+ }
49
+ },
50
+ "required": [
51
+ "aspect_ratio",
52
+ "height",
53
+ "iso_639_1",
54
+ "file_path",
55
+ "vote_average",
56
+ "vote_count",
57
+ "width"
58
+ ]
59
+ },
60
+ "description": "Backdrops"
61
+ },
62
+ "logos": {
63
+ "type": "array",
64
+ "items": {
65
+ "type": "object",
66
+ "properties": {
67
+ "aspect_ratio": {
68
+ "type": "number",
69
+ "description": "Aspect ratio"
70
+ },
71
+ "height": {
72
+ "type": "number",
73
+ "description": "Height"
74
+ },
75
+ "iso_639_1": {
76
+ "anyOf": [
77
+ {
78
+ "type": "string"
79
+ },
80
+ {
81
+ "type": "null"
82
+ }
83
+ ],
84
+ "description": "Spoken language ISO 639-1 code"
85
+ },
86
+ "file_path": {
87
+ "type": "string",
88
+ "description": "File path"
89
+ },
90
+ "vote_average": {
91
+ "type": "number",
92
+ "description": "Vote average"
93
+ },
94
+ "vote_count": {
95
+ "type": "number",
96
+ "description": "Vote count"
97
+ },
98
+ "width": {
99
+ "type": "number",
100
+ "description": "Width"
101
+ }
102
+ },
103
+ "required": [
104
+ "aspect_ratio",
105
+ "height",
106
+ "iso_639_1",
107
+ "file_path",
108
+ "vote_average",
109
+ "vote_count",
110
+ "width"
111
+ ]
112
+ },
113
+ "description": "Logos"
114
+ },
115
+ "posters": {
116
+ "type": "array",
117
+ "items": {
118
+ "type": "object",
119
+ "properties": {
120
+ "aspect_ratio": {
121
+ "type": "number",
122
+ "description": "Aspect ratio"
123
+ },
124
+ "height": {
125
+ "type": "number",
126
+ "description": "Height"
127
+ },
128
+ "iso_639_1": {
129
+ "anyOf": [
130
+ {
131
+ "type": "string"
132
+ },
133
+ {
134
+ "type": "null"
135
+ }
136
+ ],
137
+ "description": "Spoken language ISO 639-1 code"
138
+ },
139
+ "file_path": {
140
+ "type": "string",
141
+ "description": "File path"
142
+ },
143
+ "vote_average": {
144
+ "type": "number",
145
+ "description": "Vote average"
146
+ },
147
+ "vote_count": {
148
+ "type": "number",
149
+ "description": "Vote count"
150
+ },
151
+ "width": {
152
+ "type": "number",
153
+ "description": "Width"
154
+ }
155
+ },
156
+ "required": [
157
+ "aspect_ratio",
158
+ "height",
159
+ "iso_639_1",
160
+ "file_path",
161
+ "vote_average",
162
+ "vote_count",
163
+ "width"
164
+ ]
165
+ },
166
+ "description": "Posters"
167
+ }
168
+ },
169
+ "required": [
170
+ "id",
171
+ "backdrops",
172
+ "logos",
173
+ "posters"
174
+ ]
175
+ }
@@ -0,0 +1,23 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "properties": {
5
+ "iso_639_1": {
6
+ "type": "string",
7
+ "description": "Spoken language ISO 639-1 code"
8
+ },
9
+ "name": {
10
+ "type": "string",
11
+ "description": "Spoken language name"
12
+ },
13
+ "english_name": {
14
+ "type": "string",
15
+ "description": "Spoken language English name"
16
+ }
17
+ },
18
+ "required": [
19
+ "iso_639_1",
20
+ "name",
21
+ "english_name"
22
+ ]
23
+ }
@@ -0,0 +1,19 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "properties": {
5
+ "page": {
6
+ "type": "number",
7
+ "description": "Page number"
8
+ },
9
+ "language": {
10
+ "type": "string",
11
+ "description": "Language code"
12
+ }
13
+ },
14
+ "required": [
15
+ "page",
16
+ "language"
17
+ ],
18
+ "description": "Pagination parameters"
19
+ }
@@ -0,0 +1,14 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "string",
4
+ "enum": [
5
+ "w92",
6
+ "w154",
7
+ "w185",
8
+ "w342",
9
+ "w500",
10
+ "w780",
11
+ "original"
12
+ ],
13
+ "description": "Poster size"
14
+ }
@@ -0,0 +1,35 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "properties": {
5
+ "id": {
6
+ "type": "number",
7
+ "description": "Unique identifier for the production company"
8
+ },
9
+ "name": {
10
+ "type": "string",
11
+ "description": "Production company name"
12
+ },
13
+ "logo_path": {
14
+ "anyOf": [
15
+ {
16
+ "type": "string"
17
+ },
18
+ {
19
+ "type": "null"
20
+ }
21
+ ],
22
+ "description": "Logo path (relative URL)"
23
+ },
24
+ "origin_country": {
25
+ "type": "string",
26
+ "description": "Production company origin country"
27
+ }
28
+ },
29
+ "required": [
30
+ "id",
31
+ "name",
32
+ "logo_path",
33
+ "origin_country"
34
+ ]
35
+ }
@@ -0,0 +1,18 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "properties": {
5
+ "iso_3166_1": {
6
+ "type": "string",
7
+ "description": "Production country ISO 3166-1 Alpha-2 code"
8
+ },
9
+ "name": {
10
+ "type": "string",
11
+ "description": "Production country name"
12
+ }
13
+ },
14
+ "required": [
15
+ "iso_3166_1",
16
+ "name"
17
+ ]
18
+ }
@@ -0,0 +1,58 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "properties": {
5
+ "iso_639_1": {
6
+ "type": "string",
7
+ "description": "Spoken language ISO 639-1 code"
8
+ },
9
+ "iso_3166_1": {
10
+ "type": "string",
11
+ "description": "Production country ISO 3166-1 Alpha-2 code"
12
+ },
13
+ "name": {
14
+ "type": "string",
15
+ "description": "Video name"
16
+ },
17
+ "key": {
18
+ "type": "string",
19
+ "description": "Video key"
20
+ },
21
+ "site": {
22
+ "type": "string",
23
+ "description": "Video site"
24
+ },
25
+ "size": {
26
+ "type": "number",
27
+ "description": "Video size"
28
+ },
29
+ "type": {
30
+ "type": "string",
31
+ "description": "Video type"
32
+ },
33
+ "official": {
34
+ "type": "boolean",
35
+ "description": "Video official"
36
+ },
37
+ "published_at": {
38
+ "type": "string",
39
+ "description": "Video published at"
40
+ },
41
+ "id": {
42
+ "type": "string",
43
+ "description": "Video ID"
44
+ }
45
+ },
46
+ "required": [
47
+ "iso_639_1",
48
+ "iso_3166_1",
49
+ "name",
50
+ "key",
51
+ "site",
52
+ "size",
53
+ "type",
54
+ "official",
55
+ "published_at",
56
+ "id"
57
+ ]
58
+ }
@@ -0,0 +1,75 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "properties": {
5
+ "id": {
6
+ "type": "number",
7
+ "description": "Video ID"
8
+ },
9
+ "results": {
10
+ "type": "array",
11
+ "items": {
12
+ "type": "object",
13
+ "properties": {
14
+ "iso_639_1": {
15
+ "type": "string",
16
+ "description": "Spoken language ISO 639-1 code"
17
+ },
18
+ "iso_3166_1": {
19
+ "type": "string",
20
+ "description": "Production country ISO 3166-1 Alpha-2 code"
21
+ },
22
+ "name": {
23
+ "type": "string",
24
+ "description": "Video name"
25
+ },
26
+ "key": {
27
+ "type": "string",
28
+ "description": "Video key"
29
+ },
30
+ "site": {
31
+ "type": "string",
32
+ "description": "Video site"
33
+ },
34
+ "size": {
35
+ "type": "number",
36
+ "description": "Video size"
37
+ },
38
+ "type": {
39
+ "type": "string",
40
+ "description": "Video type"
41
+ },
42
+ "official": {
43
+ "type": "boolean",
44
+ "description": "Video official"
45
+ },
46
+ "published_at": {
47
+ "type": "string",
48
+ "description": "Video published at"
49
+ },
50
+ "id": {
51
+ "type": "string",
52
+ "description": "Video ID"
53
+ }
54
+ },
55
+ "required": [
56
+ "iso_639_1",
57
+ "iso_3166_1",
58
+ "name",
59
+ "key",
60
+ "site",
61
+ "size",
62
+ "type",
63
+ "official",
64
+ "published_at",
65
+ "id"
66
+ ]
67
+ },
68
+ "description": "Videos"
69
+ }
70
+ },
71
+ "required": [
72
+ "id",
73
+ "results"
74
+ ]
75
+ }