dcsg / eventbrite-api-connector
Eventbrite API Connector
v0.1.3
2014-03-21 11:14 UTC
Requires
- php: >=5.3.0
Requires (Dev)
- kriswallsmith/buzz: @stable
- phpunit/phpunit: 3.7.*
Suggests
- kriswallsmith/buzz: Enabling Buzz allows you to use the BuzzHttpAdapter.
This package is auto-updated.
Last update: 2024-11-28 05:16:20 UTC
README
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.