skip to navigation
skip to content

django-yandex-direct 1.0

Simple wrapper for the Yandex.Direct API

  1. Using pip:
$  sudo pip install django-yandex-direct
  1. Add to settings your credentials:
YANDEX_DIRECT_LOGIN = ''
YANDEX_DIRECT_APP_ID = ''
YANDEX_DIRECT_TOKEN = ''
YANDEX_DIRECT_SANDBOX = True
  1. Enjoy
from yandex_direct import api
from pprint import pprint

# Pythonic style
pprint(api.get_regions().get('data'))

# Native API style
pprint(api.PingAPI().get('data'))
 
File Type Py Version Uploaded on Size
django-yandex-direct-1.0.tar.gz (md5, pgp) Source 2014-05-30 8KB