finally:
if not self.token: raise TokenError('cannot obtain token and no previous token found for reuse')
return self.token
+
+ def lookup_user(self, handle):
+ """This function will launch a webfinger lookup from the pod for the
+ handle requested. Nothing is returned but if the lookup was successful,
+ user should soon be searchable via this pod.
+
+ :param string: Handle to search for.
+ """
+ request = self.get('people', headers={'accept': 'text/html'}, params={'q':handle})