The Deez Nuts Jokes API allows users to access a collection of jokes about Deez Nuts to use in their applications. ๐ฅ Also available on RapidAPI.
A wrapper built with TypeScript/JavaScript is also available on npm.
- Get an array of all jokes in the database
curl -X 'GET' \
'https://deezjokes.deta.dev/jokes' \
-H 'accept: application/json'
- Get a random joke from the database
curl -X 'GET' \
'https://deezjokes.deta.dev/joke/random' \
-H 'accept: application/json'
- Get a joke by ID
curl -X 'GET' \
'https://deezjokes.deta.dev/joke/1' \
-H 'accept: application/json'
- Get a joke by search query
curl -X 'GET' \
'https://deezjokes.deta.dev/joke/search?keyword=boba' \
-H 'accept: application/json'
To run this project, you will need to add the following environment variables to your .env file
SUPABASE_SUPAFAST_URL
and SUPABASE_SUPAFAST_KEY
Clone the project
$ git clone https://github.com/DeviousLab/DNJokes-API.git
Go to the project directory
$ cd DNJokes-API/api
Install dependencies
$ pip install -r requirements.txt
Start the server
$ uvicorn main:app --reload
-
Add handler to suggest new jokes - Setup issue/PR templates
- Develop NodeJS/Typescript wrapper for API
Contributions are always welcome! Open an issue with any issues or requests!
Distributed under the MIT License. See LICENSE.md
for more information.
[email protected] deviouslab.dev
Use this section to mention useful resources and libraries that you have used in your projects.