Giter VIP home page Giter VIP logo

hmtaipy's Introduction

hmtaipy - Python API Wrapper for hmtai

THERE WILL BE NO UPDATE Only if requested, if you want me to add something just open an issues

pyhmtai is a Python library that serves as an API wrapper for hmtai, a service that provides random anime images based on various categories. This wrapper allows you to easily integrate hmtai functionality into your Python applications.

Installation

You can install pyhmtai using pip:

pip install hmtaipy

Here's a basic example of how to use pyhmtai:

from hmtaipy import pyhmtai

# Create an instance of pyhmtai
hmtai = pyhmtai()

# SFW Example
sfw_image = hmtai.sfw('hug') # OPTIONAL .download()
print(f"SFW Image URL: {sfw_image}")

# NSFW Example
nsfw_image = hmtai.nsfw('hentai') #OPTIONAL .download()
print(f"NSFW Image URL: {nsfw_image}")

Methods

.download() Downloads the image associated with the current URL. The image will be saved as image.jpg in the current directory. (Next update it will save as the name of the URL

sfw(arg) Sets the function name for a Safe For Work (SFW) category image. Available SFW functions include:

SFW (Safe For Work) Categories

Category Category Category
wave hug cry
wink cuddle slap
tea five glomp
bonk happy hold
punch nom smile
poke throw lick
bully bite boop
pat dance like
kiss sleep nosebleed
kick threaten tickle
blush depression wolf_arts
feed jahy_arts neko_arts
smug coffee_arts wallpaper
------------------ mobileWallpaper ------------------

NSFW (Not Safe For Work) Categories

Category Category Category
anal hentai creampie
ass masturbation gangbang
bdsm public footjob
cum ero boobjob
classic orgy handjob
pantsu elves boobs
glasses yuri thighs
cuckold nsfwMobileWallpaper ahegao
blowjob nsfwNeko pussy
tentacles uniform
gif zettaiRyouiki

Information

If you want to help to the repository open an issues, or do a pull requests

hmtaipy's People

Contributors

thecuteowl avatar

Stargazers

Nick Salt avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.