Module: KinopoiskDevApi
- Defined in:
- lib/kinopoisk_dev_api.rb,
lib/kinopoisk_dev_api/types.rb,
lib/kinopoisk_dev_api/client.rb,
lib/kinopoisk_dev_api/version.rb,
lib/kinopoisk_dev_api/endpoints.rb,
lib/kinopoisk_dev_api/inflector.rb,
lib/kinopoisk_dev_api/types/base.rb,
lib/kinopoisk_dev_api/types/fees.rb,
lib/kinopoisk_dev_api/types/list.rb,
lib/kinopoisk_dev_api/types/logo.rb,
lib/kinopoisk_dev_api/types/name.rb,
lib/kinopoisk_dev_api/types/image.rb,
lib/kinopoisk_dev_api/types/movie.rb,
lib/kinopoisk_dev_api/types/video.rb,
lib/kinopoisk_dev_api/types/votes.rb,
lib/kinopoisk_dev_api/types/person.rb,
lib/kinopoisk_dev_api/types/rating.rb,
lib/kinopoisk_dev_api/types/review.rb,
lib/kinopoisk_dev_api/types/studio.rb,
lib/kinopoisk_dev_api/configuration.rb,
lib/kinopoisk_dev_api/types/keyword.rb,
lib/kinopoisk_dev_api/types/spouses.rb,
lib/kinopoisk_dev_api/types/audience.rb,
lib/kinopoisk_dev_api/types/premiere.rb,
lib/kinopoisk_dev_api/exceptions/base.rb,
lib/kinopoisk_dev_api/types/item_name.rb,
lib/kinopoisk_dev_api/types/nomination.rb,
lib/kinopoisk_dev_api/types/profession.rb,
lib/kinopoisk_dev_api/types/year_range.rb,
lib/kinopoisk_dev_api/types/birth_place.rb,
lib/kinopoisk_dev_api/types/compactable.rb,
lib/kinopoisk_dev_api/types/death_place.rb,
lib/kinopoisk_dev_api/types/external_id.rb,
lib/kinopoisk_dev_api/types/movie_award.rb,
lib/kinopoisk_dev_api/types/review_info.rb,
lib/kinopoisk_dev_api/types/season_info.rb,
lib/kinopoisk_dev_api/types/season_v1_4.rb,
lib/kinopoisk_dev_api/types/short_image.rb,
lib/kinopoisk_dev_api/types/video_types.rb,
lib/kinopoisk_dev_api/types/episode_v1_4.rb,
lib/kinopoisk_dev_api/types/person_award.rb,
lib/kinopoisk_dev_api/types/watchability.rb,
lib/kinopoisk_dev_api/types/fact_in_movie.rb,
lib/kinopoisk_dev_api/types/networks_v1_4.rb,
lib/kinopoisk_dev_api/types/currency_value.rb,
lib/kinopoisk_dev_api/types/fact_in_person.rb,
lib/kinopoisk_dev_api/types/movie_dto_v1_4.rb,
lib/kinopoisk_dev_api/types/movie_in_person.rb,
lib/kinopoisk_dev_api/types/person_in_movie.rb,
lib/kinopoisk_dev_api/types/nomination_award.rb,
lib/kinopoisk_dev_api/types/pattern_matching.rb,
lib/kinopoisk_dev_api/types/linked_movie_v1_4.rb,
lib/kinopoisk_dev_api/types/movie_from_studio.rb,
lib/kinopoisk_dev_api/types/network_item_v1_4.rb,
lib/kinopoisk_dev_api/types/watchability_item.rb,
lib/kinopoisk_dev_api/types/movie_from_keyword.rb,
lib/kinopoisk_dev_api/types/possible_value_dto.rb,
lib/kinopoisk_dev_api/exceptions/response_error.rb,
lib/kinopoisk_dev_api/types/search_movie_dto_v1_4.rb,
lib/kinopoisk_dev_api/types/meili_person_entity_v1_4.rb,
lib/kinopoisk_dev_api/types/list_docs_response_dto_v1_4.rb,
lib/kinopoisk_dev_api/types/image_docs_response_dto_v1_4.rb,
lib/kinopoisk_dev_api/types/movie_docs_response_dto_v1_4.rb,
lib/kinopoisk_dev_api/types/movie_award_docs_response_dto.rb,
lib/kinopoisk_dev_api/types/person_docs_response_dto_v1_4.rb,
lib/kinopoisk_dev_api/types/review_docs_response_dto_v1_4.rb,
lib/kinopoisk_dev_api/types/season_docs_response_dto_v1_4.rb,
lib/kinopoisk_dev_api/types/studio_docs_response_dto_v1_4.rb,
lib/kinopoisk_dev_api/types/keyword_docs_response_dto_v1_4.rb,
lib/kinopoisk_dev_api/types/person_award_docs_response_dto.rb,
lib/kinopoisk_dev_api/types/search_movie_response_dto_v1_4.rb,
lib/kinopoisk_dev_api/types/search_person_response_dto_v1_4.rb
Defined Under Namespace
Modules: Exceptions, Types Classes: Client, Configuration, Inflector
Constant Summary collapse
- VERSION =
"1.4.0"- ENDPOINTS =
{ movie_by_id: { path: "/movie/:id", response_type: "Types::MovieDto<VERSION>" }.freeze, movie: { path: "/movie", response_type: "Types::MovieDocsResponseDto<VERSION>" }.freeze, movie_search: { path: "/movie/search", response_type: "Types::SearchMovieResponseDto<VERSION>" }.freeze, movie_random: { path: "/movie/random", response_type: "Types::MovieDto<VERSION>" }.freeze, movie_awards: { path: "/movie/awards", response_type: Types::MovieAwardDocsResponseDto }.freeze, movie_possible_values_by_field: { path: "/movie/possible-values-by-field", response_type: Types::Array.of(Types::PossibleValueDto), version: "v1" }.freeze, season: { path: "/season", response_type: "Types::SeasonDocsResponseDto<VERSION>" }.freeze, review: { path: "/review", response_type: "Types::ReviewDocsResponseDto<VERSION>" }.freeze, person_by_id: { path: "/person/:id", response_type: Types::Person }.freeze, person: { path: "/person", response_type: "Types::PersonDocsResponseDto<VERSION>" }.freeze, person_search: { path: "/person/search", response_type: "Types::SearchPersonResponseDto<VERSION>" }.freeze, person_awards: { path: "/person/awards", response_type: Types::PersonAwardDocsResponseDto }.freeze, studio: { path: "/studio", response_type: "Types::StudioDocsResponseDto<VERSION>" }.freeze, keyword: { path: "/keyword", response_type: "Types::KeywordDocsResponseDto<VERSION>" }.freeze, image: { path: "/image", response_type: "Types::ImageDocsResponseDto<VERSION>" }.freeze, list: { path: "/list", response_type: "Types::ListDocsResponseDto<VERSION>" }.freeze, list_by_slug: { path: "/list/:slug", response_type: Types::List }.freeze }.freeze
Class Attribute Summary collapse
Class Method Summary collapse
Class Attribute Details
.configuration ⇒ Object
18 19 20 |
# File 'lib/kinopoisk_dev_api.rb', line 18 def self.configuration @configuration ||= Configuration.new end |
Class Method Details
.configure {|configuration| ... } ⇒ Object
22 23 24 |
# File 'lib/kinopoisk_dev_api.rb', line 22 def self.configure yield(configuration) end |