# Path: vk_api/api.py
# def api_request(api, method, params=''):
#     ret = dict(api=api, ret = None)
#     if params:
#         a = "ret = api.%s(v='5.62', %s)" % (method, params)
#     else:
#         a = "ret = api.%s(v='5.62')" % (method)
# 
#     exec(a, ret)
# 
#     if 'error' in str(ret['ret']):
#         bot_header.API_REQUESTS += 1
#     else:
#         bot_header.FAILED_API_REQUESTS += 1
# 
# 
#     return ret['ret']
# 
# Path: vk_api/api.py
# def get_api(lpt = None, account=None):
#     if lpt == None and account == None:
#         raise AttributeError("longpool thread or account is required")
#     if lpt is not None:
#         account = lpt.account
# 
#     return vk.API(vk.Session(access_token=account.token))


import bot_header
from vk_api.api import api_request
from vk_api.api import get_api
from time import sleep

def main(C):
	print("this is horosho")
	# get API instance 
	api = get_api(account=bot_header.CURRENT_ACCOUNT)
	# get followers

# Path: vk_api/api.py
# def api_request(api, method, params=''):
#     ret = dict(api=api, ret = None)
#     if params:
#         a = "ret = api.%s(v='5.62', %s)" % (method, params)
#     else:
#         a = "ret = api.%s(v='5.62')" % (method)
# 
#     exec(a, ret)
# 
#     if 'error' in str(ret['ret']):
#         bot_header.API_REQUESTS += 1
#     else:
#         bot_header.FAILED_API_REQUESTS += 1
# 
# 
#     return ret['ret']
# 
# Path: vk_api/api.py
# def get_api(lpt = None, account=None):
#     if lpt == None and account == None:
#         raise AttributeError("longpool thread or account is required")
#     if lpt is not None:
#         account = lpt.account
# 
#     return vk.API(vk.Session(access_token=account.token))


# Path: console/acceptall.py
import bot_header
from vk_api.api import api_request
from vk_api.api import get_api
from time import sleep


def main(C):
	print("this is horosho")
	# get API instance 
	api = get_api(account=bot_header.CURRENT_ACCOUNT)
	# get followers

	fws = api_request(api, "users.getFollowers", "")