2017 © Pedro Peláez
 

library hatchery-api-client

Hatchery API client for PHP

image

issetbv/hatchery-api-client

Hatchery API client for PHP

  • Wednesday, March 21, 2018
  • by IssetBV
  • Repository
  • 4 Watchers
  • 0 Stars
  • 706 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 39 Versions
  • 8 % Grown

The README.md

DESCRIPTION

This is the API client for http://my.videotranscoder.io/ API. Use this to simplify the use of the API in PHP., (*1)

Example

The API requires an consumer and private key which can be requested at info@my.videotranscoder.io., (*2)


<?php include '../src/Hatchery/Autoloader.php'; $authentication = new Hatchery\Authentication\KeyPairAuthentication('consumer_key', 'private_key'); $client = new Hatchery\Client('api_url', $authentication); //create a new job, this class will contain all inputs and outputs $job = new Hatchery\Builder\Job(); //create a new input, this class has to contain a valid URL and can be used to create outputs $input = new Hatchery\Builder\Input(new Hatchery\Builder\Url\Url('ftp://my_ftp_in_location.com/folder/input_file.mp4')); //create a new output, which links to a specific input and requires an output URL //this class also opens up some methods to manipulate your output $output = new Hatchery\Builder\Output($input, new Hatchery\Builder\Url\Url('ftp://my_ftp_out_location.com/folder/output_file.webm')); //use the name of own of your presets, or use on of the default video-transcoder presets $output->setPreset('My_own_webm_preset'); //example of a number option, use the value objects to initiate $output->setOutputLength(new Hatchery\Builder\ValueObjects\Number(60)); //example of creating stills $stills = new Hatchery\Builder\Stills(new Hatchery\Builder\Url\Url('ftp://my_ftp_out_location.com/folder/my_stills_folder/')); $stills->setFilename('my_stills_frame_{{number}}'); $stills->setAmount(new Hatchery\Builder\ValueObjects\Number(5)); //add stills task to a specific output $output->addStills($stills); //add in- and outputs to job $job->add($input); $job->add($output); //submit job $response = $client->submitJob($job); //retrieve polling location (containing job id) $location = $response->getLocation();

The Versions

21/03 2018

dev-master

9999999-dev

Hatchery API client for PHP

  Sources   Download

The Requires

  • php >=5.3.0

 

by Bart Malestein

21/03 2018

dev-develop

dev-develop

Hatchery API client for PHP

  Sources   Download

The Requires

  • php >=5.3.0

 

by Bart Malestein

21/03 2018

5.0.4

5.0.4.0

Hatchery API client for PHP

  Sources   Download

The Requires

  • php >=5.3.0

 

by Bart Malestein

07/03 2018

5.0.3

5.0.3.0

Hatchery API client for PHP

  Sources   Download

The Requires

  • php >=5.3.0

 

by Bart Malestein

07/03 2018

5.0.2

5.0.2.0

Hatchery API client for PHP

  Sources   Download

The Requires

  • php >=5.3.0

 

by Bart Malestein

19/01 2018

5.0.1

5.0.1.0

Hatchery API client for PHP

  Sources   Download

The Requires

  • php >=5.3.0

 

by Bart Malestein

24/10 2017

5.0.0

5.0.0.0

Hatchery API client for PHP

  Sources   Download

The Requires

  • php >=5.3.0

 

by Bart Malestein

19/11 2015

4.0.8

4.0.8.0

Hatchery API client for PHP

  Sources   Download

The Requires

  • php >=5.3.0

 

by Bart Malestein

06/08 2015

4.0.7

4.0.7.0

Hatchery API client for PHP

  Sources   Download

The Requires

  • php >=5.3.0

 

by Bart Malestein

04/08 2015

dev-feature/12906-templates

dev-feature/12906-templates

Hatchery API client for PHP

  Sources   Download

The Requires

  • php >=5.3.0

 

by Bart Malestein

29/07 2015

4.0.6

4.0.6.0

Hatchery API client for PHP

  Sources   Download

The Requires

  • php >=5.3.0

 

by Bart Malestein

28/07 2015

4.0.5

4.0.5.0

Hatchery API client for PHP

  Sources   Download

The Requires

  • php >=5.3.0

 

by Bart Malestein

20/07 2015

4.0.4

4.0.4.0

Hatchery API client for PHP

  Sources   Download

The Requires

  • php >=5.3.0

 

by Bart Malestein

08/07 2015

