New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

aiohoripy

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

aiohoripy

An asynchronous Python Wrapper for Hori-API

  • 0.0.2
  • PyPI
  • Socket score

Maintainers
1

This is a asynchronous wrapper for Hori-API named aiohoripy

The way you use it it's so simple:

import aiohoripy
# or 
from aiohoripy import sfw, nsfw

import discord
from discord.ext import commands

bot = commands.Bot(command_prefix="prefix", intents=discord.Intents.all())

@bot.event
async def on_ready():
    print("I'm ready")

@bot.command()
async def waifu(ctx):
    image = await sfw(tag="waifu")
    # or
    image = await nsfw(tag="waifu")
    await ctx.send(image)

bot.run("TOKEN")

The tags are the same as the tags that the api gives

sfw tags are: ["all", "husbando", "waifu"]

nsfw tags are: ["ass", "ecchi", "ero", "hentai", "maid", "milf", "oppai", "oral", "paizuri", "selfies", "uniform"]

The output that image`` gives is the same as the json results in the API

and you can get them with:

image["code", "is_over18", "tag_id", "tag_name", "file", "url"]

Made by lvlahraam#8435

Keywords

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc