Asynchroniczny wrapper dla api ivall'a.
Project description
ivwrapper 1.3
Asynchroniczny wrapper dla api ivall'a.
Instalacja
Możesz zainstalować bibliotekę prosto z pypi
Instalacja: pip install ivwrapper
Przykładowe użycie
import asyncio
import ivwrapper
iv = ivwrapper.Api()
async def main():
joke = await iv.get_joke()
print(joke)
if __name__ == "__main__":
loop = asyncio.get_event_loop()
loop.run_until_complete(main())
Endpoint'y
# endpoint'y
await get_joke() # Losuje randomowy żart
await get_meme() # Losuje randomowy mem
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
ivwrapper-1.3.tar.gz
(2.1 kB
view hashes)