Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Introduction

Vidispine VidiCore Development Toolkit provides a set of libraries which you can use when building your javascript applications. In this guide we will show you how create a to run JavaScript in a node environment and connect to your VidiCore API server.

...

Running the node command within your project directory will make all of the libraries installed in the node_modules folder available to import, including @vidispine/vdt-api. Let’s run a quick test to see if we can connect to your Vidispine VidiCore API endpoint.

Start the node runtime within your my-vidispine-script folder.

...

The @vidispine/vdt-api library provides a wrapper around the axios client with functions named after the Vidispine VidiCore REST APIs. The request configuration object is passed along to the client and we can use this to specify the credentials and endpoint URL.

...