PHP code example of etkinlik / php-api-client
1. Go to this page and download the library: Download etkinlik/php-api-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/ */
etkinlik / php-api-client example snippets
$client = new \EtkinlikApi\ApiClient('token buraya gelecek');
$formats = $client->format->getItems();
$categories = $client->category->getListe();
$events = $client->event->getItems(
(new \EtkinlikApi\Model\Config\EventsConfig())
->addCategoryId(4015)
);
$event = $client->event->getById(104289);
$venues = $client->venue->getItems(
(new \EtkinlikApi\Model\Config\VenuesConfig())
->addCityId(7)
);