Simple wrapper for loli api.
Project description
Loli api wrapper
pip install loli.py
Sync Example
from loli.py import LoliSync
loli = LoliSync()
print(loli.get_point('sfw', 'hug'))
Async example
from loli.py import LoliAsync
import asyncio
loli = LoliAsync()
async def main():
print(await loli.get_point('sfw', 'hug'))
if __name__ == "__main__":
loop = asyncio.get_event_loop()
loop.run_until_complete(main())
loop.close()
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Loli-wrapper-1.0.tar.gz
(2.0 kB
view hashes)