chatbot-api

command module
v0.0.0-...-620d58c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 5, 2022 License: MIT Imports: 7 Imported by: 0

README

chatbot-api

Commands

advice

Get a piece of advice, either random or by ID.

Get random advice

GET /commands/advice

Get advice by ID

GET /commands/advice/{ID}
chucknorris

Get a random satirical factoid about martial artist and actor Chuck Norris.

GET /commands/jokes/chucknorris
ctof

Convert a temperature from Celsius to Fahrenheit.

GET /commands/temperature/ctof/{temperature}
ctok

Convert a temperature from Celsius to Kelvin.

GET /commands/temperature/ctok/{temperature}
ftoc

Convert a temperature from Fahrenheit to Celsius.

GET /commands/temperature/ftoc/{temperature}
ftok

Convert a temperature from Fahrenheit to Kelvin.

GET /commands/temperature/ftok/{temperature}
ktoc

Convert a temperature from Kelvin to Celsius.

GET /commands/temperature/ktoc/{temperature}
ktof

Convert a temperature from Kelvin to Fahrenheit.

GET /commands/temperature/ktof/{temperature}
current time, 12-hour format

Get the current time in a 12-hour format for a certain timezone.

GET /commands/time/current/12/{timezone}
current time, 24-hour format

Get the current time in a 24-hour format for a certain timezone.

GET /commands/time/current/24/{timezone}

License

MIT License

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
app

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL