Method GetMyProfile
GetMyProfile()
Gets information about your own Halo Waypoint profile.
Declaration
public System.Threading.Tasks.Task<Den.Dev.Grunt.Models.HaloApiResultContainer<Den.Dev.Grunt.Models.Waypoint.UserProfile,Den.Dev.Grunt.Models.RawResponseContainer>> GetMyProfile ();
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<HaloApiResultContainer<UserProfile,RawResponseContainer>> | If successful, returns an instance of UserProfile containing profile information. Otherwise, returns a null object and error details. |
Remarks
Profile is obtained for the user associated with the Spartan token passed to the request.
Examples
Here is an example response from the API, as snapshotted on 10/11/2022:
{
"xuid": "2533274855333605",
"gamertag": "ZeBond",
"gamerpic": {
"small": "https://images-eds-ssl.xboxlive.com/image?url=8Oaj9Ryq1G1_p3lLnXlsaZgGzAie6Mnu24_PawYuDYIoH77pJ.X5Z.MqQPibUVTcS9jr0n8i7LY1tL3U7AiafQoCsmqDRwQavrdh0pW4uBGK0dwLfUtXJmRlog5sQmaF&format=png&w=64&h=64",
"medium": "https://images-eds-ssl.xboxlive.com/image?url=8Oaj9Ryq1G1_p3lLnXlsaZgGzAie6Mnu24_PawYuDYIoH77pJ.X5Z.MqQPibUVTcS9jr0n8i7LY1tL3U7AiafQoCsmqDRwQavrdh0pW4uBGK0dwLfUtXJmRlog5sQmaF&format=png&w=208&h=208",
"large": "https://images-eds-ssl.xboxlive.com/image?url=8Oaj9Ryq1G1_p3lLnXlsaZgGzAie6Mnu24_PawYuDYIoH77pJ.X5Z.MqQPibUVTcS9jr0n8i7LY1tL3U7AiafQoCsmqDRwQavrdh0pW4uBGK0dwLfUtXJmRlog5sQmaF&format=png&w=424&h=424",
"xlarge": "https://images-eds-ssl.xboxlive.com/image?url=8Oaj9Ryq1G1_p3lLnXlsaZgGzAie6Mnu24_PawYuDYIoH77pJ.X5Z.MqQPibUVTcS9jr0n8i7LY1tL3U7AiafQoCsmqDRwQavrdh0pW4uBGK0dwLfUtXJmRlog5sQmaF&format=png"
}
}