Create API#

These are instructions on how to use the Create API feature, in the Research environment.

If you experience any issues using this feature, please contact our support team at support@quantamatics.com.

The Create API feature is used to create a new function asset, and edit and update an existing function asset.


Create#

To create a new function asset:

  1. Create a new or open an existing Jupyter notebook in the Research environment that contains one or more function definitions

  2. Save the notebook if it was just created or if any changes have been made

  3. Click Create API in the toolbar

  4. Select the Entry Point

    • The list is auto-generated from the function definitions in the notebook

  5. Fill in the Function Name (required) and Function Description (optional)

    • The Function Name text appears as the title in the function selection list in the plug-in

    • The Function Description text appears when the function is selected in the plug-in and can be used to provide additional information on what the function does and how it works

  6. Determine and complete the parameters that will be used with the function

    • The parameters are auto-populated based on the Entry Point selected

  7. Click Create

../_images/create_api_dialog.png

The function is added as an Asset to the Organization and enabled for the User Account that created it, and is now available for use in the Quantamatics Excel plug-in.

The function Asset can be enabled for additional User Accounts using the Settings feature. See the User Administration section for instructions on enabling assets.

Update#

To update an existing function asset:

  1. Open the Jupyter notebook that contains the function definition

  2. Make any changes and save the notebook

  3. Click Create API in the toolbar

  4. Select the same Entry Point used to create the existing function asset

    • The Function Name, Function Description and Parameters are populated from the existing function asset

    • The Create button switches to Update

  5. Click Update

The updated function asset is now available for use in the Quantamatics Excel plug-in.