Skip to main content

Python SDK for the STQRY API

Project description

stqry

Python SDK for the STQRY API.

Installation

pip install stqry

Usage

import stqry

client = stqry.Client()  # reads STQRY_API_URL and STQRY_API_TOKEN from env
# or
client = stqry.Client(api_url="https://your-site.stqry.com", token="your-token")

# Collections
collections = client.collections.list()
collection = client.collections.get("123")

# Screens
screens = client.screens.list()

# Media
media = client.media.list()

Authentication

Set environment variables:

  • STQRY_API_URL — your STQRY site API URL
  • STQRY_API_TOKEN — your API token

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

stqry-0.1.0.tar.gz (4.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

stqry-0.1.0-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

Details for the file stqry-0.1.0.tar.gz.

File metadata

  • Download URL: stqry-0.1.0.tar.gz
  • Upload date:
  • Size: 4.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.13

File hashes

Hashes for stqry-0.1.0.tar.gz
Algorithm Hash digest
SHA256 6b219a4083839931ff3f5e3ffa7a0a864c7d64816f9074841df8b6492074f85e
MD5 c424216dc95b98c586502b6e0c57d000
BLAKE2b-256 ffe91f710f6bdaa1793e63924eddf0aed8ada4d92a2b494bf7883d9daa82a1e0

See more details on using hashes here.

File details

Details for the file stqry-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: stqry-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 4.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.13

File hashes

Hashes for stqry-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a80e7b187d8edae6a82c0c1cc8619ae8a1814036b42e03f3b5f0e1d5e4221934
MD5 a70ff30ca0daa472a7e3e2eed15ee157
BLAKE2b-256 d92e334fc07b61932e76e173ec265ae0f2947230f8f792dc98c7393eb245603a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page