def people_findByUsername(username):
    """Returns User object."""
    method = 'flickr.people.findByUsername'
    data = _doget(method, username=username)
    user = User(data.rsp.user.id, username=data.rsp.user.username.text)
    return user
def people_findByUsername ( username ) : method = 'flickr.people.findByUsername' data = _doget ( method , username = username ) user = User ( data . rsp . user . id , username = data . rsp . user . username . text ) return user
Returns User object.