@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,141 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "properties": {
5
+ "search": {
6
+ "type": "object",
7
+ "properties": {
8
+ "movies": {
9
+ "type": "string",
10
+ "const": "/search/movie",
11
+ "description": "Search for movies by their original, translated and alternative titles."
12
+ },
13
+ "tv": {
14
+ "type": "string",
15
+ "const": "/search/tv",
16
+ "description": "Search for TV shows by their original, translated and also known as names."
17
+ }
18
+ },
19
+ "required": [
20
+ "movies",
21
+ "tv"
22
+ ]
23
+ },
24
+ "movie": {
25
+ "type": "object",
26
+ "properties": {
27
+ "now_playing": {
28
+ "type": "string",
29
+ "const": "/movie/now_playing",
30
+ "description": "Get a list of movies that are currently in theatres."
31
+ },
32
+ "popular": {
33
+ "type": "string",
34
+ "const": "/movie/popular",
35
+ "description": "Get a list of movies ordered by popularity."
36
+ },
37
+ "top_rated": {
38
+ "type": "string",
39
+ "const": "/movie/top_rated",
40
+ "description": "Get a list of movies ordered by rating."
41
+ },
42
+ "upcoming": {
43
+ "type": "string",
44
+ "const": "/movie/upcoming",
45
+ "description": "Get a list of movies that are being released soon."
46
+ },
47
+ "details": {
48
+ "type": "string",
49
+ "const": "/movie/{movie_id}",
50
+ "description": "Get the top level details of a movie by ID."
51
+ },
52
+ "images": {
53
+ "type": "string",
54
+ "const": "/movie/{movie_id}/images",
55
+ "description": "Get the images that belong to a movie."
56
+ },
57
+ "videos": {
58
+ "type": "string",
59
+ "const": "/movie/{movie_id}/videos",
60
+ "description": "Get the videos that belong to a movie."
61
+ },
62
+ "similar": {
63
+ "type": "string",
64
+ "const": "/movie/{movie_id}/similar",
65
+ "description": "Get the similar movies based on genres and keywords."
66
+ }
67
+ },
68
+ "required": [
69
+ "now_playing",
70
+ "popular",
71
+ "top_rated",
72
+ "upcoming",
73
+ "details",
74
+ "images",
75
+ "videos",
76
+ "similar"
77
+ ]
78
+ },
79
+ "tv": {
80
+ "type": "object",
81
+ "properties": {
82
+ "airing_today": {
83
+ "type": "string",
84
+ "const": "/tv/airing_today",
85
+ "description": "Get a list of TV shows airing today."
86
+ },
87
+ "on_the_air": {
88
+ "type": "string",
89
+ "const": "/tv/on_the_air",
90
+ "description": "Get a list of TV shows that air in the next 7 days."
91
+ },
92
+ "popular": {
93
+ "type": "string",
94
+ "const": "/tv/popular",
95
+ "description": "Get a list of TV shows ordered by popularity."
96
+ },
97
+ "top_rated": {
98
+ "type": "string",
99
+ "const": "/tv/top_rated",
100
+ "description": "Get a list of TV shows ordered by rating."
101
+ },
102
+ "details": {
103
+ "type": "string",
104
+ "const": "/tv/{tv_id}",
105
+ "description": "Get the top level details of a TV show by ID."
106
+ },
107
+ "images": {
108
+ "type": "string",
109
+ "const": "/tv/{tv_id}/images",
110
+ "description": "Get the images that belong to a TV show."
111
+ },
112
+ "videos": {
113
+ "type": "string",
114
+ "const": "/tv/{tv_id}/videos",
115
+ "description": "Get the videos that belong to a TV show."
116
+ },
117
+ "similar": {
118
+ "type": "string",
119
+ "const": "/tv/{tv_id}/similar",
120
+ "description": "Get the similar TV shows."
121
+ }
122
+ },
123
+ "required": [
124
+ "airing_today",
125
+ "on_the_air",
126
+ "popular",
127
+ "top_rated",
128
+ "details",
129
+ "images",
130
+ "videos",
131
+ "similar"
132
+ ]
133
+ }
134
+ },
135
+ "required": [
136
+ "search",
137
+ "movie",
138
+ "tv"
139
+ ],
140
+ "description": "API Endpoints"
141
+ }
@@ -0,0 +1,6 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "string",
4
+ "const": "https://image.tmdb.org/t/p",
5
+ "description": "Base URL for images"
6
+ }