Fun Responses

A API that I attempted to make as a way to get jokes, questions, and similar things. Originally for Melody, I expanded it to be public use on NPM, PyPI, and browsers.

Node.js JavaScript NPM Python PyPI

Package on NPM

NPM Version Bundled Size Total Downloads


npm install fun-responses

How to use:

const fun = require('fun-responses'); async function run() { console.log(' - Joke') console.log(await fun.joke()) console.log(' - Pickup Line') console.log(await fun.pickup()) console.log(' - Topic') console.log(await fun.topic()) console.log(' - Roast') console.log(await fun.roast()) console.log(' - Toast') console.log(await fun.toast()) } run()

Package on PyPI

PyPI Version Total Downloads


pip install fun-responses

Example Usage

import funresponses print(funresponses.joke()) print(funresponses.topic()) print(funresponses.pickup()) print(funresponses.roast()) print(funresponses.toast())