Skip to content

Adding 'counters' field to profile_fields function - #42

Open
mvpant wants to merge 1 commit into
Dementiy:masterfrom
mvpant:add_missing_api_field
Open

mvpant wants to merge 1 commit into
Dementiy:masterfrom
mvpant:add_missing_api_field

Conversation

@mvpant

@mvpant mvpant commented Nov 25, 2018

Copy link
Copy Markdown

VK api allows to do request with 'counters' field, which is currently missing.
Response of such request can look like this:

{ "response": [{ "id": 9999, "first_name": "test", "last_name": "test", "is_closed": false, "can_access_closed": true, "counters": { "albums": 18, "videos": 206, "audios": 380, "notes": 107, "photos": 5444, "gifts": 99, "friends": 5304, "online_friends": 744, "mutual_friends": 0, "user_photos": 1984, "followers": 1307, "subscriptions": 0, "pages": 74 } }] }

users.get

VK api allows to do request with 'counters' field, which is currently missing.
Response of such request can look like this:

{
"response": [{
"id": 9999,
"first_name": "test",
"last_name": "test",
"is_closed": false,
"can_access_closed": true,
"counters": {
  "albums": 18,
  "videos": 206,
  "audios": 380,
  "notes": 107,
  "photos": 5444,
  "gifts": 99,
  "friends": 5304,
  "online_friends": 744,
  "mutual_friends": 0,
  "user_photos": 1984,
  "followers": 1307,
  "subscriptions": 0,
  "pages": 74
}
}]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant