Extracting a field from names.nsf through a URL

Does anyone know how to extract a field from names.nsf through a URL (ie. XML). I’m trying to pull out a user’s e-mail address based on their shortname