new ConfigId(params)
Represents a ConfigId returned by the Electric Imp API corresponding to a BlinkUp attempt.
This object is created by the module:blinkupSDK.getConfigId method.
You should never have to create it yourself.
Parameters:
Name | Type | Description |
---|---|---|
params |
object | Initialization parameters |
- Source:
Example
var blinkup = require('blinkup/blinkupSDK');
blinkup.getConfigId('myElectricImpAPIKey', null, 'production', function (err, configId) {
if (err) {
// Handle error
} else {
// The configId has been retrieved.
// Generally it should be passed to the startNetworkFlash function
var theConfigId = configId;
}
});
Members
apiKey
- Source:
environment
Production environment for API calls
Ensure the correlating apiKey is used
Values: 'production'
- Source: