2017 © Pedro Peláez
 

library proxerphp

A PHP library for the Proxer.me API

image

kid2407/proxerphp

A PHP library for the Proxer.me API

  • Saturday, March 31, 2018
  • by kid2407
  • Repository
  • 1 Watchers
  • 0 Stars
  • 0 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

ProxerPHP

What is this?

This is a Library for the API of the website proxer.me. The current Version of the supported API is v1, (*1)

Note: This is still in the middle of developement, so things might work or work not., (*2)

Installation with Composer

composer require kid2407/proxerPHP, (*3)

Usage

To use ProxerPHP, you have to provide your own API-Key from https://proxer.me/api., (*4)

To get started create an instance of the ProxerPHP class:, (*5)

$proxerPHP = new ProxerPHP\Api\ProxerPHP($apiKey);

Now you are ready to go. Starting from the ProxerPHP instance, you can start calling the API. Example for getting the link to an Anime stream:, (*6)

$entryId = 894; // The ID of the entry
$episode = 2; // Episode to show
$language = new ProxerPHP\Util\AnimeLanguage(ProxerPHP\Util\AnimeLanguage::ENG_SUB); // The language in which the streams should be

$streams = $proxerPHP->anime()->getStreams($entryId, $episode, $language);
$streamLink = $proxerPHP->anime()->getStreamLink($streams->first());

The Versions

31/03 2018

dev-master

9999999-dev

A PHP library for the Proxer.me API

  Sources   Download

MIT

The Requires

 

by Tobias Franz