Skip to content

Latest commit

 

History

History
60 lines (41 loc) · 2.08 KB

File metadata and controls

60 lines (41 loc) · 2.08 KB

Quantimodo.AppSettingsApi

All URIs are relative to https://app.quantimo.do/api

Method HTTP request Description
getAppSettings GET /v3/appSettings Get client app settings

getAppSettings

AppSettingsResponse getAppSettings(opts)

Get client app settings

Get the settings for your application configurable at https://build.quantimo.do

Example

var Quantimodo = require('quantimodo');

var apiInstance = new Quantimodo.AppSettingsApi();

var opts = { 
  'clientId': "clientId_example", // String | Your QuantiModo client id can be obtained by creating an app at https://builder.quantimo.do
  'clientSecret': "clientSecret_example", // String | This is the secret for your obtained clientId. We use this to ensure that only your application uses the clientId.  Obtain this by creating a free application at [https://builder.quantimo.do](https://builder.quantimo.do).
  'platform': "platform_example" // String | Ex: chrome, android, ios, web
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.getAppSettings(opts, callback);

Parameters

Name Type Description Notes
clientId String Your QuantiModo client id can be obtained by creating an app at https://builder.quantimo.do [optional]
clientSecret String This is the secret for your obtained clientId. We use this to ensure that only your application uses the clientId. Obtain this by creating a free application at https://builder.quantimo.do. [optional]
platform String Ex: chrome, android, ios, web [optional]

Return type

AppSettingsResponse

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json