yandexdirectapi

Asynchronous client for Yandex Direct API

Install

  1. Read the Yandex manual: https://tech.yandex.ru/direct/doc/dg/concepts/about-docpage/
  2. Register your app: https://tech.yandex.ru/direct/doc/dg/concepts/register-docpage/
  3. Get the token: https://tech.yandex.ru/direct/doc/dg/concepts/auth-token-docpage/
  4. Clone the repo
  5. pip install .

Usage

from yandexdirectapi import DirectAPI5
api = DirectAPI5(YANDEX_DIRECT_LOGIN, YANDEX_DIRECT_TOKEN, 10)
campaigns = api.get_campaigns()

Implemented methods:

  • get_campaigns
  • get_campaign_groups
  • get_campaign_active_groups
  • get_groups_bids
  • get_campaign_bids
  • get_campaigns_bids
  • set_bids