danielcsgomes/eventbrite-api-connector

Eventbrite API Connector

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

This package is auto-updated.

Last update: 2024-11-28 05:32:51 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.