pussy

Here's an example of fetching a pussy image with the pussy endpoint.

Fetching a pussy image

Get a pussy image & its details.

GET https://nekos.pro/api/pussy

Please note, this returns NSFW images.

{
    "id": 22,
    "character_name": "Azuma (Azur Lane) ",
    "url": "https://cdn.nekos.pro/pussy/36da18af19724ac5b461d9a2e722371e.png"
}

Python example:

import aiohttp

headers = {'Content-type': 'application/json'}
async with aiohttp.ClientSession(headers=headers) as session:
    async with session.get('https://nekos.pro/api/pussy') as resp:
        image = await resp.json()
        print(image['url'])

This example assumes you are using asyncio & running a Discord bot, which you should be using instead of requests, which is blocking.

Last updated