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
@@ -0,0 +1,34 @@
|
|
1
|
+
# Kuapir::ReviewsResponse
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **page** | **Integer** | | |
|
8
|
+
| **film_id** | **Integer** | | |
|
9
|
+
| **review_all_count** | **Integer** | | |
|
10
|
+
| **review_all_positive_ratio** | **String** | | |
|
11
|
+
| **review_positive_count** | **Integer** | | |
|
12
|
+
| **review_negative_count** | **Integer** | | |
|
13
|
+
| **review_neutral_count** | **Integer** | | |
|
14
|
+
| **pages_count** | **Integer** | | |
|
15
|
+
| **reviews** | [**Array<ReviewsResponseReviews>**](ReviewsResponseReviews.md) | | |
|
16
|
+
|
17
|
+
## Example
|
18
|
+
|
19
|
+
```ruby
|
20
|
+
require 'kuapir'
|
21
|
+
|
22
|
+
instance = Kuapir::ReviewsResponse.new(
|
23
|
+
page: 1,
|
24
|
+
film_id: 301,
|
25
|
+
review_all_count: 299,
|
26
|
+
review_all_positive_ratio: 88.9%,
|
27
|
+
review_positive_count: 247,
|
28
|
+
review_negative_count: 24,
|
29
|
+
review_neutral_count: 28,
|
30
|
+
pages_count: 15,
|
31
|
+
reviews: null
|
32
|
+
)
|
33
|
+
```
|
34
|
+
|
@@ -0,0 +1,32 @@
|
|
1
|
+
# Kuapir::ReviewsResponseReviews
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **review_id** | **Integer** | | [optional] |
|
8
|
+
| **review_type** | **String** | | [optional] |
|
9
|
+
| **review_data** | **String** | | [optional] |
|
10
|
+
| **user_positive_rating** | **String** | | [optional] |
|
11
|
+
| **user_negative_rating** | **String** | | [optional] |
|
12
|
+
| **review_autor** | **String** | | [optional] |
|
13
|
+
| **review_title** | **String** | | [optional] |
|
14
|
+
| **review_description** | **Float** | | [optional] |
|
15
|
+
|
16
|
+
## Example
|
17
|
+
|
18
|
+
```ruby
|
19
|
+
require 'kuapir'
|
20
|
+
|
21
|
+
instance = Kuapir::ReviewsResponseReviews.new(
|
22
|
+
review_id: 2879700,
|
23
|
+
review_type: NEUTRAL,
|
24
|
+
review_data: 2020-02-16T10:43:00,
|
25
|
+
user_positive_rating: null,
|
26
|
+
user_negative_rating: null,
|
27
|
+
review_autor: Дегустатор,
|
28
|
+
review_title: Иллюзорность мира и духовное пробуждение,
|
29
|
+
review_description: null
|
30
|
+
)
|
31
|
+
```
|
32
|
+
|
data/docs/Season.md
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
# Kuapir::Season
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **number** | **Integer** | | |
|
8
|
+
| **episodes** | [**Array<Episode>**](Episode.md) | | |
|
9
|
+
|
10
|
+
## Example
|
11
|
+
|
12
|
+
```ruby
|
13
|
+
require 'kuapir'
|
14
|
+
|
15
|
+
instance = Kuapir::Season.new(
|
16
|
+
number: 1,
|
17
|
+
episodes: null
|
18
|
+
)
|
19
|
+
```
|
20
|
+
|
@@ -0,0 +1,20 @@
|
|
1
|
+
# Kuapir::SeasonResponse
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **total** | **Integer** | | |
|
8
|
+
| **items** | [**Array<Season>**](Season.md) | | |
|
9
|
+
|
10
|
+
## Example
|
11
|
+
|
12
|
+
```ruby
|
13
|
+
require 'kuapir'
|
14
|
+
|
15
|
+
instance = Kuapir::SeasonResponse.new(
|
16
|
+
total: 5,
|
17
|
+
items: null
|
18
|
+
)
|
19
|
+
```
|
20
|
+
|
data/docs/StaffApi.md
ADDED
@@ -0,0 +1,147 @@
|
|
1
|
+
# Kuapir::StaffApi
|
2
|
+
|
3
|
+
All URIs are relative to *https://kinopoiskapiunofficial.tech*
|
4
|
+
|
5
|
+
| Method | HTTP request | Description |
|
6
|
+
| ------ | ------------ | ----------- |
|
7
|
+
| [**api_v1_staff_get**](StaffApi.md#api_v1_staff_get) | **GET** /api/v1/staff | получить данные об актерах, режисерах и т.д. по kinopoisk film id |
|
8
|
+
| [**api_v1_staff_id_get**](StaffApi.md#api_v1_staff_id_get) | **GET** /api/v1/staff/{id} | получить данные о конкретном человеке по kinopoisk person id |
|
9
|
+
|
10
|
+
|
11
|
+
## api_v1_staff_get
|
12
|
+
|
13
|
+
> <Array<StaffResponse>> api_v1_staff_get(film_id)
|
14
|
+
|
15
|
+
получить данные об актерах, режисерах и т.д. по kinopoisk film id
|
16
|
+
|
17
|
+
### Examples
|
18
|
+
|
19
|
+
```ruby
|
20
|
+
require 'time'
|
21
|
+
require 'kuapir'
|
22
|
+
# setup authorization
|
23
|
+
Kuapir.configure do |config|
|
24
|
+
# Configure API key authorization: ApiKeyAuth
|
25
|
+
config.api_key['ApiKeyAuth'] = 'YOUR API KEY'
|
26
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
27
|
+
# config.api_key_prefix['ApiKeyAuth'] = 'Bearer'
|
28
|
+
end
|
29
|
+
|
30
|
+
api_instance = Kuapir::StaffApi.new
|
31
|
+
film_id = 56 # Integer | kinopoisk film id
|
32
|
+
|
33
|
+
begin
|
34
|
+
# получить данные об актерах, режисерах и т.д. по kinopoisk film id
|
35
|
+
result = api_instance.api_v1_staff_get(film_id)
|
36
|
+
p result
|
37
|
+
rescue Kuapir::ApiError => e
|
38
|
+
puts "Error when calling StaffApi->api_v1_staff_get: #{e}"
|
39
|
+
end
|
40
|
+
```
|
41
|
+
|
42
|
+
#### Using the api_v1_staff_get_with_http_info variant
|
43
|
+
|
44
|
+
This returns an Array which contains the response data, status code and headers.
|
45
|
+
|
46
|
+
> <Array(<Array<StaffResponse>>, Integer, Hash)> api_v1_staff_get_with_http_info(film_id)
|
47
|
+
|
48
|
+
```ruby
|
49
|
+
begin
|
50
|
+
# получить данные об актерах, режисерах и т.д. по kinopoisk film id
|
51
|
+
data, status_code, headers = api_instance.api_v1_staff_get_with_http_info(film_id)
|
52
|
+
p status_code # => 2xx
|
53
|
+
p headers # => { ... }
|
54
|
+
p data # => <Array<StaffResponse>>
|
55
|
+
rescue Kuapir::ApiError => e
|
56
|
+
puts "Error when calling StaffApi->api_v1_staff_get_with_http_info: #{e}"
|
57
|
+
end
|
58
|
+
```
|
59
|
+
|
60
|
+
### Parameters
|
61
|
+
|
62
|
+
| Name | Type | Description | Notes |
|
63
|
+
| ---- | ---- | ----------- | ----- |
|
64
|
+
| **film_id** | **Integer** | kinopoisk film id | |
|
65
|
+
|
66
|
+
### Return type
|
67
|
+
|
68
|
+
[**Array<StaffResponse>**](StaffResponse.md)
|
69
|
+
|
70
|
+
### Authorization
|
71
|
+
|
72
|
+
[ApiKeyAuth](../README.md#ApiKeyAuth)
|
73
|
+
|
74
|
+
### HTTP request headers
|
75
|
+
|
76
|
+
- **Content-Type**: Not defined
|
77
|
+
- **Accept**: application/json
|
78
|
+
|
79
|
+
|
80
|
+
## api_v1_staff_id_get
|
81
|
+
|
82
|
+
> <PersonResponse> api_v1_staff_id_get(id)
|
83
|
+
|
84
|
+
получить данные о конкретном человеке по kinopoisk person id
|
85
|
+
|
86
|
+
### Examples
|
87
|
+
|
88
|
+
```ruby
|
89
|
+
require 'time'
|
90
|
+
require 'kuapir'
|
91
|
+
# setup authorization
|
92
|
+
Kuapir.configure do |config|
|
93
|
+
# Configure API key authorization: ApiKeyAuth
|
94
|
+
config.api_key['ApiKeyAuth'] = 'YOUR API KEY'
|
95
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
96
|
+
# config.api_key_prefix['ApiKeyAuth'] = 'Bearer'
|
97
|
+
end
|
98
|
+
|
99
|
+
api_instance = Kuapir::StaffApi.new
|
100
|
+
id = 56 # Integer | kinopoisk person id
|
101
|
+
|
102
|
+
begin
|
103
|
+
# получить данные о конкретном человеке по kinopoisk person id
|
104
|
+
result = api_instance.api_v1_staff_id_get(id)
|
105
|
+
p result
|
106
|
+
rescue Kuapir::ApiError => e
|
107
|
+
puts "Error when calling StaffApi->api_v1_staff_id_get: #{e}"
|
108
|
+
end
|
109
|
+
```
|
110
|
+
|
111
|
+
#### Using the api_v1_staff_id_get_with_http_info variant
|
112
|
+
|
113
|
+
This returns an Array which contains the response data, status code and headers.
|
114
|
+
|
115
|
+
> <Array(<PersonResponse>, Integer, Hash)> api_v1_staff_id_get_with_http_info(id)
|
116
|
+
|
117
|
+
```ruby
|
118
|
+
begin
|
119
|
+
# получить данные о конкретном человеке по kinopoisk person id
|
120
|
+
data, status_code, headers = api_instance.api_v1_staff_id_get_with_http_info(id)
|
121
|
+
p status_code # => 2xx
|
122
|
+
p headers # => { ... }
|
123
|
+
p data # => <PersonResponse>
|
124
|
+
rescue Kuapir::ApiError => e
|
125
|
+
puts "Error when calling StaffApi->api_v1_staff_id_get_with_http_info: #{e}"
|
126
|
+
end
|
127
|
+
```
|
128
|
+
|
129
|
+
### Parameters
|
130
|
+
|
131
|
+
| Name | Type | Description | Notes |
|
132
|
+
| ---- | ---- | ----------- | ----- |
|
133
|
+
| **id** | **Integer** | kinopoisk person id | |
|
134
|
+
|
135
|
+
### Return type
|
136
|
+
|
137
|
+
[**PersonResponse**](PersonResponse.md)
|
138
|
+
|
139
|
+
### Authorization
|
140
|
+
|
141
|
+
[ApiKeyAuth](../README.md#ApiKeyAuth)
|
142
|
+
|
143
|
+
### HTTP request headers
|
144
|
+
|
145
|
+
- **Content-Type**: Not defined
|
146
|
+
- **Accept**: application/json
|
147
|
+
|
@@ -0,0 +1,30 @@
|
|
1
|
+
# Kuapir::StaffResponse
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **staff_id** | **Integer** | | |
|
8
|
+
| **name_ru** | **String** | | |
|
9
|
+
| **name_en** | **String** | | |
|
10
|
+
| **description** | **String** | | |
|
11
|
+
| **poster_url** | **String** | | |
|
12
|
+
| **profession_text** | **String** | | |
|
13
|
+
| **profession_key** | **String** | | |
|
14
|
+
|
15
|
+
## Example
|
16
|
+
|
17
|
+
```ruby
|
18
|
+
require 'kuapir'
|
19
|
+
|
20
|
+
instance = Kuapir::StaffResponse.new(
|
21
|
+
staff_id: 66539,
|
22
|
+
name_ru: Винс Гиллиган,
|
23
|
+
name_en: Vince Gilligan,
|
24
|
+
description: Neo,
|
25
|
+
poster_url: https://st.kp.yandex.net/images/actor/66539.jpg,
|
26
|
+
profession_text: Режиссеры,
|
27
|
+
profession_key: DIRECTOR
|
28
|
+
)
|
29
|
+
```
|
30
|
+
|
@@ -0,0 +1,20 @@
|
|
1
|
+
# Kuapir::VideoResponse
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **total** | **Integer** | | |
|
8
|
+
| **items** | [**Array<VideoResponseItems>**](VideoResponseItems.md) | | |
|
9
|
+
|
10
|
+
## Example
|
11
|
+
|
12
|
+
```ruby
|
13
|
+
require 'kuapir'
|
14
|
+
|
15
|
+
instance = Kuapir::VideoResponse.new(
|
16
|
+
total: 50,
|
17
|
+
items: null
|
18
|
+
)
|
19
|
+
```
|
20
|
+
|
@@ -0,0 +1,22 @@
|
|
1
|
+
# Kuapir::VideoResponseItems
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **url** | **String** | | [optional] |
|
8
|
+
| **name** | **String** | | [optional] |
|
9
|
+
| **site** | **String** | | [optional] |
|
10
|
+
|
11
|
+
## Example
|
12
|
+
|
13
|
+
```ruby
|
14
|
+
require 'kuapir'
|
15
|
+
|
16
|
+
instance = Kuapir::VideoResponseItems.new(
|
17
|
+
url: https://www.youtube.com/watch?v=gbcVZgO4n4E,
|
18
|
+
name: Мстители: Финал – официальный трейлер (16+),
|
19
|
+
site: YOUTUBE
|
20
|
+
)
|
21
|
+
```
|
22
|
+
|