Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import vk_api
- import matplotlib.pyplot as plt
- from collections import Counter
- import numpy as np
- import requests
- vk_session = vk_api.VkApi('89246057878', 'QwasQwasQwas')
- vk_session.auth()
- vk = vk_session.get_api()
- city = vk.database.getCities(country_id=1, q="Иркутск")['items'][0]['id']
- print(city)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement