danielcsgomes/eventbrite-api-connector

Eventbrite API Connector

Installs: 396

Dependents: 0

Stars: 5

Watchers: 1

Forks: 1

Language: PHP

v0.1.3 2014-03-21 11:14 UTC

README

Build Status Latest Stable Version Total Downloads Latest Unstable Version License Scrutinizer Code Quality Code Coverage SensioLabsInsight

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

License

Eventbrite API Connector is released under the MIT License. See the bundled LICENSE file for details.