Warning
VK has a ready-made api, I found out about it later, after I started writing my own!
Start
You can immediatelylook at the github!
If we analyze here, then this is a class with ready-made functions, for working with the Vk api, there are most functions available to the ordinary user (without groups, communities,...).
So far, everything remains in beta, since after the news about the ready-made class from the Vk itself, I temporarily stopped the development of the api