realdark/eventful-web-api
Composer 安装命令:
composer require realdark/eventful-web-api
包简介
A PHP implementation of Eventful's Web API.
README 文档
README
A PHP implementation of Eventful's Web API.
It includes the following
- Helper methods for all API methods
- PSR-4 autoloading support.
Requirements
- PHP 5.4.1 or greater
- themattharris/tmhoauth
- fpoirotte/http_request2
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.
统计信息
- 总下载量: 8.32k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Eventful
- 更新时间: 2015-10-16