ryodevz/afara-restapi

Public REST API wrapper for sasasasas for ease of use.

v2.0.0 2021-08-31 17:22 UTC

This package is auto-updated.

Last update: 2024-10-29 06:41:38 UTC


README

Latest Version Total Downloads

Install via composer

Cara yang disarankan untuk memasang afara-restapi adalah melalui Composer.

> composer require ryodevz/afara-restapi

Install via git

> git clone https://github.com/ryodevz/afara-restapi
> cd afara-restapi
> composer install

Features

Info selengkapnya public-restapi.herokuapp.com.

Contoh memanggil untuk Api MyPublicIP

<?php

use Ryodevz\Api;

require 'vendor/autoload.php';

$api = new Api;

$ipaddress = $api->myPublicIp();

echo $ipaddress;

Contoh memanggil untuk Api Animeku

use Ryodevz\Api;

require 'vendor/autoload.php';

$api = new Api;

$search = $api->animeku()->search('naruto');
$episodes = $api->animeku()->episodes('naruto-shippuuden');
$video_url = $api->animeku()->video('naruto-shippuuden-episode-488-sub-indo');