Skip to main content

zaya Library

Project description

zaya is a toolbox for the https://zaya.io community.

Install

pip3 install zaya

Usage

import zaya

Connect

zaya.connect('YourToken')
# https://zaya.io/developers/api

account details

zaya.account()

urls

zaya.create_url('url')
zaya.all_url()
zaya.detail_url(id)
zaya.update_url(id, 'url')
zaya.delete_url(id)

domains

zaya.all_domain()
zaya.create_domain('domain')
zaya.details_domain(id)
zaya.update_domain(id, 'domain')
zaya.delete_domain(id)

subjects

zaya.subjects()
zaya.create_subject('name', 'red')
zaya.details_subject(id)
zaya.update_subject(id, 'subject')
zaya.delete_subject(id)

stats

zaya.clicks(id)
zaya.stats(id)
zaya.referrers(id)
zaya.countries(id)
zaya.languages(id)
zaya.browsers(id)
zaya.devices(id)
zaya.os(id)

get Information from zaya

zaya.__version__
zaya.__author__
zaya.__website__
zaya.__documentation__

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

zaya-1.0.5.tar.gz (2.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