Player GetInfo

Returns the player's info
;Usage
name, faction, race, sex, id = Player.GetInfo()
;Return Values
Value 	Type 	Description
name 	string 	player's name
faction	string 	accord
race 	string 	human
sex 	string 	male, female
id 	entityId	
;Examples:
<nowiki>
local name, faction, race, sex, id = Player.GetInfo();
--[[
RedFive accord human male 6606795298285970430
--]]
local url = System.GetOperatorSetting("ingame_host").."/api/v3/characters/"..id.."/manufacturing/workbenches";
HTTP.IssueRequest( url, "GET", nil, OnWorkbenchResponse);
function OnWorkbenchResponse(resp, err)
 log(tostring(resp));
end
</nowiki>
Category:Addon_API