NixonXC / veno

Free Dark Jokes, Dad Jokes, Facts, Roasts, and Questions API!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Veno API

Free API for Jokes, Facts, Questions and more coming soon!

API URL

API Reference

Get Version

Returns the Version and Last Update Date of the API

  GET /api/version

Get Quote

  GET /api/quote
Endpoint Type Description
quote string Returns a Quote from the API.

Get Song Recommendation

  GET /api/recommendation
Endpoint Type Description
recommendation string Returns a Song Recommendation from the API.

Get Roast

  GET /api/roast/<username>
Endpoint Type Description
roast/<username> string Returns a Joke from the API.

Required Parameters: username

Get Joke

  GET /api/joke
Endpoint Type Description
joke string Returns a Joke from the API.

Get Devjoke

  GET /api/devjoke
Endpoint Type Description
devjoke string Returns a programming-related joke from the API.

Get Darkjoke

  GET /api/darkjoke
Endpoint Type Description
darkjoke string Returns a Dark-Joke from the API.

Get Fact

  GET /api/fact
Endpoint Type Description
fact string Returns a Fact from the API.

Get Question

  GET /api/question
Endpoint Type Description
question string Returns a Question from the API.

Usage/Examples

import requests

url = requests.get("https://peter-api.up.railway.app/api/darkjoke")
result = url.json()

buildup = result['buildup']
punchline = result['punchline']
joke = buildup + "? " + punchline
print(joke)

Output:

Why did the blind man fall into the well? Because he couldn't see that well.

License

MIT

About

Free Dark Jokes, Dad Jokes, Facts, Roasts, and Questions API!


Languages

Language:HTML 38.2%Language:CSS 30.1%Language:Python 29.3%Language:JavaScript 2.4%