code: function Blizzard(args, instance) {
    const { key, secret, token } = args;
    const { origin, locale } = endpoints.getEndpoint(args.origin, args.locale);
  
    this.version = pkg.version;
    this.defaults = {
      origin,
      locale,
      key,
      secret,
      token,
    };
    this.axios = axios.create(instance);
  
    /**
     * Account API methods.
     *
     * @member {Object}
     * @see {@link lib/account}
     */
    this.account = new Account(this);
  
    /**
     * Profile API methods.
     *
     * @member {Object}
     * @see {@link lib/profile}
     */
    this.profile = new Profile(this);
  
    /**
     * Diablo 3 API methods.
     *
     * @member {Object}
     * @see {@link lib/d3}
     */
    this.d3 = new Diablo3(this);
  
    /**
     * Starcraft 2 API methods.
     *
     * @member {Object}
     * @see {@link lib/sc2}
     */
    this.sc2 = new Starcraft2(this);
  
    /**
     * World of Warcraft API methods.
     *
     * @member {Object}
     * @see {@link lib/wow}
     */
    this.wow = new WorldOfWarcraft(this);
  }
docs: Blizzard.js class constructor.
  
  @constructor
  @param {Object} [args] Blizzard.js configuration
  @param {String} [args.origin] The API region
  @param {String} [args.locale] The API locale
  @param {String} [args.key] The API client ID
  @param {String} [args.secret] The API client secret
  @param {String} [args.token] The API access token
  @param {Object} [instance] An [axios](https://github.com/mzabriskie/axios) compatible instance configuration