REST API that serves uniformly and well formatted jokes in JSON, XML, YAML or plain text format that also offers a great variety of filtering methods
Removed dark jokes from the GitHub repo, as they were violating the TOS.
If you need access to the jokes, please contact me.
Note that the API is broken in this state. The plan is to jump from v2.3.2 directly to v3.0.0 and fix the issue there.
This release is marked as pre-release because it should never be deployed.
Additions / Fixes:
Internal Changes:
Also see PR #341
Note that this update was made to properly adjust JokeAPI to its new and hopefully permanent environment on my VPS, that's why the majority of changes are internal.
Wanna discuss this release or get help? Create a discussion or join the Discord server.
The most notable changes are:
jokeapi.dev
https://v2.jokeapi.dev/
jokeapi.dev
(without the "v2") is not recommended. Only use it to read and link to the documentation.https://sv443.net/jokeapi/v2
) will still work until version 3.0 is released.?safe-mode
explicit
to every joke. It indicates a joke that contains explicit language (swear words).?dry-run
to enable testing a joke submission without actually submitting it to the API.Spooky
(Halloween)Christmas
(thanks for the suggestion Dan)txt
and the amount
parameter on endpoint /joke
(issue #138)Changes:
Hotfix for a single bug, #101 (IP getter is still broken)