Awesome
Eventbrite API Connector
Eventbrite Api Connector is a lightweight PHP 5.3 library for issuing the Eventbrite API.
Instalation
Composer
"require": {
...
"dcsg/eventbrite-api-connector": "dev-master"
}
Usage
<?php
require __DIR__ . '/path/to/vendor/autoload.php';
use EventbriteApiConnector\Eventbrite;
use EventbriteApiConnector\HttpAdapter\BuzzHttpAdapter;
$apiKeys = array(
'app_key' => 'YOUR APP KEY'
);
$params = array(
'keywords' => 'php'
);
$eventbrite = new Eventbrite(new BuzzHttpAdapter(), $apiKeys);
$results = $eventbrite->get('event_search', $params);
TODO
- Implement more HTTP Adapters
- Implement OAuth2.
- Add documentation.
Credits
- Daniel Gomes
- Http Adapters inspired by Geocoder PHP Library
License
Eventbrite API Connector is released under the MIT License. See the bundled LICENSE file for details.