In the Scripting API you will find all public methods that can be used in scripts.
If you are not sure about how a method needs to be written, you can see examples of each method at this reference page.
For a quick reference, use the Cheatsheet.
Other pages, that are planned: