Sets the group's player of the week, or removes them when the same member is set again.
No known rate limit
Authenticated: Yes Method: POST Host: steamcommunity.com Path: /gid/:groupid/potwEdit Variables: Name Type Description :groupid number The 64-bit SteamID of the group Form Data: Name Type Required Description sessionid string Yes The value of the sessionid cookie xml number No Has no effect; the response is always XML action string Yes Always potw memberId string Yes The SteamID3 of the member to make player of the week (e.g. [U:1:825837603])
Authenticated: Yes
Method: POST
POST
Host: steamcommunity.com
steamcommunity.com
Path: /gid/:groupid/potwEdit
/gid/:groupid/potwEdit
Variables:
:groupid
Form Data:
sessionid
xml
action
potw
memberId
[U:1:825837603]
200 OK Name Type Description results string OK on success, otherwise the error message oldPOTW string The SteamID3 of the previous player of the week, [U:1:0] when none was set newPOTW string The SteamID3 of the new player of the week, [I:0:0] when the role was removed
results
OK
oldPOTW
[U:1:0]
newPOTW
[I:0:0]
POST https://steamcommunity.com/gid/103582791474397691/potwEdit { sessionid: "a0b1c2d3e4f5g6h7i8j9klmn", xml: 1, action: "potw", memberId: "[U:1:825837603]" }
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><response><results><![CDATA[OK]]></results><oldPOTW><![CDATA[[U:1:0]]]></oldPOTW><newPOTW><![CDATA[[U:1:825837603]]]></newPOTW></response>
There was an error while loading. Please reload this page.