2017 © Pedro Peláez
 

library yts

A full wrapper for the YTS API.

image

pxgamer/yts

A full wrapper for the YTS API.

  • Monday, January 15, 2018
  • by PXgamer
  • Repository
  • 0 Watchers
  • 0 Stars
  • 2 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 6 Versions
  • 0 % Grown

The README.md

YTS

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

This project has been renamed, see owenvoke/yts., (*2)

A full wrapper for the YTS API., (*3)

About YTS

YIFY Torrents or YTS is a peer-to-peer release group known for distributing large numbers of movies as free downloads through BitTorrent. YIFY releases were characterised through their HD video quality in a small file size, which attracted many downloaders., (*4)

Install

Via Composer, (*5)

$ composer require pxgamer/yts

Usage

List Movies

Returns a Collection instance containing Movie instances., (*6)

Movies::list([
    'quality'         => Movies::QUALITY_ALL, // A quality constant
    'query_term'      => 0,                   // A query string, or 0 to ignore
    'page'            => 1,                   // An integer page number
    'minimum_rating'  => 0,                   // The minimum movie rating
    'genre'           => '',                  // A string containing the genre
    'sort_by'         => 'date-added',        // The sort-by order
    'order_by'        => 'desc',              // The direction to order by
    'with_rt_ratings' => false,               // Returns the list with Rotten Tomatoes ratings
]);

Movie Details

Returns a Movie instance., (*7)

Movies::details([
    'movie_id'    => null,  // The ID of the movie to retrieve
    'with_images' => false, // Return with image URLs
    'with_cast'   => false, // Return with information about the cast
]);

Movie Suggestions

Returns a Collection instance containing 0 to 4 Movie instances., (*8)

Movies::suggestions([
    'movie_id' => null, // The ID of the movie to retrieve suggestions for
]);

Change log

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

Testing

$ composer test

Contributing

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

Security

If you discover any security related issues, please email security@pxgamer.xyz instead of using the issue tracker., (*11)

Credits

License

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

The Versions

15/01 2018

dev-develop

dev-develop

A full wrapper for the YTS API.

  Sources   Download

MIT

The Requires

 

The Development Requires

15/01 2018

dev-master

9999999-dev

A full wrapper for the YTS API.

  Sources   Download

MIT

The Requires

 

The Development Requires

15/01 2018

v1.1.0

1.1.0.0

A full wrapper for the YTS API.

  Sources   Download

MIT

The Requires

 

The Development Requires

06/12 2017

v1.0.2

1.0.2.0

A full wrapper for the YTS API.

  Sources   Download

MIT

The Requires

 

The Development Requires

20/11 2017

v1.0.1

1.0.1.0

A full wrapper for the YTS API.

  Sources   Download

MIT

The Requires

 

The Development Requires

14/11 2017

v1.0.0

1.0.0.0

A full wrapper for the YTS API.

  Sources   Download

MIT

The Requires

 

The Development Requires