- Set env variable by
EXPORT VK_TOKEN="your token"
- Run programm
python -m vk user_id
user_id first_name last_name friends
155463902 Mark Averchenko 260
And you can add your access_token, but it's not necessary
python -m vk user_id --auth
Mark Averchenko