K
K
Keril2020-06-23 03:41:06
Python
Keril, 2020-06-23 03:41:06

Call users.get method via community key?

Is it possible to call users.get via the community key?

Tried

import vk_api

vk_session = vk_api.VkApi(token='token')
vk = vk_session.get_api()

vk.method("users.get", {'user_ids': '1'})

but gives out
TypeError: __call__() takes 1 positional argument but 3 were given


I'm most likely doing something wrong..

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
soremix, 2020-06-23
@SoreMix

vk_session.method("users.get", {'user_ids': '1'})

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question