Api#

class apsync.Api#

The Anchorpoint Sync Api is your swiss army knife to communicate with the Anchorpoint Server. It is required to do all kinds of neat things, such as:

  • read and write attributes

  • get information about projects

  • read and write settings

  • and much more

You can access the active instance of the Api object with instance(). When working with apsync standalone (e.g. in blender) it is highly recommended to setup the client name when initializing the plugin so that Anchorpoint knows who is talking.

Example

>>> import apsync
>>> api = apsync.Api.instance()
>>> api.set_client_name("blender")
__init__()#