Character Vault
Any Concept / Any System
Compendium
Your System Come To Life
Roll20 for Android
Streamlined for your Tablet
Roll20 for iPad
Streamlined for your Tablet

Personal tools

Difference between revisions of "Mod:A Guide to Roll20 Mod"

From Roll20 Wiki

Jump to: navigation, search
(Created page with "{{mbox | text = This is a work in progress please keep that in mind.}} ==What This Guide is and what it isn’t!== This guide will explain what the API is, using examples gi...")
 
Line 7: Line 7:
  
 
==What is the API?==
 
==What is the API?==
What we as the community refer to as the API is actually acomplicated scripting system of many different parts.
+
What we as the community refer to as the API is actually a complicated scripting system of many different parts.
  
Here is some terminology I will for each part of what wecall the API:
+
Here is some terminology I will for each part of what we call the API:
* The Environment or Sandbox – You can think ofthis as a virtual machine that runs the code you enter into the scriptingwindow.
+
* The Environment or Sandbox – You can think of this as a virtual machine that runs the code you enter into the scripting window.
* The API (Application programming interface) –The actual API is a JavaScript library that gives access to the inner workingsof Roll20.
+
* The API (Application programming interface) –The actual API is a JavaScript library that gives access to the inner workings of Roll20.
  
 
==Prior Knowledge==
 
==Prior Knowledge==
  
To understand this guide I expect you to have a basicunderstanding of general programming, without this there is no point in readingany more of this guide.  
+
To understand this guide I expect you to have a basic understanding of general programming, without this there is no point in reading any more of this guide.  
  
To start learning about general programming and more specificallyJavaScript please check out [http://www.codecademy.com/tracks/javascript codecademy].
+
To start learning about general programming and more specifically JavaScript please check out [http://www.codecademy.com/tracks/javascript codecademy].
  
 
[[Category:API]][[Category:Guides]]
 
[[Category:API]][[Category:Guides]]

Revision as of 06:33, 20 May 2013


What This Guide is and what it isn’t!

This guide will explain what the API is, using examples give the user a basic idea of how to use the API, and lay down some best practices for its use. This guide is not here to teach you basic programming concepts; but it will cover some “advanced” ideas that will be necessary for your code to not interfere with other scripts.

What is the API?

What we as the community refer to as the API is actually a complicated scripting system of many different parts.

Here is some terminology I will for each part of what we call the API:

  • The Environment or Sandbox – You can think of this as a virtual machine that runs the code you enter into the scripting window.
  • The API (Application programming interface) –The actual API is a JavaScript library that gives access to the inner workings of Roll20.

Prior Knowledge

To understand this guide I expect you to have a basic understanding of general programming, without this there is no point in reading any more of this guide.

To start learning about general programming and more specifically JavaScript please check out codecademy.