PHP code example of gueststream / flipkey

1. Go to this page and download the library: Download gueststream/flipkey 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/ */

    

gueststream / flipkey example snippets

 php
$apiKey = "FlipKey API Key Goes Here";
$remoteId = "Remote ID Goes Here";
$propertyCode = "Property Code Goes Here";

$flipkey = new FlipKey\FlipKey($apiKey,$remoteId);
$property = $flipkey->getProperty($propertyCode);
print_r($property);