code: public TokenSession getGuestSessionToken() throws MovieDbException {
          URL url = new ApiUrl(apiKey, MethodBase.AUTH).subMethod(MethodSub.GUEST_SESSION).buildUrl();
          String webpage = httpTools.getRequest(url);
  
          try {
              return MAPPER.readValue(webpage, TokenSession.class);
          } catch (IOException ex) {
              throw new MovieDbException(ApiExceptionType.MAPPING_FAILED, "Failed to get Guest Session Token", url, ex);
          }
      }
docs: This method is used to generate a guest session id.
  
  A guest session can be used to rate movies without having a registered
  TMDb user account.
  
  You should only generate a single guest session per user (or device) as
  you will be able to attach the ratings to a TMDb user account in the
  future.
  
  There are also IP limits in place so you should always make sure it's the
  end user doing the guest session actions.
  
  If a guest session is not used for the first time within 24 hours, it
  will be automatically discarded.
  
  @return
  @throws MovieDbException