realdark/eventful-web-api

A PHP implementation of Eventful's Web API.

dev-master 2015-10-16 16:47 UTC

This package is not auto-updated.

Last update: 2021-10-16 02:36:20 UTC


README

A PHP implementation of Eventful's Web API.

It includes the following

  • Helper methods for all API methods
  • PSR-4 autoloading support.

Requirements

Installation

Add eventful-web-api as a dependency to your composer.json:

"require": {
    "realdark/eventful-web-api": "dev-master"
}

All dependencies will be installed automatically.

Original version

You can download the original version from here.

Modifications

  • All http protocols are updated to https
  • Pear is removed. All errors are now Exceptions
  • Modified to work with composer

Examples

You can see them here: Eventful Api Doc

$key = 'your api key';

$api = new Services_Eventful($key);

$args = [
     'keywords' => 'eminem'
];

$events = $api->call('events/search', $args);

var_dump($events);

All responses are SimpleXMLElement objects

License

Eventful, Inc license. Please see LICENSE.md for more information.