code: def url(self, key, includeToken=None):
          
          if self._token and (includeToken or self._showSecrets):
              delim = '&' if '?' in key else '?'
              return '%s%s%sX-Plex-Token=%s' % (self._baseurl, key, delim, self._token)
          return '%s%s' % (self._baseurl, key)
docs: Build a URL string with proper token argument.  Token will be appended to the URL
              if either includeToken is True or CONFIG.log.show_secrets is 'true'.