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

Uploaded Source

File details

Details for the file django-yandex-direct-1.0.tar.gz.

File metadata

File hashes

Hashes for django-yandex-direct-1.0.tar.gz
Algorithm Hash digest
SHA256 7bc20c2927078b5d6ac31f893de0eb79e198f46f16889ebd69e934dc8bb9e12a
MD5 3b701b45d073a0338a21f27774e1e299
BLAKE2b-256 93331a321736ed43ccf78541fe76592091d7b8fa035329d52930c1d511d2da9d

See more details on using hashes here.

Supported by

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