Goals and Considerations¶
The API design pursues the following goals:
-
Simplicity
-
Extensibility
-
Compatibility with future releases
-
Performance
Those goals are achieved by:
-
Operating on simple primitives
-
Transferring settings and data in the form of extensible JavaScript objects
-
Versioning
-
Asynchronous API
-
Omitting “convenience” API methods with the intent of having a higher-level JavaScript library implementing them.