Skip to main content

An asyncronous API wrapper for https://waifu.pics written in Python.

Project description

WaifuPicsPython

An asynchronous Python API wrapper for https://waifu.pics.

MIT License

Code example

from WaifuPicsPython import Waifu
import asyncio

async def your_function():
    megumin_image_url = await Waifu().sfw('megumin')
    # returns 1 url as a string
    waifu_images = await Waifu().sfw('waifu', many=True)
    # returns 30 urls in a list
    lewd_waifu = await Waifu().nsfw('wafiu')
    # returns 1 nsfw waifu url as a string
    lewd_nekos = await Waifu().nsfw('neko', many=True)
    # returns 30 nsfw neko urls in a list

asyncio.run(your_function())

Categories List

SFW

  'waifu', 'neko', 'shinobu', 'megumin', 'bully', 'cuddle', 
  'cry', 'hug', 'awoo', 'kiss', 'lick', 'pat', 'smug', 'bonk', 
  'yeet', 'blush', 'smile', 'wave', 'highfive', 'handhold', 
  'nom', 'bite', 'glomp', 'slap', 'kill', 'kick', 'happy', 
  'wink', 'poke', 'dance', 'cringe'

NSFW

  'waifu', 'neko', 'trap', 'blowjob'

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

WaifuPicsPython-0.0.6.tar.gz (3.2 kB view hashes)

Uploaded Source

Built Distribution

WaifuPicsPython-0.0.6-py3-none-any.whl (5.8 kB view hashes)

Uploaded Python 3

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