Answer the question
In order to leave comments, you need to log in
How to get only the data you need in python (VK Api)?
I need to get only the ID of the person who added me as a friend
Code:
import vk_api
login = input('Введите логин: ')
password = input('Введите пароль: ')
vk_session = vk_api.VkApi(login, password)
vk_session.auth()
vk = vk_session.get_api()
zarposi = vk.friends.getRequests(
)
print(zarposi)
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question