@collectivtech/alana-sdk-js / index / createServerApi
Function: createServerApi()
createServerApi(
options,secretKey):AlanaServerApi
Defined in: src/index.ts:65
Create a new entry to the ALANA Platform API using your API secret key and username.
Parameters
options
The options to use when creating this SDK instance. These include the API key and username, the mode (development or production), and further customization for specialized use cases.
secretKey
string
Your API secret key. This should only be used outside a browser environment, except that in-browser use is allowed in dev and sandbox modes for testing only.
Returns
A new server ALANA SDK instance.