2017 © Pedro Peláez
 

library getiplayer-php

An easy to use wrapper for the iPlayer download API written in PHP.

image

pxgamer/getiplayer-php

An easy to use wrapper for the iPlayer download API written in PHP.

  • Monday, December 18, 2017
  • by PXgamer
  • Repository
  • 1 Watchers
  • 0 Stars
  • 3 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 1 Open issues
  • 8 Versions
  • 0 % Grown

The README.md

getiplayer-php

Latest Version on Packagist ![Software License][ico-license] Build Status Style CI ![Code Coverage][ico-code-quality] Total Downloads, (*1)

An easy to use wrapper for the iPlayer download API written in PHP., (*2)

Structure

resources/
src/
tests/
vendor/

Install

Via Composer, (*3)

``` bash $ composer require pxgamer/getiplayer-php, (*4)


## Usage This currently creates a single .ts file which can be encoded using Handbrake or another encoder. ## Usage ```php use pxgamer\GetiPlayer; $client = new GetiPlayer\Client(); echo 'Episode URL: ' . $client->setUrl('https://www.bbc.co.uk/iplayer/episode/b088ppll/sherlock-series-4-2-the-lying-detective') . "\n"; echo 'Video ID: ' . $client->getVideoId() . "\n"; echo 'Output Quality: ' . $client->setQuality('highish') . "\n"; $client->getMediaISM(); echo 'Discovered URL: ' . $client->discoveredUrl . "\n"; echo 'Master Key: ' . $client->getMasterKey() . "\n"; $client->getM3u8(); $client->getStream(); //echo "M3u8: " . $client->getM3u8() . "\n"; //echo "M3u8 Stream: " . $client->getStream() . "\n"; echo 'Programme ID: ' . $client->getProgrammeId() . "\n"; echo 'Programme Title: ' . $client->getFullProgramTitle() . "\n"; $client->listHlsFiles(); $client->createDirectories(); echo 'Parsed: ' . $client->downloadFiles($client->hlsFiles) . "\n"; echo 'Files written: ' . $client->writeFiles() . "\n"; $client->cleanDirectory(); echo "Cleaned directory\n";

Note: This is based off of Tiiveni's original code from SquarePenguin., (*5)

Change log

Please see CHANGELOG for more information on what has changed recently., (*6)

Testing

bash $ composer test, (*7)

Contributing

Please see CONTRIBUTING and CODE_OF_CONDUCT for details., (*8)

Security

If you discover any security related issues, please email owzie123@gmail.com instead of using the issue tracker., (*9)

Credits

License

The MIT License (MIT). Please see License File for more information., (*10)

The Versions

18/12 2017

dev-develop

dev-develop

An easy to use wrapper for the iPlayer download API written in PHP.

  Sources   Download

MIT

The Requires

  • ext-curl *
  • php ^7.1

 

The Development Requires

06/12 2017

dev-master

9999999-dev

An easy to use wrapper for the iPlayer download API written in PHP.

  Sources   Download

MIT

The Requires

  • ext-curl *
  • php ^7.1

 

The Development Requires

by Avatar PXgamer

06/12 2017

v1.1.2

1.1.2.0

An easy to use wrapper for the iPlayer download API written in PHP.

  Sources   Download

MIT

The Requires

  • php ^7.1
  • ext-curl *

 

The Development Requires

20/11 2017

v1.1.1

1.1.1.0

An easy to use wrapper for the iPlayer download API written in PHP.

  Sources   Download

MIT

The Requires

  • php ^7.1
  • ext-curl *

 

The Development Requires

15/11 2017

v1.1.0

1.1.0.0

An easy to use wrapper for the iPlayer download API written in PHP.

  Sources   Download

MIT

The Requires

  • php ^7.1
  • ext-curl *

 

The Development Requires

02/11 2017

v1.0.2

1.0.2.0 https://github.com/PXgamer/getiplayer-php

An easy to use wrapper for the iPlayer download API written in PHP.

  Sources   Download

MIT

The Requires

  • php >=5.5.0
  • ext-curl *

 

by Avatar PXgamer

12/01 2017

v1.0.1

1.0.1.0 https://github.com/PXgamer/getiplayer-php

An easy to use wrapper for the iPlayer download API written in PHP.

  Sources   Download

MIT

The Requires

  • php >=5.5.0
  • ext-curl *

 

by Avatar PXgamer

12/01 2017

v1.0.0

1.0.0.0 https://github.com/PXgamer/getiplayer-php

An easy to use wrapper for the iPlayer download API written in PHP.

  Sources   Download

MIT

The Requires

  • php >=5.5.0
  • ext-curl *

 

by Avatar PXgamer