Skip to content

Ykpauneu/nekos.py-aiohttp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nekosrewrite

Python module that uses Nekos API via aiohttp

Install:

>>> pip install git+https://github.com/Ykpauneu/nekos.py-aiohttp.git

Requirements

  • aiohttp

Example:

from nekosrewrite import NekosRewrite

async def main():
    result = await NekosRewrite.get_image("feet")
    print(result)

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

Get arguments

from nekosrewrite import NekosRewrite

async def main():
    result = await NekosRewrite.get_arguments()
    print(result)

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

Get endpoints

from nekosrewrite import NekosRewrite

async def main():
    result = await NekosRewrite.get_endpoints()
    print(result)

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

About

Python module that uses Nekos API via aiohttp

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages