I have to program a game in JAVA using Wolfram Alpha API. The game is a crossword puzzle game. A pattern for the game like "_al_ _la_ _" for the player is given. We have to use Wolfram Alpha to retrieve the words and output it in the console. In that way I match the pattern from the user with Wolfram's in order to find out if they are meaningful or not and if more words are available. I already looked at the java binding but I cannot figure out on how to do it. We have to use the "plaintext" format.
So for the AlphaAPISample I put my app id in it and used:
String input = "_al_ _la_ _";
When I run it in NetBeans it does not give me the crosswords though. What do I need to change to retrieve the words from http://www.wolframalpha.com/input/?i=_al__la__&lk=3
Thank you so much!