Skip to content

The Deez Nuts Jokes API allows users to access a collection of jokes about Deez Nuts to use in their applications. ๐Ÿฅœ

License

Notifications You must be signed in to change notification settings

DeviousLab/DNJokes-API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

89 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

logo

Deez Nuts Jokes API

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.

last update stars open issues license


๐Ÿ“” Table of Contents

๐Ÿ‘พ Tech Stack

๐ŸŽฏ Features

  • 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'

๐Ÿ”‘ Environment Variables

To run this project, you will need to add the following environment variables to your .env file

SUPABASE_SUPAFAST_URL and SUPABASE_SUPAFAST_KEY

๐Ÿงฐ Getting Started

๐Ÿƒ Run Locally

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

๐Ÿงญ Roadmap

  • Add handler to suggest new jokes
  • Setup issue/PR templates
  • Develop NodeJS/Typescript wrapper for API

๐Ÿ‘‹ Contributing

Contributions are always welcome! Open an issue with any issues or requests!

โš ๏ธ License

Distributed under the MIT License. See LICENSE.md for more information.

๐Ÿค Contact

[email protected] deviouslab.dev

๐Ÿ’Ž Acknowledgements

Use this section to mention useful resources and libraries that you have used in your projects.

About

The Deez Nuts Jokes API allows users to access a collection of jokes about Deez Nuts to use in their applications. ๐Ÿฅœ

Topics

Resources

License

Stars

Watchers

Forks

Contributors 3

  •  
  •  
  •  

Languages