There are 2 techniques for accessing the API library file:
Inside your development project install the API using the following syntax for NPM:
Embed API Structure
The main technique for programming the with the Embed APIs is to instantiate and use the Pyramid Embed client object. The key objects in the Embed API, including the client, are described here.