1.1.13 • Published 12 months ago

@nomad-media/public v1.1.13

Weekly downloads
-
License
-
Repository
-
Last release
12 months ago

Nomad Media Public

This package contains the public version of the Nomad Media SDK. It includes all of the media methods of the SDK.

Minimum Requirements

  • Node.js 12.0.0

Installation

To use the Nomad SDK, download the npm nomad-media-npm.

npm install @nomad-media/public

Then to import it, you can either use the default version, or the debug version. The difference is that the debug version isn't compressed and has more documentation and named parameters.

To use the default version use:

import NomadMediaSDK from "@nomad-media/public";

To use the debug version user:

import NomadMediaSDK from "@nomad-media/public/debug";

To initialize the sdk, call the NomadMediaSDK class as shown below:

const SDK = NomadMediaSDK(config);

Configure Environmental Variables

Follow this format for the config:

const config = {
    "username": "username",
    "password": "password",
    "serviceApiUrl": "serverApiUrl",
    "apiType": "admin",
    "debugMode": true
};

serviceApiUrl: Specifies the url of the server you are trying to connect to.

apiType: Specifies whether the function you are trying to run is admin or portal.

debugMode: Specifies when running functions, whether of not to print api call information.

You are now ready to use the SDK in your project.

📘 Contact: Make sure to contact Nomad Media support to get username, password, and url for your enviromnent.

🚧 Make sure to keep your configuration options secret and do not share them publicly.

Nomad SDK Documentation

1.1.13

12 months ago

1.1.12

12 months ago

1.1.9

1 year ago

1.1.11

1 year ago

1.1.8

1 year ago

1.1.10

1 year ago

1.1.6

1 year ago

1.1.5

1 year ago

1.1.4

1 year ago