code: def token(self):
          
          if self._token is None or \
             datetime.datetime.now() >= self._token_expires_on:
              self._generateForOAuthSecurity(self._client_id,
                                             self._secret_id,
                                             self._token_url)
          return self._token
docs: obtains a token from the site