personInfo(identifier) {
    const query = { id: identifier };
    const cacheKey = `tmdb/${this.cacheTags.personInfo}:${identifier}`;

    return this.getFromCacheOrFetchFromTmdb(cacheKey, 'personInfo', query)
      .then(person => this.cache.set(cacheKey, person, this.defaultTTL))
      .then(person => Person.convertFromTmdbResponse(person))
  }
/**
   * Retrieve a specific person id from TMDB.
   * @param {Number} identifier of the person you want to retrieve
   * @param {String} type filter results by type (default person).
   * @returns {Promise} succeeds if person was found
   */
Retrieve a specific person id from TMDB.
@param {Number} identifier of the person you want to retrieve
@param {String} type filter results by type (default person).
@returns {Promise} succeeds if person was found
Retrieve a specific person id from TMDB . @param { Number } identifier of the person you want to retrieve @param { String } type filter results by type ( default person ) . @returns { Promise } succeeds if person was found
personInfo(identifier) {
    const query = { id: identifier };
    const cacheKey = `tmdb/${this.cacheTags.personInfo}:${identifier}`;
    return this.getFromCacheOrFetchFromTmdb(cacheKey, 'personInfo', query)
      .then(person => this.cache.set(cacheKey, person, this.defaultTTL))
      .then(person => Person.convertFromTmdbResponse(person))
  }
personInfo ( identifier ) { const query = { id : identifier } ; const cacheKey = ` ${ this . cacheTags . personInfo } ${ identifier } ` ; return this . getFromCacheOrFetchFromTmdb ( cacheKey , 'personInfo' , query ) . then ( person => this . cache . set ( cacheKey , person , this . defaultTTL ) ) . then ( person => Person . convertFromTmdbResponse ( person ) ) }
Retrieve a specific person id from TMDB.
Retrieve a specific person id from TMDB .