Simple wrapper for the Yandex.Direct API
Project description
Using pip:
$ sudo pip install django-yandex-direct
Add to settings your credentials:
YANDEX_DIRECT_LOGIN = ''
YANDEX_DIRECT_APP_ID = ''
YANDEX_DIRECT_TOKEN = ''
YANDEX_DIRECT_SANDBOX = True
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'))
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.