M
M
Millerish2016-06-13 13:12:22
Python
Millerish, 2016-06-13 13:12:22

Python is there api vk guide?

Good afternoon!
I am learning Python, I want to work how to work through api vk. I want to learn how to make primitive functions, get a list of friends or a name.
I found a huge bunch of materials scientists, including VK documentation.
But somehow everything is not very clear, for example, authorization . Everything seems to be in Russian, but just write in the editor?
I also found vk-requests and vk libraries.
The first one seems to connect, but for example, such a code (with my data) does not give an answer in the console, as in the example:

import vk_requests
api = vk_requests.create_api(app_id=123, login='User', password='Password')
api.users.get(user_ids=1)


2016-06-13 16: 06 :04,342 INFO [requests.packages.urllib3.connectionpool] Starting new HTTPS connection (1): m.vk.com .connectionpool] Starting new HTTPS connection (1): login.vk.com
2016-06-13 16:06:09,918 INFO [vk-requests] Session is already established
...

The second library does not work at all.
Approximately the same situation with two dozen articles that I have rummaged through over the past day: either they don’t work or somehow I don’t work as in the example, or there is no intelligible description.
I understand that for those people who are engaged in professional programming, this can and says a lot, but is there any information for ordinary mortals? I'm only interested in personal development.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Rou1997, 2016-06-13
@Rou1997

If it doesn't work out with Python, then try another language, and so on until it works, and when you understand how everything works, return to Python.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question