Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding 'counters' field to profile_fields function #42

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Adding 'counters' field to profile_fields function #42

wants to merge 1 commit into from

Conversation

mvpant
Copy link

@mvpant mvpant commented Nov 25, 2018

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.

None yet

1 participant