/Estrapy-API

Primary LanguagePythonMIT LicenseMIT

Estrapy-API

A Basic Wrapper Anime Image API Created By Stawa

PyPI - Downloads PyPI

Installing Estrapy-API

pip install estrapy-api

or If you want to use latest update of Estrapy-API

pip install git+https://github.com/StawaDev/Estrapy-API

Example to use Estrapy-API

# First Examples
import Estrapy

def function():
    print(f"A Running GIF: {Estrapy.Sfw.run()}")
    print(f"A Hug GIF: {Estrapy.Sfw.hug()}")

function()

# Second Examples
import Estrapy

print(Estrapy.Sfw.run())
print(f"Run: {Estrapy.Sfw.run()}")

AutoUpdate Estrapy-API

This is only optional, the function will be called if version of Estrapy-API is not same with the newewst one.

import Estrapy
from Estrapy import autoupdate

print(Estrapy.__version__) # Print version of Estrapy-API

Print All Function Endpoints

import Estrapy


print(Estrapy.Help.sfw()) # Print all sfw endpoints
print(Estrapy.Help.nsfw()) # Print all nsfw endpoints
print(Estrapy.Help.all()) # Print all sfw, nsfw endpoints in once

SFW Function Endpoints

SFW Function Examples Description
Run Estrapy.Sfw.run() Return SFW Run GIF
Hug Estrapy.Sfw.hug() Return SFW Hug GIF
Smile Estrapy.Sfw.smile() Return SFW Smile GIF
Neko Estrapy.Sfw.neko() Return SFW Neko GIF
Poke Estrapy.Sfw.poke() Return SFW Poke GIF
Bite Estrapy.Sfw.bite() Return SFW Bite GIF
Headpat Estrapy.Sfw.headpat() Return SFW Headpat GIF

NSFW Function Endpoints

NSFW Function Examples Description
Kill Estrapy.Nsfw.kill() Return NSFW Kill GIF
Yuri Estrapy.Nsfw.yuri() Return NSFW Yuri GIF
Yaoi Estrapy.Nsfw.yaoi() Return NSFW Yaoi GIF