Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

 

you You need a copy of the Java wrapper library file TMRestClient.jar, available from here

You should place the file in your class path or in the folder where you are executing the code.

 

You must then 'import' the jar library somewhere in your Java code, before you can use it:

Code Block
themeRDark
languagejava
titleExample
linenumberstrue
import uk.co.textmarketer.RestAPI.*;

The Jar library file needs to be in your java CLASSPATH or added as a command-line option in your java virtual machine e.g.

Code Block
themeRDark
languagejava
titleExample
linenumberstrue
java -classpath /usr/java/library/TMRestClient.jar