Eventful Web Api
A PHP implementation of Eventful's Web API., (*1)
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:, (*2)
"require": {
"realdark/eventful-web-api": "dev-master"
}
All dependencies will be installed automatically., (*3)
Original version
You can download the original version from here., (*4)
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, (*5)
$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, (*6)
License
Eventful, Inc license. Please see LICENSE.md for more information., (*7)