boobs

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

Fetching a boob image

Get a boobs image & its details.

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

Please note, this returns NSFW images.

{
    "id": 227,
    "character_name": "Minamoto No Raikou (Fate)",
    "url": "https://cdn.nekos.pro/boobs/47b0cbc0d0fe4f46ac75184c3746eec3.jpg"
}

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/boobs') 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