Skip navigation links
Java Bindings to the Alpha API

See: Description

Packages 
Package Description
com.wolfram.alpha  
com.wolfram.alpha.impl  
com.wolfram.alpha.net  
com.wolfram.alpha.net.apache  
com.wolfram.alpha.net.impl  
com.wolfram.alpha.net.j2se  
com.wolfram.alpha.simple
Java Bindings to the Simple Alpha APIs
com.wolfram.alpha.test  
com.wolfram.alpha.visitor  

Java Bindings to the Alpha API

There are two ways of accessing the Wolfram|Alpha API using this library.

The Simple APIs

A full image, spoken result, short answer, or an HTML pane can be obtained by simply invoking the call method of the associated class in the com.wolfram.alpha.simple package. This requires an instance of com.wolfram.alpha.simple.CommonParameters which encapsulates information required for the request, such as your appID.

The Full Results API

Calling the full results API starts with creating an instance of com.wolfram.alpha.WAEngine. Its createQuery and performQuery methods can then be used to obtain full results.

Skip navigation links