Skip to main content

A Basic Anime Image API Created By Stawa

Project description

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()}")

# Discord Examples
import Estrapy

@bot.command()
async def run(ctx): # Without Embed
    await ctx.send(Estrapy.Sfw.run())

@bot.command()
async def run(ctx): # With Embed
    embed = discord.Embed(title="Running GIF")
    embed.set_image(url=Estrapy.Sfw.run())
    await ctx.send(embed=embed)

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 current 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 as GIFs
Hug Estrapy.Sfw.hug() Return SFW Hug as GIFs
Smile Estrapy.Sfw.smile() Return SFW Smile as GIFs
Neko Estrapy.Sfw.neko() Return SFW Neko as GIFs/PNG
Poke Estrapy.Sfw.poke() Return SFW Poke as GIFs
Bite Estrapy.Sfw.bite() Return SFW Bite as GIFs
Slap Estrapy.Sfw.slap() Return SFW Slap as GIFs
Highfive Estrapy.Sfw.highfive() Return SFW Highfive as GIFs
Headpat Estrapy.Sfw.headpat() Return SFW Headpat as GIFs

NSFW Function Endpoints

NSFW Function Examples Description
Kill Estrapy.Nsfw.kill() Return NSFW Kill as GIFs/PNG
Yuri Estrapy.Nsfw.yuri() Return NSFW Yuri as GIFs/PNG
Yaoi Estrapy.Nsfw.yaoi() Return NSFW Yaoi as GIFs/PNG

AniGames Function Endpoints

AniGames Function Examples Description
Truth Estrapy.AniGames.truth() Return AniGames Truth About Anime as TEXT
Dare Estrapy.AniGames.dare() Return AniGames Dare About Anime as TEXT
Waifu Estrapy.AniGames.waifu() Return AniGames Waifu About Anime as PNG
Husbando Estrapy.AniGames.husbando() Return AniGames Husbando About Anime as TEXT

Games Function Endpoints

Games Function Examples Description
Truth Estrapy.Games.truth() Return Games Truth as TEXT
Dare Estrapy.Games.dare() Return Games Dare as TEXT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Estrapy-API-0.1.8.tar.gz (5.4 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page