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.
Source Distribution
File details
Details for the file django-yandex-direct-1.0.tar.gz.
File metadata
- Download URL: django-yandex-direct-1.0.tar.gz
- Upload date:
- Size: 8.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7bc20c2927078b5d6ac31f893de0eb79e198f46f16889ebd69e934dc8bb9e12a
|
|
| MD5 |
3b701b45d073a0338a21f27774e1e299
|
|
| BLAKE2b-256 |
93331a321736ed43ccf78541fe76592091d7b8fa035329d52930c1d511d2da9d
|