Wolfram|Alpha bot for WhatsApp

Sometimes I just want to check things quick, and it’s quicker for me to send a WhatsApp message than to load the site. Basically, I created it to scratch a personal itch. You can add it to groups, and ask it questions, for example, “WA 88 mph” or you can message it directly without need to launch the Wolfram|Alpha website.

You can add it at +27 63 975 2230

It’s written in python, to get the Wolfram|Alpha output the way I like it I just shell out to a slightly modified GitHub - ASzc/tungsten: A WolframAlpha CLI · GitHub, but I will replace that with proper python code soon. To access WhatsApp I’m using GitHub - mukulhase/WebWhatsapp-Wrapper: An API for sending and receiving messages over web.whatsapp [Working as of 18th May 2018] · GitHub as it’s a bit more difficult to get a WhatsApp business account, and you can’t add business accounts to groups, and having it run in a group was one of the things I wanted out of it.

Once the code is cleaned up a little I’ll post it on github, and I’ll update this post with the link.

Welcome to Wolfram Community and thank you for sharing, it looks like it really works! Could you please share more details on the implementation? We added a few images to your post of how the interface looks on mobile phone. But It would be really interesting to know the inner workings. Here are best practices for posting: http://wolfr.am/READ-1ST

Note there was some similar work done: Wolfram Alpha for .NET: open source software library

Sure!

Thanks for adding the images. I’ll update the OP with the details.