@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,134 @@
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
+ "results": {
10
+ "type": "array",
11
+ "items": {
12
+ "type": "object",
13
+ "properties": {
14
+ "backdrop_path": {
15
+ "anyOf": [
16
+ {
17
+ "type": "string"
18
+ },
19
+ {
20
+ "type": "null"
21
+ }
22
+ ],
23
+ "description": "Backdrop path (relative URL)"
24
+ },
25
+ "first_air_date": {
26
+ "anyOf": [
27
+ {
28
+ "type": "string"
29
+ },
30
+ {
31
+ "type": "null"
32
+ }
33
+ ],
34
+ "description": "First air date (YYYY-MM-DD format)"
35
+ },
36
+ "genre_ids": {
37
+ "type": "array",
38
+ "items": {
39
+ "type": "number"
40
+ },
41
+ "description": "Array of genre IDs"
42
+ },
43
+ "id": {
44
+ "type": "number",
45
+ "description": "Unique identifier for the serie"
46
+ },
47
+ "name": {
48
+ "type": "string",
49
+ "description": "Serie name"
50
+ },
51
+ "origin_country": {
52
+ "type": "array",
53
+ "items": {
54
+ "type": "string"
55
+ },
56
+ "description": "Array of origin countries"
57
+ },
58
+ "original_language": {
59
+ "type": "string",
60
+ "description": "Original language code (e.g., 'en', 'es', 'fr')"
61
+ },
62
+ "original_name": {
63
+ "type": "string",
64
+ "description": "Original serie name (in original language)"
65
+ },
66
+ "overview": {
67
+ "anyOf": [
68
+ {
69
+ "type": "string"
70
+ },
71
+ {
72
+ "type": "null"
73
+ }
74
+ ],
75
+ "description": "Serie overview/synopsis"
76
+ },
77
+ "popularity": {
78
+ "type": "number",
79
+ "description": "Popularity score"
80
+ },
81
+ "poster_path": {
82
+ "anyOf": [
83
+ {
84
+ "type": "string"
85
+ },
86
+ {
87
+ "type": "null"
88
+ }
89
+ ],
90
+ "description": "Poster path (relative URL)"
91
+ },
92
+ "vote_average": {
93
+ "type": "number",
94
+ "description": "Average vote rating (0-10)"
95
+ },
96
+ "vote_count": {
97
+ "type": "number",
98
+ "description": "Total number of votes"
99
+ }
100
+ },
101
+ "required": [
102
+ "backdrop_path",
103
+ "first_air_date",
104
+ "genre_ids",
105
+ "id",
106
+ "name",
107
+ "origin_country",
108
+ "original_language",
109
+ "original_name",
110
+ "overview",
111
+ "popularity",
112
+ "poster_path",
113
+ "vote_average",
114
+ "vote_count"
115
+ ]
116
+ },
117
+ "description": "Series"
118
+ },
119
+ "total_pages": {
120
+ "type": "number",
121
+ "description": "Total pages"
122
+ },
123
+ "total_results": {
124
+ "type": "number",
125
+ "description": "Total results"
126
+ }
127
+ },
128
+ "required": [
129
+ "page",
130
+ "results",
131
+ "total_pages",
132
+ "total_results"
133
+ ]
134
+ }
@@ -0,0 +1,40 @@
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 creator"
8
+ },
9
+ "credit_id": {
10
+ "type": "string",
11
+ "description": "Credit ID"
12
+ },
13
+ "name": {
14
+ "type": "string",
15
+ "description": "Creator name"
16
+ },
17
+ "gender": {
18
+ "type": "number",
19
+ "description": "Creator gender"
20
+ },
21
+ "profile_path": {
22
+ "anyOf": [
23
+ {
24
+ "type": "string"
25
+ },
26
+ {
27
+ "type": "null"
28
+ }
29
+ ],
30
+ "description": "Creator profile path (relative URL)"
31
+ }
32
+ },
33
+ "required": [
34
+ "id",
35
+ "credit_id",
36
+ "name",
37
+ "gender",
38
+ "profile_path"
39
+ ]
40
+ }
@@ -0,0 +1,89 @@
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 episode"
8
+ },
9
+ "name": {
10
+ "type": "string",
11
+ "description": "Episode name"
12
+ },
13
+ "overview": {
14
+ "anyOf": [
15
+ {
16
+ "type": "string"
17
+ },
18
+ {
19
+ "type": "null"
20
+ }
21
+ ],
22
+ "description": "Episode overview/synopsis"
23
+ },
24
+ "vote_average": {
25
+ "type": "number",
26
+ "description": "Average vote rating (0-10)"
27
+ },
28
+ "vote_count": {
29
+ "type": "number",
30
+ "description": "Total number of votes"
31
+ },
32
+ "air_date": {
33
+ "type": "string",
34
+ "description": "Air date (YYYY-MM-DD format)"
35
+ },
36
+ "episode_number": {
37
+ "type": "number",
38
+ "description": "Episode number"
39
+ },
40
+ "production_code": {
41
+ "type": "string",
42
+ "description": "Production code"
43
+ },
44
+ "runtime": {
45
+ "anyOf": [
46
+ {
47
+ "type": "number"
48
+ },
49
+ {
50
+ "type": "null"
51
+ }
52
+ ],
53
+ "description": "Runtime in minutes"
54
+ },
55
+ "season_number": {
56
+ "type": "number",
57
+ "description": "Season number"
58
+ },
59
+ "show_id": {
60
+ "type": "number",
61
+ "description": "Show ID"
62
+ },
63
+ "still_path": {
64
+ "anyOf": [
65
+ {
66
+ "type": "string"
67
+ },
68
+ {
69
+ "type": "null"
70
+ }
71
+ ],
72
+ "description": "Still path (relative URL)"
73
+ }
74
+ },
75
+ "required": [
76
+ "id",
77
+ "name",
78
+ "overview",
79
+ "vote_average",
80
+ "vote_count",
81
+ "air_date",
82
+ "episode_number",
83
+ "production_code",
84
+ "runtime",
85
+ "season_number",
86
+ "show_id",
87
+ "still_path"
88
+ ]
89
+ }
@@ -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 network"
8
+ },
9
+ "name": {
10
+ "type": "string",
11
+ "description": "Network 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": "Network origin country"
27
+ }
28
+ },
29
+ "required": [
30
+ "id",
31
+ "name",
32
+ "logo_path",
33
+ "origin_country"
34
+ ]
35
+ }
@@ -0,0 +1,31 @@
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
+ "query": {
14
+ "type": "string",
15
+ "description": "Search query"
16
+ },
17
+ "include_adult": {
18
+ "description": "Include adult movies",
19
+ "type": "boolean"
20
+ },
21
+ "year": {
22
+ "description": "Year",
23
+ "type": "number"
24
+ }
25
+ },
26
+ "required": [
27
+ "page",
28
+ "language",
29
+ "query"
30
+ ]
31
+ }
@@ -0,0 +1,57 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "properties": {
5
+ "air_date": {
6
+ "type": "string",
7
+ "description": "Air date (YYYY-MM-DD format)"
8
+ },
9
+ "episode_count": {
10
+ "type": "number",
11
+ "description": "Episode count"
12
+ },
13
+ "id": {
14
+ "type": "number",
15
+ "description": "Unique identifier for the season"
16
+ },
17
+ "name": {
18
+ "type": "string",
19
+ "description": "Season name"
20
+ },
21
+ "overview": {
22
+ "anyOf": [
23
+ {
24
+ "type": "string"
25
+ },
26
+ {
27
+ "type": "null"
28
+ }
29
+ ],
30
+ "description": "Season overview/synopsis"
31
+ },
32
+ "poster_path": {
33
+ "anyOf": [
34
+ {
35
+ "type": "string"
36
+ },
37
+ {
38
+ "type": "null"
39
+ }
40
+ ],
41
+ "description": "Poster path (relative URL)"
42
+ },
43
+ "season_number": {
44
+ "type": "number",
45
+ "description": "Season number"
46
+ }
47
+ },
48
+ "required": [
49
+ "air_date",
50
+ "episode_count",
51
+ "id",
52
+ "name",
53
+ "overview",
54
+ "poster_path",
55
+ "season_number"
56
+ ]
57
+ }
@@ -0,0 +1,18 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "properties": {
5
+ "append_to_response": {
6
+ "description": "Append to response",
7
+ "type": "string"
8
+ },
9
+ "include_image_language": {
10
+ "description": "Include image language",
11
+ "type": "string"
12
+ },
13
+ "language": {
14
+ "description": "Language",
15
+ "type": "string"
16
+ }
17
+ }
18
+ }