Skip to content

A viagogo API client library for PHP

License

Notifications You must be signed in to change notification settings

tldev-de/gogokit.php

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GogoKit - viagogo API Client Library for PHP

Code Climate

GogoKit is a lightweight, viagogo API client library for PHP.

Usage

// All methods require authentication. To get your viagogo OAuth credentials,
// See TODO: docs url
$clientId = 'CLIENT_ID';
$clientSecret = 'CLIENT_SECRET';

$viagogo = new Viagogo\ViagogoClient($clientId, $clientSecret);
$viagogo->setToken($viagogo->getOAuthClient()->getClientAccessToken());

// Get an event by id
$event = $client->getEventClient()->getEvent(676615);

// Get a list of results that match your search query
$searchResults = $client->getSearchClient()->getSearch("FC Barcelona tickets");

Getting Started

GogoKit will be available on Composer.

About

A viagogo API client library for PHP

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%