Skip to main content

Простейшая реализация SDK для https://dsp.soloway.ru/

Project description

Soloway SDK (Unofficial)

Простейшая реализация SDK для https://dsp.soloway.ru/

Реализованные методы

  • /login
  • /whoami
  • /clients/{clientGuid}/placements
  • /placements_stat
  • /placements/{placementGuid}/stat

Установка

    $ pip install soloway-unofficial

Использование

from soloway_unofficial import Client

client = Client("YOUR_LOGIN", "YOUR_PASSWORD")

Получение статистики размещений по всем кампаниям.

start_date = datetime.date(2022, 1,1)
stop_date = datetime.date(2022, 12,31)
data = client.get_placements_stat_all(start_date, stop_date)
start_date = datetime.date(2022, 1,1)
stop_date = datetime.date(2022, 12,31)
data = client.get_placements_stat(list["PLACEMENT_ID"],start_date, stop_date)

Получение статистики по всем кампаниям по дням.

start_date = datetime.date(2022, 1,1)
stop_date = datetime.date(2022, 12,31)
data = client.get_placements_stat_by_day(start_date, stop_date)

Получение статистики по выбранной кампании по дням.

start_date = datetime.date(2022, 1,1)
stop_date = datetime.date(2022, 12,31)    
data = client.get_placement_stat_by_day("PLACEMENT_ID", start_date, stop_date)

Project details


Download files

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

Source Distribution

soloway_unofficial-1.1.0.tar.gz (3.6 kB view details)

Uploaded Source

Built Distribution

soloway_unofficial-1.1.0-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

File details

Details for the file soloway_unofficial-1.1.0.tar.gz.

File metadata

  • Download URL: soloway_unofficial-1.1.0.tar.gz
  • Upload date:
  • Size: 3.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.14 CPython/3.10.8 Linux/6.0.6-1-MANJARO

File hashes

Hashes for soloway_unofficial-1.1.0.tar.gz
Algorithm Hash digest
SHA256 cb9124f8803105a5743b013cab9f4ee13c66d4f48efe91ff54b4b6120050a870
MD5 f5430bf1747ca3f6c2b849cbaa4b6ce8
BLAKE2b-256 e4c84aa67a2838490d9d30376479de0b324d8fba2c830adaee738558750884ff

See more details on using hashes here.

File details

Details for the file soloway_unofficial-1.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for soloway_unofficial-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7448ef679b4a5ef4d16fcb8312934e2dc94d25062b3b1c12728266200b412ace
MD5 04b013e985490787c84f5e6c8126457b
BLAKE2b-256 1f799df8af08620f4e7a3ce43eb47806a3e8f128ff6bfe4f35edb3f66ed179a9

See more details on using hashes here.

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