kuapir 0.1.2
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.
- checksums.yaml +7 -0
- data/Gemfile +13 -0
- data/Gemfile.lock +77 -0
- data/LICENSE +21 -0
- data/README.md +170 -0
- data/Rakefile +12 -0
- data/docs/BoxOffice.md +26 -0
- data/docs/BoxOfficeResponse.md +20 -0
- data/docs/Company.md +18 -0
- data/docs/Country.md +18 -0
- data/docs/DigitalReleaseItem.md +44 -0
- data/docs/DigitalReleaseResponse.md +22 -0
- data/docs/Distribution.md +28 -0
- data/docs/DistributionResponse.md +20 -0
- data/docs/Episode.md +28 -0
- data/docs/Fact.md +22 -0
- data/docs/FactResponse.md +20 -0
- data/docs/Film.md +100 -0
- data/docs/FilmSearchByFiltersResponse.md +22 -0
- data/docs/FilmSearchByFiltersResponseItems.md +42 -0
- data/docs/FilmSearchResponse.md +24 -0
- data/docs/FilmSearchResponseFilms.md +42 -0
- data/docs/FilmSequelsAndPrequelsResponse.md +30 -0
- data/docs/FilmTopResponse.md +20 -0
- data/docs/FilmTopResponseFilms.md +38 -0
- data/docs/FilmsApi.md +1126 -0
- data/docs/FiltersResponse.md +20 -0
- data/docs/FiltersResponseCountries.md +20 -0
- data/docs/FiltersResponseGenres.md +20 -0
- data/docs/Genre.md +18 -0
- data/docs/ImageResponse.md +22 -0
- data/docs/ImageResponseItems.md +20 -0
- data/docs/PersonByNameResponse.md +20 -0
- data/docs/PersonByNameResponseItems.md +28 -0
- data/docs/PersonResponse.md +50 -0
- data/docs/PersonResponseFilms.md +30 -0
- data/docs/PersonResponseSpouses.md +32 -0
- data/docs/PersonsApi.md +83 -0
- data/docs/PremiereResponse.md +20 -0
- data/docs/PremiereResponseItem.md +36 -0
- data/docs/RelatedFilmResponse.md +20 -0
- data/docs/RelatedFilmResponseItems.md +30 -0
- data/docs/ReviewDetailsResponse.md +32 -0
- data/docs/ReviewsApi.md +155 -0
- data/docs/ReviewsResponse.md +34 -0
- data/docs/ReviewsResponseReviews.md +32 -0
- data/docs/Season.md +20 -0
- data/docs/SeasonResponse.md +20 -0
- data/docs/StaffApi.md +147 -0
- data/docs/StaffResponse.md +30 -0
- data/docs/VideoResponse.md +20 -0
- data/docs/VideoResponseItems.md +22 -0
- data/kinopoiskapiunofficial-openapi.json +2918 -0
- data/kuapir.gemspec +42 -0
- data/lib/kuapir/api/films_api.rb +1193 -0
- data/lib/kuapir/api/persons_api.rb +89 -0
- data/lib/kuapir/api/reviews_api.rb +165 -0
- data/lib/kuapir/api/staff_api.rb +145 -0
- data/lib/kuapir/api_client.rb +390 -0
- data/lib/kuapir/api_error.rb +57 -0
- data/lib/kuapir/configuration.rb +287 -0
- data/lib/kuapir/models/box_office.rb +246 -0
- data/lib/kuapir/models/box_office_response.rb +224 -0
- data/lib/kuapir/models/company.rb +214 -0
- data/lib/kuapir/models/country.rb +214 -0
- data/lib/kuapir/models/digital_release_item.rb +334 -0
- data/lib/kuapir/models/digital_release_response.rb +232 -0
- data/lib/kuapir/models/distribution.rb +300 -0
- data/lib/kuapir/models/distribution_response.rb +224 -0
- data/lib/kuapir/models/episode.rb +249 -0
- data/lib/kuapir/models/fact.rb +266 -0
- data/lib/kuapir/models/fact_response.rb +224 -0
- data/lib/kuapir/models/film.rb +551 -0
- data/lib/kuapir/models/film_search_by_filters_response.rb +232 -0
- data/lib/kuapir/models/film_search_by_filters_response_items.rb +319 -0
- data/lib/kuapir/models/film_search_response.rb +244 -0
- data/lib/kuapir/models/film_search_response_films.rb +311 -0
- data/lib/kuapir/models/film_sequels_and_prequels_response.rb +300 -0
- data/lib/kuapir/models/film_top_response.rb +224 -0
- data/lib/kuapir/models/film_top_response_films.rb +272 -0
- data/lib/kuapir/models/filters_response.rb +226 -0
- data/lib/kuapir/models/filters_response_countries.rb +214 -0
- data/lib/kuapir/models/filters_response_genres.rb +214 -0
- data/lib/kuapir/models/genre.rb +214 -0
- data/lib/kuapir/models/image_response.rb +238 -0
- data/lib/kuapir/models/image_response_items.rb +214 -0
- data/lib/kuapir/models/person_by_name_response.rb +224 -0
- data/lib/kuapir/models/person_by_name_response_items.rb +274 -0
- data/lib/kuapir/models/person_response.rb +363 -0
- data/lib/kuapir/models/person_response_films.rb +284 -0
- data/lib/kuapir/models/person_response_spouses.rb +283 -0
- data/lib/kuapir/models/premiere_response.rb +224 -0
- data/lib/kuapir/models/premiere_response_item.rb +289 -0
- data/lib/kuapir/models/related_film_response.rb +224 -0
- data/lib/kuapir/models/related_film_response_items.rb +279 -0
- data/lib/kuapir/models/review_details_response.rb +314 -0
- data/lib/kuapir/models/reviews_response.rb +294 -0
- data/lib/kuapir/models/reviews_response_reviews.rb +282 -0
- data/lib/kuapir/models/season.rb +224 -0
- data/lib/kuapir/models/season_response.rb +224 -0
- data/lib/kuapir/models/staff_response.rb +301 -0
- data/lib/kuapir/models/video_response.rb +224 -0
- data/lib/kuapir/models/video_response_items.rb +255 -0
- data/lib/kuapir/version.rb +5 -0
- data/lib/kuapir.rb +83 -0
- data/openapi-generator-templates/Gemfile.mustache +9 -0
- data/openapi-generator-templates/README.mustache +148 -0
- data/openapi-generator-templates/Rakefile.mustache +10 -0
- data/openapi-generator-templates/api.mustache +205 -0
- data/openapi-generator-templates/api_client.mustache +260 -0
- data/openapi-generator-templates/api_client_faraday_partial.mustache +136 -0
- data/openapi-generator-templates/api_client_spec.mustache +216 -0
- data/openapi-generator-templates/api_client_typhoeus_partial.mustache +153 -0
- data/openapi-generator-templates/api_doc.mustache +118 -0
- data/openapi-generator-templates/api_error.mustache +45 -0
- data/openapi-generator-templates/api_info.mustache +12 -0
- data/openapi-generator-templates/api_test.mustache +43 -0
- data/openapi-generator-templates/base_object.mustache +120 -0
- data/openapi-generator-templates/configuration.mustache +381 -0
- data/openapi-generator-templates/configuration_spec.mustache +30 -0
- data/openapi-generator-templates/configuration_tls_faraday_partial.mustache +29 -0
- data/openapi-generator-templates/configuration_tls_typhoeus_partial.mustache +34 -0
- data/openapi-generator-templates/gem.mustache +50 -0
- data/openapi-generator-templates/gemspec.mustache +31 -0
- data/openapi-generator-templates/git_push.sh.mustache +57 -0
- data/openapi-generator-templates/gitignore.mustache +39 -0
- data/openapi-generator-templates/model.mustache +22 -0
- data/openapi-generator-templates/model_doc.mustache +12 -0
- data/openapi-generator-templates/model_test.mustache +73 -0
- data/openapi-generator-templates/partial_model_enum_class.mustache +20 -0
- data/openapi-generator-templates/partial_model_generic.mustache +371 -0
- data/openapi-generator-templates/partial_model_generic_doc.mustache +28 -0
- data/openapi-generator-templates/partial_oneof_module.mustache +137 -0
- data/openapi-generator-templates/partial_oneof_module_doc.mustache +92 -0
- data/openapi-generator-templates/rspec.mustache +2 -0
- data/openapi-generator-templates/rubocop.mustache +148 -0
- data/openapi-generator-templates/spec_helper.mustache +99 -0
- data/openapi-generator-templates/travis.mustache +14 -0
- data/openapi-generator-templates/version.mustache +3 -0
- data/openapitools.json +21 -0
- data/spec/api/films_api_spec.rb +227 -0
- data/spec/api/persons_api_spec.rb +45 -0
- data/spec/api/reviews_api_spec.rb +57 -0
- data/spec/api/staff_api_spec.rb +54 -0
- data/spec/api_client_spec.rb +229 -0
- data/spec/configuration_spec.rb +28 -0
- data/spec/models/box_office_response_spec.rb +37 -0
- data/spec/models/box_office_spec.rb +55 -0
- data/spec/models/company_spec.rb +31 -0
- data/spec/models/country_spec.rb +31 -0
- data/spec/models/digital_release_item_spec.rb +109 -0
- data/spec/models/digital_release_response_spec.rb +43 -0
- data/spec/models/distribution_response_spec.rb +37 -0
- data/spec/models/distribution_spec.rb +69 -0
- data/spec/models/episode_spec.rb +61 -0
- data/spec/models/fact_response_spec.rb +37 -0
- data/spec/models/fact_spec.rb +47 -0
- data/spec/models/film_search_by_filters_response_items_spec.rb +107 -0
- data/spec/models/film_search_by_filters_response_spec.rb +43 -0
- data/spec/models/film_search_response_films_spec.rb +107 -0
- data/spec/models/film_search_response_spec.rb +49 -0
- data/spec/models/film_sequels_and_prequels_response_spec.rb +71 -0
- data/spec/models/film_spec.rb +285 -0
- data/spec/models/film_top_response_films_spec.rb +91 -0
- data/spec/models/film_top_response_spec.rb +37 -0
- data/spec/models/filters_response_countries_spec.rb +37 -0
- data/spec/models/filters_response_genres_spec.rb +37 -0
- data/spec/models/filters_response_spec.rb +37 -0
- data/spec/models/genre_spec.rb +31 -0
- data/spec/models/image_response_items_spec.rb +37 -0
- data/spec/models/image_response_spec.rb +43 -0
- data/spec/models/person_by_name_response_items_spec.rb +65 -0
- data/spec/models/person_by_name_response_spec.rb +37 -0
- data/spec/models/person_response_films_spec.rb +71 -0
- data/spec/models/person_response_spec.rb +131 -0
- data/spec/models/person_response_spouses_spec.rb +77 -0
- data/spec/models/premiere_response_item_spec.rb +85 -0
- data/spec/models/premiere_response_spec.rb +37 -0
- data/spec/models/related_film_response_items_spec.rb +71 -0
- data/spec/models/related_film_response_spec.rb +37 -0
- data/spec/models/review_details_response_spec.rb +77 -0
- data/spec/models/reviews_response_reviews_spec.rb +77 -0
- data/spec/models/reviews_response_spec.rb +79 -0
- data/spec/models/season_response_spec.rb +37 -0
- data/spec/models/season_spec.rb +37 -0
- data/spec/models/staff_response_spec.rb +71 -0
- data/spec/models/video_response_items_spec.rb +47 -0
- data/spec/models/video_response_spec.rb +37 -0
- data/spec/spec_helper.rb +107 -0
- metadata +326 -0
data/docs/Film.md
ADDED
@@ -0,0 +1,100 @@
|
|
1
|
+
# Kuapir::Film
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **kinopoisk_id** | **Integer** | | |
|
8
|
+
| **imdb_id** | **String** | | |
|
9
|
+
| **name_ru** | **String** | | |
|
10
|
+
| **name_en** | **String** | | |
|
11
|
+
| **name_original** | **String** | | |
|
12
|
+
| **poster_url** | **String** | | |
|
13
|
+
| **poster_url_preview** | **String** | | |
|
14
|
+
| **reviews_count** | **Integer** | | |
|
15
|
+
| **rating_good_review** | **Float** | | |
|
16
|
+
| **rating_good_review_vote_count** | **Integer** | | |
|
17
|
+
| **rating_kinopoisk** | **Float** | | |
|
18
|
+
| **rating_kinopoisk_vote_count** | **Integer** | | |
|
19
|
+
| **rating_imdb** | **Float** | | |
|
20
|
+
| **rating_imdb_vote_count** | **Integer** | | |
|
21
|
+
| **rating_film_critics** | **Float** | | |
|
22
|
+
| **rating_film_critics_vote_count** | **Integer** | | |
|
23
|
+
| **rating_await** | **Float** | | |
|
24
|
+
| **rating_await_count** | **Integer** | | |
|
25
|
+
| **rating_rf_critics** | **Float** | | |
|
26
|
+
| **rating_rf_critics_vote_count** | **Integer** | | |
|
27
|
+
| **web_url** | **String** | | |
|
28
|
+
| **year** | **Integer** | | |
|
29
|
+
| **film_length** | **Integer** | | |
|
30
|
+
| **slogan** | **String** | | |
|
31
|
+
| **description** | **String** | | |
|
32
|
+
| **short_description** | **String** | | |
|
33
|
+
| **editor_annotation** | **String** | | |
|
34
|
+
| **is_tickets_available** | **Boolean** | | |
|
35
|
+
| **production_status** | **String** | | |
|
36
|
+
| **type** | **String** | | |
|
37
|
+
| **rating_mpaa** | **String** | | |
|
38
|
+
| **rating_age_limits** | **String** | | |
|
39
|
+
| **has_imax** | **Boolean** | | |
|
40
|
+
| **has3_d** | **Boolean** | | |
|
41
|
+
| **last_sync** | **String** | | |
|
42
|
+
| **countries** | [**Array<Country>**](Country.md) | | |
|
43
|
+
| **genres** | [**Array<Genre>**](Genre.md) | | |
|
44
|
+
| **start_year** | **Integer** | | |
|
45
|
+
| **end_year** | **Integer** | | |
|
46
|
+
| **serial** | **Boolean** | | [optional] |
|
47
|
+
| **short_film** | **Boolean** | | [optional] |
|
48
|
+
| **completed** | **Boolean** | | [optional] |
|
49
|
+
|
50
|
+
## Example
|
51
|
+
|
52
|
+
```ruby
|
53
|
+
require 'kuapir'
|
54
|
+
|
55
|
+
instance = Kuapir::Film.new(
|
56
|
+
kinopoisk_id: 301,
|
57
|
+
imdb_id: tt0133093,
|
58
|
+
name_ru: Матрица,
|
59
|
+
name_en: The Matrix,
|
60
|
+
name_original: The Matrix,
|
61
|
+
poster_url: https://kinopoiskapiunofficial.tech/images/posters/kp/301.jpg,
|
62
|
+
poster_url_preview: https://kinopoiskapiunofficial.tech/images/posters/kp_small/301.jpg,
|
63
|
+
reviews_count: 293,
|
64
|
+
rating_good_review: 88.9,
|
65
|
+
rating_good_review_vote_count: 257,
|
66
|
+
rating_kinopoisk: 8.5,
|
67
|
+
rating_kinopoisk_vote_count: 524108,
|
68
|
+
rating_imdb: 8.7,
|
69
|
+
rating_imdb_vote_count: 1729087,
|
70
|
+
rating_film_critics: 7.8,
|
71
|
+
rating_film_critics_vote_count: 155,
|
72
|
+
rating_await: 7.8,
|
73
|
+
rating_await_count: 2,
|
74
|
+
rating_rf_critics: 7.8,
|
75
|
+
rating_rf_critics_vote_count: 31,
|
76
|
+
web_url: https://www.kinopoisk.ru/film/301/,
|
77
|
+
year: 1999,
|
78
|
+
film_length: 136,
|
79
|
+
slogan: Добро пожаловать в реальный мир,
|
80
|
+
description: Жизнь Томаса Андерсона разделена на две части:,
|
81
|
+
short_description: Хакер Нео узнает, что его мир — виртуальный. Выдающийся экшен, доказавший, что зрелищное кино может быть умным,
|
82
|
+
editor_annotation: Фильм доступен только на языке оригинала с русскими субтитрами,
|
83
|
+
is_tickets_available: false,
|
84
|
+
production_status: POST_PRODUCTION,
|
85
|
+
type: FILM,
|
86
|
+
rating_mpaa: r,
|
87
|
+
rating_age_limits: age16,
|
88
|
+
has_imax: false,
|
89
|
+
has3_d: false,
|
90
|
+
last_sync: 2021-07-29T20:07:49.109817,
|
91
|
+
countries: null,
|
92
|
+
genres: null,
|
93
|
+
start_year: 1996,
|
94
|
+
end_year: 1996,
|
95
|
+
serial: false,
|
96
|
+
short_film: false,
|
97
|
+
completed: false
|
98
|
+
)
|
99
|
+
```
|
100
|
+
|
@@ -0,0 +1,22 @@
|
|
1
|
+
# Kuapir::FilmSearchByFiltersResponse
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **total** | **Integer** | | |
|
8
|
+
| **total_pages** | **Integer** | | |
|
9
|
+
| **items** | [**Array<FilmSearchByFiltersResponseItems>**](FilmSearchByFiltersResponseItems.md) | | |
|
10
|
+
|
11
|
+
## Example
|
12
|
+
|
13
|
+
```ruby
|
14
|
+
require 'kuapir'
|
15
|
+
|
16
|
+
instance = Kuapir::FilmSearchByFiltersResponse.new(
|
17
|
+
total: 7,
|
18
|
+
total_pages: 1,
|
19
|
+
items: null
|
20
|
+
)
|
21
|
+
```
|
22
|
+
|
@@ -0,0 +1,42 @@
|
|
1
|
+
# Kuapir::FilmSearchByFiltersResponseItems
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **kinopoisk_id** | **Integer** | | [optional] |
|
8
|
+
| **imdb_id** | **String** | | [optional] |
|
9
|
+
| **name_ru** | **String** | | [optional] |
|
10
|
+
| **name_en** | **String** | | [optional] |
|
11
|
+
| **name_original** | **String** | | [optional] |
|
12
|
+
| **countries** | [**Array<Country>**](Country.md) | | [optional] |
|
13
|
+
| **genres** | [**Array<Genre>**](Genre.md) | | [optional] |
|
14
|
+
| **rating_kinopoisk** | **Float** | | [optional] |
|
15
|
+
| **rating_imdb** | **Float** | | [optional] |
|
16
|
+
| **year** | **Float** | | [optional] |
|
17
|
+
| **type** | **String** | | [optional] |
|
18
|
+
| **poster_url** | **String** | | [optional] |
|
19
|
+
| **poster_url_preview** | **String** | | [optional] |
|
20
|
+
|
21
|
+
## Example
|
22
|
+
|
23
|
+
```ruby
|
24
|
+
require 'kuapir'
|
25
|
+
|
26
|
+
instance = Kuapir::FilmSearchByFiltersResponseItems.new(
|
27
|
+
kinopoisk_id: 263531,
|
28
|
+
imdb_id: tt0050561,
|
29
|
+
name_ru: Мстители,
|
30
|
+
name_en: The Avengers,
|
31
|
+
name_original: The Avengers,
|
32
|
+
countries: null,
|
33
|
+
genres: null,
|
34
|
+
rating_kinopoisk: 7.9,
|
35
|
+
rating_imdb: 7.9,
|
36
|
+
year: 2012,
|
37
|
+
type: FILM,
|
38
|
+
poster_url: http://kinopoiskapiunofficial.tech/images/posters/kp/263531.jpg,
|
39
|
+
poster_url_preview: https://kinopoiskapiunofficial.tech/images/posters/kp_small/301.jpg
|
40
|
+
)
|
41
|
+
```
|
42
|
+
|
@@ -0,0 +1,24 @@
|
|
1
|
+
# Kuapir::FilmSearchResponse
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **keyword** | **String** | | |
|
8
|
+
| **pages_count** | **Integer** | | |
|
9
|
+
| **search_films_count_result** | **Integer** | | |
|
10
|
+
| **films** | [**Array<FilmSearchResponseFilms>**](FilmSearchResponseFilms.md) | | |
|
11
|
+
|
12
|
+
## Example
|
13
|
+
|
14
|
+
```ruby
|
15
|
+
require 'kuapir'
|
16
|
+
|
17
|
+
instance = Kuapir::FilmSearchResponse.new(
|
18
|
+
keyword: мстители,
|
19
|
+
pages_count: 7,
|
20
|
+
search_films_count_result: 134,
|
21
|
+
films: null
|
22
|
+
)
|
23
|
+
```
|
24
|
+
|
@@ -0,0 +1,42 @@
|
|
1
|
+
# Kuapir::FilmSearchResponseFilms
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **film_id** | **Integer** | | [optional] |
|
8
|
+
| **name_ru** | **String** | | [optional] |
|
9
|
+
| **name_en** | **String** | | [optional] |
|
10
|
+
| **type** | **String** | | [optional] |
|
11
|
+
| **year** | **String** | | [optional] |
|
12
|
+
| **description** | **String** | | [optional] |
|
13
|
+
| **film_length** | **String** | | [optional] |
|
14
|
+
| **countries** | [**Array<Country>**](Country.md) | | [optional] |
|
15
|
+
| **genres** | [**Array<Genre>**](Genre.md) | | [optional] |
|
16
|
+
| **rating** | **String** | | [optional] |
|
17
|
+
| **rating_vote_count** | **Integer** | | [optional] |
|
18
|
+
| **poster_url** | **String** | | [optional] |
|
19
|
+
| **poster_url_preview** | **String** | | [optional] |
|
20
|
+
|
21
|
+
## Example
|
22
|
+
|
23
|
+
```ruby
|
24
|
+
require 'kuapir'
|
25
|
+
|
26
|
+
instance = Kuapir::FilmSearchResponseFilms.new(
|
27
|
+
film_id: 263531,
|
28
|
+
name_ru: Мстители,
|
29
|
+
name_en: The Avengers,
|
30
|
+
type: FILM,
|
31
|
+
year: 2012,
|
32
|
+
description: США, Джосс Уидон(фантастика),
|
33
|
+
film_length: 2:17,
|
34
|
+
countries: null,
|
35
|
+
genres: null,
|
36
|
+
rating: NOTE!!! 7.9 for released film or 99% if film have not released yet,
|
37
|
+
rating_vote_count: 284245,
|
38
|
+
poster_url: http://kinopoiskapiunofficial.tech/images/posters/kp/263531.jpg,
|
39
|
+
poster_url_preview: https://kinopoiskapiunofficial.tech/images/posters/kp_small/301.jpg
|
40
|
+
)
|
41
|
+
```
|
42
|
+
|
@@ -0,0 +1,30 @@
|
|
1
|
+
# Kuapir::FilmSequelsAndPrequelsResponse
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **film_id** | **Integer** | | |
|
8
|
+
| **name_ru** | **String** | | |
|
9
|
+
| **name_en** | **String** | | |
|
10
|
+
| **name_original** | **String** | | |
|
11
|
+
| **poster_url** | **String** | | |
|
12
|
+
| **poster_url_preview** | **String** | | |
|
13
|
+
| **relation_type** | **String** | | |
|
14
|
+
|
15
|
+
## Example
|
16
|
+
|
17
|
+
```ruby
|
18
|
+
require 'kuapir'
|
19
|
+
|
20
|
+
instance = Kuapir::FilmSequelsAndPrequelsResponse.new(
|
21
|
+
film_id: 301,
|
22
|
+
name_ru: Матрица,
|
23
|
+
name_en: The Matrix,
|
24
|
+
name_original: The Matrix,
|
25
|
+
poster_url: https://kinopoiskapiunofficial.tech/images/posters/kp/301.jpg,
|
26
|
+
poster_url_preview: https://kinopoiskapiunofficial.tech/images/posters/kp_small/301.jpg,
|
27
|
+
relation_type: SEQUEL
|
28
|
+
)
|
29
|
+
```
|
30
|
+
|
@@ -0,0 +1,20 @@
|
|
1
|
+
# Kuapir::FilmTopResponse
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **pages_count** | **Integer** | | |
|
8
|
+
| **films** | [**Array<FilmTopResponseFilms>**](FilmTopResponseFilms.md) | | |
|
9
|
+
|
10
|
+
## Example
|
11
|
+
|
12
|
+
```ruby
|
13
|
+
require 'kuapir'
|
14
|
+
|
15
|
+
instance = Kuapir::FilmTopResponse.new(
|
16
|
+
pages_count: 7,
|
17
|
+
films: null
|
18
|
+
)
|
19
|
+
```
|
20
|
+
|
@@ -0,0 +1,38 @@
|
|
1
|
+
# Kuapir::FilmTopResponseFilms
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **film_id** | **Integer** | | [optional] |
|
8
|
+
| **name_ru** | **String** | | [optional] |
|
9
|
+
| **name_en** | **String** | | [optional] |
|
10
|
+
| **year** | **String** | | [optional] |
|
11
|
+
| **film_length** | **String** | | [optional] |
|
12
|
+
| **countries** | [**Array<Country>**](Country.md) | | [optional] |
|
13
|
+
| **genres** | [**Array<Genre>**](Genre.md) | | [optional] |
|
14
|
+
| **rating** | **Float** | | [optional] |
|
15
|
+
| **rating_vote_count** | **Integer** | | [optional] |
|
16
|
+
| **poster_url** | **String** | | [optional] |
|
17
|
+
| **poster_url_preview** | **String** | | [optional] |
|
18
|
+
|
19
|
+
## Example
|
20
|
+
|
21
|
+
```ruby
|
22
|
+
require 'kuapir'
|
23
|
+
|
24
|
+
instance = Kuapir::FilmTopResponseFilms.new(
|
25
|
+
film_id: 263531,
|
26
|
+
name_ru: Мстители,
|
27
|
+
name_en: The Avengers,
|
28
|
+
year: 2012,
|
29
|
+
film_length: 137,
|
30
|
+
countries: null,
|
31
|
+
genres: null,
|
32
|
+
rating: 7.9,
|
33
|
+
rating_vote_count: 284245,
|
34
|
+
poster_url: http://kinopoiskapiunofficial.tech/images/posters/kp/263531.jpg,
|
35
|
+
poster_url_preview: https://kinopoiskapiunofficial.tech/images/posters/kp_small/301.jpg
|
36
|
+
)
|
37
|
+
```
|
38
|
+
|