Is there an API that allows you to retreive all public info from a user's profile including their age/location etc... as well as their list of friends? Ideally I would like to access this info from C# and not a "MySpace App". It shouldn't require authentication since you can easily browse to people's public profiles without signing in. I could write a screen scraper but am hoping that MySpace API is making this available in a more robust way. I have heard of Google's Open Social and Social Graph APIs but can't seem to figure them out to do what I am asking. Here's the code I would like to be able to write:
Person rootPerson = new Person(<friendId>);
stringDisplayName = rootPerson.DisplayName;
stringCountry = rootPerson.Country;
int friendCount = rootPerson.friendIDs.Count;
int [ friendIDs = rootPerson.friendIDs;
foreach (int friendID in friendIDs)
{
loadData(friendID);
}
etc...
etc...