An asynchronous API wrapper for the DhravyaAPI
DhravyaPy
DhravyaPy works with Python 3.8+
Features
- Easy to use OOP design
- Get random jokes
- Get random topics
- Generate images and memes
Installation
To install the library through PyPi use:-
To install the development version(using git):-
pip install git+https://github.com/27Saumya/dhravyapy
Examples
To get a random joke
import dhravyapy
import asyncio
async def main():
joke = await dhravyapy.Fun().joke()
print(joke)
if __name__ == "__main__":
loop =