Python client for Chuck Norris Jokes API. Random jokes, categories, search. No API key needed.
from chucknorris import ChuckNorrisClient
client = ChuckNorrisClient()
print(client.random())
print(client.random_by_category("dev"))
print(client.categories())
jokes = client.search("programming")
for j in jokes[:3]:
print(f" {j}")| Method | Description |
|---|---|
random() |
Random joke |
random_by_category(cat) |
Random joke from category |
categories() |
List all categories |
search(query) |
Search jokes |
- dadjoke-python — Dad jokes
- awesome-no-auth-apis — 50+ free APIs
MIT
I build production-ready scrapers, APIs, and data tools — 78+ deployed on Apify, 270+ open-source repos.
📧 spinov001@gmail.com — $250 flat rate, 48h delivery. Describe your project, get a free estimate in 2 hours.