docs: function IDOLclient(options) {
  
      // Validate default client options.
      if (options && _.isString(options)) {
          options = {
              APIkey: options
          };
      } else if (!_.isPlainObject(options)) {
          throw new Error('IDOLclient requires constructor options to be set as \'your APIkey\' or {}');
      } else if (!_.has(options, 'APIkey')) {
          throw new Error('IDOLclient needs `APIkey` property to be set');
      }
  
      // Handle default client options.
      this.options = _.defaults(options, {
          APIformat: {
              host: 'api.idolondemand.com',
              platform: '1'
          },
          autoResult: true,
          requestTimeout: false
      });
  
      // Add events functionality to the class.
      EventEmitter.call(this);
  }