defro/waatch-api


This package can get movie, tv series, streaming provider from waatch.co

https://waatch.docs.apiary.io

License: MIT

Language: PHP

Keywords: api, api-client, captainwatch, movie, streaming, tvshow, waatch


Waatch API

Latest Version Software License Total Downloads

This package can get movie, tv series, streaming provider from waatch.co. Here's a quick example:

$client = new \GuzzleHttp\Client();
$waatch = new Defro\Waatch\Api($client);
$images = $waatch
    ->setApiKey('YOUR_WAATCH_API_KEY')
    ->setLanguage('fr') // Language ISO
;

Movie

Get detail info about the movie.

$movie = $waatch
    ->getMovie(857) // The Movie DB ID of Saving Private Ryan
;

Set country ISO code to filter streaming providers of this country.

$movie = $waatch
    ->setCountry('fr') // All streaming providers in France
    ->getMovie(374720) // The Movie DB ID of "Dunkirk"
;

TV Show

Get detail info about a TV show.

$movie = $waatch
    ->getTvShow(1668) // The Movie DB ID of "Friends"
;

Streaming provider

Get all providers.

$movie = $waatch
    ->getProviders()
;

Get all Movies and TV Shows for a specific provider

$movie = $waatch
    ->getProvider('itun') // iTunes reference ID
;

License

The MIT License (MIT). Please see license file for more information.

Project Statistics

Sourcerank 4
Repository Size 5.86 KB
Stars 0
Forks 0
Watchers 2
Open issues 0
Dependencies 8
Contributors 1
Tags 1
Created
Last updated
Last pushed

Top Contributors See all

Joël Gaujard

Packages Referencing this Repo

defro/waatch-api
Waatch API library
Latest release v1.0.1 - Published

Recent Tags See all

v1.0.1 September 14, 2019

Something wrong with this page? Make a suggestion

Last synced: 2019-09-14 10:17:19 UTC

Login to resync this repository