Skip to content

dative/ovationtix

Repository files navigation

OvationTix API

Provides easy-to-use interface to work with OvationTix API

Requirements

PHP 7.0 and later.

Composer

You can install the bindings via Composer. Run the following command:

composer require dative/ovationtix

To use the bindings, use Composer's autoload:

require_once('vendor/autoload.php');

Getting Started

Create a instance by passing the OvationTix client id.

$otix = new OvationTix(284);

Usage

Get Series

Will return array of Productions.

$series = $otix->getSeries();

Get Production

Will return a Production object.

$production = $otix->getSeriesProduction( 1111 );

Get Production Performances

Will return array of Performances from a Production.

$performances = $production->getPerformances();

Development

Install dependencies:

composer install

Tests

Install dependencies as mentioned above (which will resolve PHPUnit), then you can run the test suite:

./vendor/bin/phpunit

Roadmap

  • Implement basic HTTP layer for requests
  • Implement basic OvationTix class
  • Implement Production class
  • Implement Performance class
  • add getUpcommingPerformances method to OvationTix
  • add getPerformancesCalendar method to OvationTix
  • Implement Venue class, update the Production class with it

Resources

Changelog

1.0.0 - 2017.12.28

  • Initial release

About

Provides easy-to-use interface to work with OvationTix API

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages