PHP code example of axp-dev / cinemapark-api

1. Go to this page and download the library: Download axp-dev/cinemapark-api 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/ */

    

axp-dev / cinemapark-api example snippets


$CinemaPark = new AXP\CinemaPark\CinemaPark();

// Получаем информаицю по фильму "Гадкий я 3"
$film = $CinemaPark->getFilmInfo(3679);

public function getMultiplexes() : array

public function getFilms() : array

public function getFilmsMultiplexes() : array

public function getRepertoir($id) : array

public function getMultiplexRepertoir($id) : array

public function getFilmInfo($id) : array

public function getHalls() : array

public function getFormats() : array

public function getTimeTable($id) : array

public function checkBSession($multiplex_id, $repertoir_id, $mode) : array

public function initBSession($multiplex_id, $repertoir_id, $mode) : array

public function seatsLayout($multiplex_id, $repertoir_id) : array

public function seatStates($multiplex_id, $repertoir_id, $b_session_id, $timestamp_tz = 0) : array

public function seatAction($multiplex_id, $repertoir_id, $b_session_id, $action_type, $seat_id) : array

public function cancelBSession($multiplex_id, $repertoir_id, $b_session_id) : array

public function commitBSession($multiplex_id, $repertoir_id, $b_session_id, $mode, $email, $phone, $provider_id) : array

public function editBooking($multiplex_id, $repertoir_id, $codeword) : array

public function initSSession($multiplex_id, $order_id, $codeword, $provider_id) : array

public function commitSSession($multiplex_id, $order_id, $provider_id, $amount, $dt_payment, $transaction_id, $payment_type, $payment_info, $security_key) : array

public function registerPaymentFailure($multiplex_id, $order_id, $provider_id, $amount, $dt_payment, $transaction_id, $payment_type, $payment_info, $security_key) : array