1
0
Fork 0
mirror of synced 2026-12-06 18:12:25 +00:00
No description
Find a file
2022-04-10 18:57:41 -04:00
anekos forgor 💀 2021-12-12 13:37:41 -05:00
LICENSE Change name & add to license 2022-04-10 18:57:41 -04:00
README.md docs: fix install error 2020-08-13 21:58:28 +09:00
setup.py Change name & add to license 2022-04-10 18:57:41 -04:00

Async-nekos.life-wrapper

An official async wrapper for nekos.life API!

Requirements

The library below is just required if you want to save an image asynchronously

Cool Features

  • You can download the images!
  • You can take a random image from SFW and/or NSFW tags!
  • Easy to use with an object oriented design.

Install

Installing is done purely via git:

python -m pip install -U git+https://github.com/Nekos-life/Async-nekos.life-wrapper

Quick Example

from anekos import NekosLifeClient, SFWImageTags
from asyncio import get_event_loop

client = NekosLifeClient()

async def main():
    result = await client.image(SFWImageTags.WALLPAPER)
    print(result.url)

loop = get_event_loop()
loop.run_until_complete(main())