Skip to content

Nekos-life/Async-nekos.life-wrapper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

anekos

PyPI version info PyPI supported Python versions PyPI Downloads

Features

  • You can download the images! (using aiofile)
  • Easy to use with an object-oriented design.

Install

# 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 .

Optional Packages

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())

Links

About

An official async wrapper for nekos.life API!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages