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

Uploaded Source

File details

Details for the file zaya-1.0.5.tar.gz.

File metadata

  • Download URL: zaya-1.0.5.tar.gz
  • Upload date:
  • Size: 2.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.2

File hashes

Hashes for zaya-1.0.5.tar.gz
Algorithm Hash digest
SHA256 4a5a748b3315c5646caaeb26de0c6db42f578368d50f7e7ecdc2ab4a1f8bec3a
MD5 db5061298cd88da349daa45765ea00cd
BLAKE2b-256 68938a7a9e9d523781880f5b14794699bd0ab057964abf0558af9ac3a149843a

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 Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page