Skip to main content

Simple wrapper for the Yandex.Direct API

Project description

  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'))

Project details


Release history Release notifications | RSS feed

This version

1.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-yandex-direct-1.0.tar.gz (8.6 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page