- You can download the images! (using aiofile)
- Easy to use with an object-oriented design.
# Linux/macOS
python3 -m pip install -U anekos
# Windows
py -3 -m pip install -U anekos
To install the development version, do the following:
$ git clone https://github.com/Nekos-life/Async-nekos.life-wrapper.git
$ cd Async-nekos.life-wrapper
$ python3 -m pip install -U .
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())