Estrapy-API
An Easy-to-Use Wrapper Anime Images API with Many Others Features
✨ Features
- Anime GIFs
- Anime Waifu/Husbando Picture
- Async Supports
- Client Supports
- Maintain Track of Requests
- OSU API Wrapper
- Trivia
- Truth or Dare Challenges
- User Friendly Code
📦 Installing The Stable Version of Estrapy-API
pip install estrapy-api
🚧 Installing The Latest Version of Estrapy-API
pip install git+https://github.com/StawaDev/Estrapy-API
📖 Short Example to use Estrapy-API
import Estrapy
import asyncio
async def function():
run = await Estrapy.Sfw.run()
hug = await Estrapy.Sfw.hug()
print(f"A Running GIF: {run.url}")
print(f"A Hug GIF: {hug.url}")
asyncio.run(function())
🔖 Automatically Updating 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
Auto = AutoUpdate()
updater = Auto.update() # Automatically update Estrapy to the newewst version
print(Auto.reminder()) # Reminder of the newewst update
print(Estrapy.__version__) # Print current version of Estrapy-API
❔ Help Functions for Estrapy-API
from Estrapy import EstraClient
import asyncio
client = EstraClient()
async def Help():
print(client.Help.sfw()) # Print all sfw endpoints
print(client.Help.nsfw()) # Print all nsfw endpoints
print(client.Help.all()) # Print all sfw, nsfw endpoints in once
asyncio.run(Help())
🗔 Console Input Examples
1. estrapy --help # Output all available commands
2. estrapy menu # Output information about Estrapy-API
3. estrapy help --category <category> # Output all available endpoints in <category>
4. estrapy save --category <category> --endpoint <endpoint> --total <total> --filename <filename> # Save an Image from EstraAPI (with specific category and endpoint) to your computer
📃 View List Endpoints of Estrapy
Note: Almost every function implemented to Estrapy are returning PropertiesManager. You can see the examples from here: https://github.com/StawaDev/Estrapy-API/tree/main/Examples
👌 Sfw Function Endpoints
Available PropertiesManager - url, type
| Sfw Function | Examples | Output |
|---|---|---|
| Run | Estrapy.Sfw.run() |
Return PropertiesManager |
| Hug | Estrapy.Sfw.hug() |
Return PropertiesManager |
| Smile | Estrapy.Sfw.smile() |
Return PropertiesManager |
| Neko | Estrapy.Sfw.neko() |
Return PropertiesManager |
| Poke | Estrapy.Sfw.poke() |
Return PropertiesManager |
| Bite | Estrapy.Sfw.bite() |
Return PropertiesManager |
| Slap | Estrapy.Sfw.slap() |
Return PropertiesManager |
| Highfive | Estrapy.Sfw.highfive() |
Return PropertiesManager |
| Headpat | Estrapy.Sfw.headpat() |
Return PropertiesManager |
⁉️ Nsfw Function Endpoints
Available PropertiesManager - url, type
| NSFW Function | Examples | Output |
|---|---|---|
| Kill | Estrapy.Nsfw.kill() |
Return PropertiesManager |
| Yuri | Estrapy.Nsfw.yuri() |
Return PropertiesManager |
| Yaoi | Estrapy.Nsfw.yaoi() |
Return PropertiesManager |
🎮 AniGames Function Endpoints
Available PropertiesManager - url, character_name, text, type, player, percentage
| AniGames Function | Examples | Output |
|---|---|---|
| Truth | Estrapy.AniGames.truth() |
Return PropertiesManager |
| Dare | Estrapy.AniGames.dare() |
Return PropertiesManager |
| Waifu | Estrapy.AniGames.waifu() |
Return PropertiesManager |
| Husbando | Estrapy.AniGames.husbando() |
Return PropertiesManager |
🎮 Games Function Endpoints
Available PropertiesManager - text, type
| Games Function | Examples | Output |
|---|---|---|
| Truth | Estrapy.Games.truth() |
Return PropertiesManager |
| Dare | Estrapy.Games.dare() |
Return PropertiesManager |
| Shipper | Estrapy.Games.shipper() |
Return PropertiesManager |
OsuClients Function Endpoints
Available OsuProfileProperties - On Our Github
Available OsuBeatmapProperties - On Our Github
| OsuClients Function | Examples | Description |
|---|---|---|
| Profile | Estrapy.OsuClients.profile(username="Stawa") |
Return OsuProfileProperties |
| Beatmap | Estrapy.OsuClients.beatmap(beatmap_id="beatmap_id") |
Return OsuBeatmapProperties |
❔ Trivia Function Endpoints
| Trivia Function | Examples | Description |
|---|---|---|
| Add | Trivia.add(question="question", answer="answer", options={"option": "option"}) |
Add Questions Into A JSON File |
| Remove | Trivia.remove(1) |
Removing Question In Specific Number |
| Run_Console | Trivia.run_console() |
Run Trivia Through Console |
| Run | Trivia.run(random_pick=True) |
Run Trivia With Return Statement |
| Answer | Trivia.answer(run, guess="answer") |
Answer Trivia From Run Function |
| More Examples | In Our Github! | More examples I guess? |
🔗 Links
Metadata
Release files for Estrapy-API 0.2.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| Estrapy-API-0.2.7.tar.gz | 13.8 kB | Without provenance | Details for Estrapy-API-0.2.7.tar.gz |
Release files / Estrapy-API-0.2.7.tar.gz
| Download URL | Estrapy-API-0.2.7.tar.gz |
|---|---|
| Size | 13.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
03dc1554e1e0dcb53140e81128b5c057cc5f742d64ad1c3bb9dd6942a6859b33
|
|
BLAKE2b-256 checksum How to use checksums |
c25d6f355fc3a10d904f5d56442b6effa3625daae51b5ea85295327fc14a04d2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.8.3 readme-renderer/37.2 requests/2.28.1 requests-toolbelt/0.9.1 urllib3/1.26.12 tqdm/4.64.0 importlib-metadata/4.12.0 keyring/23.9.3 rfc3986/1.5.0 colorama/0.4.5 CPython/3.10.6
|
Security for Estrapy-API 0.2.7
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.