PHP code example of julia-queen / kinopoisk-package
1. Go to this page and download the library: Download julia-queen/kinopoisk-package library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
julia-queen / kinopoisk-package example snippets
// вернет ссылки на постеры
$apiKey = 'your apiKey';
$filmApi = new KinopoiskFilms($apiKey);
$filmApi->getImages($id);
//вернет общую информацию о фильме по его id
$filmApi->getFilmInfoById($id)
src/Enums/MonthEnum.php