1. Go to this page and download the library: Download likibu/client 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/ */
likibu / client example snippets
ent = new \Likibu\Client('API_KEY');
$offers = $client->search(array(
'where' => 'Paris',
'culture' => 'en',
'currency' => 'EUR',
));
// do something with the results
foreach ($offers['results'] as $result) {
$id = $result['id'];
$title = $result['title'];
}
ent = new \Likibu\Client('API_KEY');
$offer = $client->getOffer('azerty123', array(
'culture' => 'en',
'currency' => 'EUR',
));