muster:8.0:api

Muster API

Muster 8 introduces a brand new collection of APIs available from a wide range of languages. While the RESTful HTTP API is an unique interface, the APIs available for the scripting languages provide bindings that directly inherits from the C++ APIs.

The C++ API is a set of classes and headers that let you connect to a Dispatcher service or to a render client service and perform the exact actions available inside Muster Console.

The API itself is made by two global namespaces: MTemplateEngine and MClientLib.

The MTemplateEngine set of functions and classes are often used directly from the Python templates available through Muster 8. While you can still access the functions to query and load the templates from your own code, you’ll rarely need to access them directly unless you’re writing a template.

The MClientLib instead, is the core of the Muster API. It provides functions and classes to connect to the Dispatcher or any render client.

The SDK itself is distributed as a packed directory structure with the following folders:

  • docs – Contains documentation files about the API
  • examples – Contains Python based examples on the API usage
  • includes – Contains C++ headers files required for C++ usage
  • libs – Contains the libraries extensions for the various languages binding
  • mrtool – Contains the full source code of the mrtool Muster command line tool as a full example of the API usage in C++

Please browse the side bar to learn the API usage for specific languages.

  • muster/8.0/api.txt
  • Last modified: 2018/01/11 08:21
  • (external edit)