Metadata-Version: 2.1
Name: dadjokeAPI
Version: 1.0.3
Summary: A simple API wrapper for your dad joke needs.
Home-page: https://github.com/7ez/dadjokeAPI
Author: Aochi
Author-email: aochi@fuquila.net
License: UNKNOWN
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.7
Description-Content-Type: text/markdown
Requires-Dist: aiohttp
Requires-Dist: requests

### dadjokeAPI - A simple API for your dad joke needs.

Non-asynchronous usage:
```python
from dadjokeAPI import searchDadJokes
from dadjokeAPI import getDadJoke

# Prints a dad joke with a random or specified ID.
# Raises JokeNotFoundException if the joke was not found.
print(getDadJoke("0189hNRf2g"))

# Prints a list of dad jokes with a random or provided term.
# Returns a empty list if no jokes were found.
print(searchDadJokes("fish"))
```

Asynchronous usage:
```python
from dadjokeAPI import searchDadJokesAsync
from dadjokeAPI import getDadJokeAsync

# Prints a dad joke with a random or specified ID.
# Raises JokeNotFoundException if the joke was not found.
# Has an optional aiohttp.ClientSession argument called http
# in case you want to provide your session.
print(await getDadJokeAsync("0189hNRf2g"))

# Prints a list of dad jokes with a random or provided term.
# Returns a empty list if no jokes were found.
# Has an optional aiohttp.ClientSession argument called http
# in case you want to provide your session.
print(await searchDadJokesAsync("fish"))
```

