Skip to content
This repository has been archived by the owner on Jun 10, 2020. It is now read-only.

Latest commit

 

History

History
39 lines (28 loc) · 701 Bytes

README.md

File metadata and controls

39 lines (28 loc) · 701 Bytes

VKontakte API (Ads)

Collection of wrappers for Ads methods of VKontakte

Example:

# -*- coding: utf-8 -*-

import pprint
from api import VK
from agency import AgencyAccount

if __name__ == '__main__':

	pp = pprint.PrettyPrinter( indent = 4 )
	try:
		config_f = open('config/vk.json')
		config = json.load(config_f)
		config_f.close()
	except:
		config = {}
	vk = VK(config, 'ads')
	agency = AgencyAccount(vk)

	pp.pprint(agency.getDictionaries('clients'))

Extended example can be found here

Requirements

App

Create VK App here

System

  • Python v3.0.6 or higher