Scala/Java: This tutorial on GitHub will have you up and running in no time!
JavaScript (experimental):Check out the interactive tutorial, which will run right in your browser.
If you have any questions, you can get an answer by posting to Gitter cswinter/CodeCraftGame.
For a comprehensive documentation of the API, see the API reference.