exiang/eventbrite-sdk-php

PHP SDK for the Eventbrite API.

1.0.9 2019-07-09 04:29 UTC

This package is auto-updated.

Last update: 2024-11-09 16:53:26 UTC


README

================== eventbrite-sdk-php

Installation

Clone the repo. Once this is public we can add version control and installation via composer.

The Eventbrite PHP SDK makes it easy to interact with the Eventbrite API:

.. code-block:: php

php > $client = new exiang\eventbrite\HttpClient(USER_TOKEN);
php > $user = $client->get_user(1234567890);
php > $user['id'];
php > 1234567890
php > $user['name'];
php > Serena Williams

You can also specify API endpoints manually:

.. code-block:: php

php > $user = $client->get('/users/me/');
php > $user['id'];
1234567890
php > $user['name'];
php > Serena William

License

The library is available as open source under the terms of the MIT License.