Difference between revisions of "Talk:WebAPI/GetPlayerSummaries"

From Team Fortress Wiki
Jump to: navigation, search
(API Edit)
(Restored)
 
(6 intermediate revisions by 5 users not shown)
Line 6: Line 6:
 
::: Okay, in the future be sure to make notes in the form of <nowiki><ref></nowiki> tags. It keeps the output examples cleaner. -- [[User:Lagg|Lagg]] [[File:Backpack_Stickybomb_Launcher.png|24px|link=User_talk:Lagg]] 11:16, 5 February 2013 (PST)
 
::: Okay, in the future be sure to make notes in the form of <nowiki><ref></nowiki> tags. It keeps the output examples cleaner. -- [[User:Lagg|Lagg]] [[File:Backpack_Stickybomb_Launcher.png|24px|link=User_talk:Lagg]] 11:16, 5 February 2013 (PST)
 
:::: Understood, my apologies.
 
:::: Understood, my apologies.
 +
Can someone clarify why do i get some mumbo-jumbo instead of chineese hieroglyphs? Is it some charset troubles or what?--[[User:Ohar|Ohar]] 11:55, 27 February 2013 (PST)
 +
: What do you mean by mumbo-jumbo? Have you tried decoding the strings with whatever UTF stuff the language you're using provides? -- [[User:Lagg|Lagg]] [[File:Backpack_Stickybomb_Launcher.png|24px|link=User_talk:Lagg]] 16:06, 27 February 2013 (PST)
 +
 +
Since Valve's new privacy policy, <code>communityvisibilitystate</code> is not reflecting the current state anymore. Event when setting everything to private on https://steamcommunity.com/my/edit/settings using:
 +
<pre>
 +
"Privacy": {
 +
    "PrivacySettings": {
 +
        "PrivacyProfile": 1,
 +
        "PrivacyInventory": 1,
 +
        "PrivacyInventoryGifts": 1,
 +
        "PrivacyOwnedGames": 1,
 +
        "PrivacyPlaytime": 1
 +
    },
 +
    "eCommentPermission": 1
 +
}
 +
</pre>
 +
<code>communityvisibilitystate</code> state will be <code>3</code>. Would be awesome to have all above fields in the response body too. Only <code>eCommentPermission</code> seem to work. --[[User:Spezifanta|Spezifanta]] ([[User talk:Spezifanta|talk]]) 09:33, 31 May 2018 (UTC)

Latest revision as of 14:41, 5 February 2020

API Edit

The edits I made are due to the fact that the API itself was changed. While the new variables do return a variable of 3, they are still variables that can be set and ones listed on the Valve Developer Documentation. --Eoj Nawoh 08:52, 5 February 2013 (PST)

Firstly I have no idea what "variables do return a variable of 3" means, secondly I undid your edit because you replaced the request URL with a link to the VDW for some reason. -- Lagg Backpack Stickybomb Launcher.png 10:31, 5 February 2013 (PST)
My apologies for replacing the link. I misread. But in terms of the returning a variable. The API now allows having 5 choices, as per the VDW. The last 3 of them (Friends of Friends, Users Only and Public) when used are all show as 3 for the API. For instance, if my Profile was set to Users only, and a site used the API to see what the privacy setting on my profile was, it would still return as a Public Profile, despite it being Users only. That being said, since the variables themselves do exist, that is why I edited the wiki. --Eoj Nawoh 10:58, 5 February 2013 (PST)
Okay, in the future be sure to make notes in the form of <ref> tags. It keeps the output examples cleaner. -- Lagg Backpack Stickybomb Launcher.png 11:16, 5 February 2013 (PST)
Understood, my apologies.

Can someone clarify why do i get some mumbo-jumbo instead of chineese hieroglyphs? Is it some charset troubles or what?--Ohar 11:55, 27 February 2013 (PST)

What do you mean by mumbo-jumbo? Have you tried decoding the strings with whatever UTF stuff the language you're using provides? -- Lagg Backpack Stickybomb Launcher.png 16:06, 27 February 2013 (PST)

Since Valve's new privacy policy, communityvisibilitystate is not reflecting the current state anymore. Event when setting everything to private on https://steamcommunity.com/my/edit/settings using:

"Privacy": {
    "PrivacySettings": {
        "PrivacyProfile": 1,
        "PrivacyInventory": 1,
        "PrivacyInventoryGifts": 1,
        "PrivacyOwnedGames": 1,
        "PrivacyPlaytime": 1
    },
    "eCommentPermission": 1
}

communityvisibilitystate state will be 3. Would be awesome to have all above fields in the response body too. Only eCommentPermission seem to work. --Spezifanta (talk) 09:33, 31 May 2018 (UTC)