# Kinopoisk_films API
## content
[introduction](#introduction)
[Getting started](#Getting-started)
[Working with code](#Working-with-code)
[Description of functions](#Description-of-functions)
## introduction This API is used to get data from the kinopoisk website ____ [:arrow_up:content](#content) ___ ## Getting started
### To work you will need the library [Requests](https://pypi.org/project/requests/)
### As well as the API key, which can be obtained on the site [kinopoiskapiunofficial](https://kinopoiskapiunofficial.tech/user)
### Install the Library [filmapis](https://pypi.org/project/filmapis) ` pip install filmapis `
### Connecting the library `py import filmapis.filmapis as fa ` ____ [:arrow_up:content](#content) ____ ## Working with code
### Creating an object is performed by passing the api key received from the site to the function [site](https://kinopoiskapiunofficial.tech/user) `py object_api = API_Cinema('API-KEY') ` ____ [:arrow_up:content](#content) ____ ## Description of functions
### Films #### Search by keyword `py object_api.get_by_keyword(text) ` ____ #### Search by id on kinopoisk `py object_api.get_data_film(id_kinopoisk, append_to_response='RATING') ` ____ #### We take screenshots from the movie `py object_api.get_frame_film(id_kinopoisk) ` ____ #### We take videos related to the film (trailers, clippings) `py object_api.get_trailer_film(id_kinopoisk) ` ____ #### We take the sequels and prequels of the film `py object_api.get_sequels_and_prequels_film(id_kinopoisk) ` ____ #### We take all the filters `py object_api.get_filters() ` ____ #### We take movies by filter `py object_api.get_film_in_filters(counry=[], genre=[], order = 'RATING', types='ALL', ratingFrom=0, ratingTo=10, yearFrom=1888, yearTo=2021, page=1) ` ____ #### We take films by the top `py object_api.get_top_films(types='TOP_100_POPULAR_FILMS', page=1) ` ____ #### We take similar movies `py object_api.et_similars_film(id_kinopoisk) ` ____ #### We take the films that were released by the filter `py object_api.get_releaze_film(year = 2021, month = 'JANUARY', page=1) ` ____ #### We take data on the studio that was shooting `py object_api.get_studios_date(id_kinopoisk) ` ### reviews #### We take reviews `py object_api.get_reviews(id_kinopoisk, page=1) ` ____ #### We take detailed reviews `py object_api.get_reviews_details(id_reviews) ` ### Staff #### We take everyone who worked on the film `py object_api.get_staff(id_kinopoisk) ` ____ #### erem detailed information about the employee `py object_api.get_staff_details(id_person) ` [:arrow_up:content](#content)
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file filmapis-0.2.tar.gz.
File metadata
- Download URL: filmapis-0.2.tar.gz
- Upload date:
- Size: 2.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/3.4.1 importlib_metadata/4.4.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.9.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3582f8babf6fdc16c9cecf3fd4bed8cd7569c9a0713cc970da0d21a679342160
|
|
| MD5 |
86e76479ff99cc59717004c5fca3d8c2
|
|
| BLAKE2b-256 |
0663a133d91aa37ffe396f57b11247db89fd3cbfd40832a55316fcefc0a03bf9
|