4.0.3

4.0.3.0

Hatchery API client for PHP

  Sources   Download

The Requires

  • php >=5.3.0

 

by Bart Malestein

30/06 2015

4.0.2

4.0.2.0

Hatchery API client for PHP

  Sources   Download

The Requires

  • php >=5.3.0

 

by Bart Malestein

23/06 2015

4.0.1

4.0.1.0

Hatchery API client for PHP

  Sources   Download

The Requires

  • php >=5.3.0

 

by Bart Malestein

13/05 2015

3.0.6

3.0.6.0

Hatchery API client for PHP

  Sources   Download

The Requires

  • php >=5.3.0

 

by Bart Malestein

30/03 2015

3.0.5

3.0.5.0

Hatchery API client for PHP

  Sources   Download

The Requires

  • php >=5.3.0

 

by Bart Malestein

30/03 2015

3.0.4

3.0.4.0

Hatchery API client for PHP

  Sources   Download

The Requires

  • php >=5.3.0

 

by Bart Malestein

30/03 2015

3.0.3

3.0.3.0

Hatchery API client for PHP

  Sources   Download

The Requires

  • php >=5.3.0

 

by Bart Malestein

10/02 2015

3.0.2

3.0.2.0

Hatchery API client for PHP

  Sources   Download

The Requires

  • php >=5.3.0

 

by Bart Malestein

10/02 2015

3.0.1

3.0.1.0

Hatchery API client for PHP

  Sources   Download

The Requires

  • php >=5.3.0

 

by Bart Malestein

19/01 2015

2.0.12

2.0.12.0

Hatchery API client for PHP

  Sources   Download

The Requires

  • php >=5.3.0

 

by Bart Malestein

16/01 2015

2.0.11

2.0.11.0

Hatchery API client for PHP

  Sources   Download

The Requires

  • php >=5.3.0

 

by Bart Malestein

16/01 2015

2.0.10

2.0.10.0

Hatchery API client for PHP

  Sources   Download

The Requires

  • php >=5.3.0

 

by Bart Malestein

16/01 2015

2.0.9

2.0.9.0

Hatchery API client for PHP

  Sources   Download

The Requires

  • php >=5.3.0

 

by Bart Malestein

14/01 2015

2.0.8

2.0.8.0

Hatchery API client for PHP

  Sources   Download

The Requires

  • php >=5.3.0

 

by Bart Malestein

13/01 2015

2.0.7

2.0.7.0

Hatchery API client for PHP

  Sources   Download

The Requires

  • php >=5.3.0

 

by Bart Malestein

13/01 2015

2.0.6

2.0.6.0

Hatchery API client for PHP

  Sources   Download

The Requires

  • php >=5.3.0

 

by Bart Malestein

13/01 2015

2.0.5

2.0.5.0

Hatchery API client for PHP

  Sources   Download

The Requires

  • php >=5.3.0

 

by Bart Malestein

13/01 2015

2.0.4

2.0.4.0

Hatchery API client for PHP

  Sources   Download

The Requires

  • php >=5.3.0

 

by Bart Malestein

13/01 2015

2.0.3

2.0.3.0

Hatchery API client for PHP

  Sources   Download

The Requires

  • php >=5.3.0

 

by Bart Malestein

13/01 2015

2.0.2

2.0.2.0

Hatchery API client for PHP

  Sources   Download

The Requires

  • php >=5.3.0

 

by Bart Malestein

13/01 2015

2.0.1

2.0.1.0

Hatchery API client for PHP

  Sources   Download

The Requires

  • php >=5.3.0

 

by Bart Malestein

09/01 2015

2.0.0

2.0.0.0

Hatchery API client for PHP

  Sources   Download

The Requires

  • php >=5.3.0

 

by Bart Malestein

05/12 2014

1.0.3

1.0.3.0

Hatchery API client for PHP

  Sources   Download

The Requires

  • php >=5.3.0

 

by Bart Malestein

05/12 2014

1.0.2

1.0.2.0

Hatchery API client for PHP

  Sources   Download

The Requires

  • php >=5.3.0

 

by Bart Malestein

05/12 2014

1.0.1

1.0.1.0

Hatchery API client for PHP

  Sources   Download

The Requires

  • php >=5.3.0

 

by Bart Malestein

04/12 2014

1.0.0

1.0.0.0

Hatchery API client for PHP

  Sources   Download

The Requires

  • php >=5.3.0

 

by Bart Malestein