An example integration with Wolfram Alpha’s Short Answers API
This package is unlisted for people in other organizations
README
This is a very simple integration with Wolfram Alpha’s Short Answers API..
Code
if len(args) > 0:
endpoint = “https://link.ab.bot/api/2XHbbY5TMHZm1HhFt5Tr6xhX?output=json&i=” + args
r = requests.get(requote_uri(endpoint))
bot.reply(r.text)
else:
bot.reply(“You didn’t say anything…”)