viagogo/gogokit
最新稳定版本:0.6.0
Composer 安装命令:
composer require viagogo/gogokit
包简介
Viagogo API SDK for PHP
README 文档
README
GogoKit is a lightweight, viagogo API client library for PHP. Our developer site documents all of the viagogo APIs.
Installation
Install via Composer.
$ composer require viagogo/gogokit
Usage
See our developer site for more examples.
// All methods require authentication. To get your viagogo OAuth credentials, // See TODO: docs url $configuration = new Viagogo\Core\ViagogoConfiguration(); $configuration->clientId = 'CLIENT_ID'; $configuration->clientSecret = 'CLIENT_SECRET'; $viagogoClient = new Viagogo\ViagogoClient($configuration); $viagogoClient->setToken($viagogoClient->getOAuthClient()->getClientAccessToken()); // Get an event by id $event = $viagogoClient->getEventClient()->getEvent(676615); // Get a list of results that match your search query $searchResults = $viagogoClient->getSearchClient()->getSearch("FC Barcelona tickets");
Supported Platforms
- PHP 5.5 or higher
How to contribute
All submissions are welcome. Fork the repository, read the rest of this README file and make some changes. Once you're done with your changes send a pull request. Thanks!
Need Help? Found a bug?
Just submit a issue if you need any help. And, of course, feel free to submit pull requests with bug fixes or changes.
统计信息
- 总下载量: 5.76k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 5
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-05-05