movieSearch(query, page=1, adult=true) {
    const tmdbquery = { query: query, page: page, adult: adult };
    const cacheKey = `tmdb/${this.cacheTags.movieSearch}:${page}:${query}:${adult}`;

    return this.getFromCacheOrFetchFromTmdb(cacheKey, 'searchMovie', query)
      .then(response => this.cache.set(cacheKey, response, this.defaultTTL))
      .then(response => this.mapResults(response, 'movie'))
  }
/**
   * Retrive movie search results from TMDB.
   * @param {String} text query you want to search for
   * @param {Number} page representing pagination of results
   * @returns {Promise} dict with query results, current page and total_pages
   */
Retrive movie search results from TMDB.
@param {String} text query you want to search for
@param {Number} page representing pagination of results
@returns {Promise} dict with query results, current page and total_pages
Retrive movie search results from TMDB . @param { String } text query you want to search for @param { Number } page representing pagination of results @returns { Promise } dict with query results current page and total_pages
movieSearch(query, page=1, adult=true) {
    const tmdbquery = { query: query, page: page, adult: adult };
    const cacheKey = `tmdb/${this.cacheTags.movieSearch}:${page}:${query}:${adult}`;
    return this.getFromCacheOrFetchFromTmdb(cacheKey, 'searchMovie', query)
      .then(response => this.cache.set(cacheKey, response, this.defaultTTL))
      .then(response => this.mapResults(response, 'movie'))
  }
movieSearch ( query , page = 1 , adult = true ) { const tmdbquery = { query : query , page : page , adult : adult } ; const cacheKey = ` ${ this . cacheTags . movieSearch } ${ page } ${ query } ${ adult } ` ; return this . getFromCacheOrFetchFromTmdb ( cacheKey , 'searchMovie' , query ) . then ( response => this . cache . set ( cacheKey , response , this . defaultTTL ) ) . then ( response => this . mapResults ( response , 'movie' ) ) }
Retrive movie search results from TMDB.
Retrive movie search results from TMDB .