Skip to main content

skyra data wrapper

Ruff GitHub Actions Workflow Status PyPI Downloads

This is a wrapper for Skyra APIs. You can use it to download survey responses and metadata for each survey. Built with requests and tqdm.

Install with

pip install skyra-data-wrapper

or

uv add skyra-data-wrapper

Supported APIs

Note most of these APIs are still in beta and might change in the future.

Find surveys

You can list all surveys available by your skyra token

import skyra_data_wrapper.skyra_api as skyra

surveys = skyra.find_surveys(token=token)
Expandable example data
{'data': {'items': [{'id': 'fafaa700-ade8-4ffb-9106-9f1ad293dd85',
    'name': 'Example',
    'slug': 'example'}],
  'pagination': {'limit': 2, 'nextCursor': None, 'hasMore': False},
  'organisation_id': 'fafaa700-ade8-4ffb-9106-9f1ad293dd85'}}

Download survey

You can download a survey as json or csv.

For the csv format

data = skyra.download_survey(
    survey_id=survey_ids[0],
    filename_path="data/test_survey.csv",
    token=token,
    format="csv",
)

For the json format

data = skyra.download_survey(
    survey_id=survey_ids[0],
    filename_path="data/test_survey.json",
    token=token,
    format="json"
)

Downloading responses for a date range

start = datetime(2026, 1, 5, 00, 00, tzinfo=zoneinfo.ZoneInfo("Europe/Oslo"))
end = datetime(2026, 1, 12, 00, 00, tzinfo=zoneinfo.ZoneInfo("Europe/Oslo"))

data = skyra.download_survey(
    survey_id=survey_ids[0],
    filename_path="data/test_survey_range.csv",
    token=token,
    format="csv",
    start_date=start.isoformat(),  # 2026-01-05T00:00:00+01:00 # 8601 with timezone oslo
    end_date=end.isoformat(),  # 2026-01-12T00:00:00+01:00
)

See more examples in examples.py

Metadata

Release files for skyra-data-wrapper 0.1.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for skyra-data-wrapper 0.1.4
File Size Uploaded Provenance Actions
skyra_data_wrapper-0.1.4.tar.gz 4.2 kB With provenance Details for skyra_data_wrapper-0.1.4.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for skyra-data-wrapper 0.1.4
File Interpreter ABI Platform Actions
skyra_data_wrapper-0.1.4-py3-none-any.whl Python 3 none any Details for skyra_data_wrapper-0.1.4-py3-none-any.whl

Total release size: 8.9 kB

Release files / skyra_data_wrapper-0.1.4.tar.gz

Download URL skyra_data_wrapper-0.1.4.tar.gz
Size 4.2 kB
Tags Source
SHA-256 checksum
How to use checksums
00656ef1efe2192a90628c4372551187a5cde67c66acd36b2c8585a5dbb5fbb2
BLAKE2b-256 checksum
How to use checksums
dbcb49b6ba57d40f185813e3523abf92d3a452a4de11d1e52ed8ba040e148e2c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 16, 2026.

Transparency log

Release files / skyra_data_wrapper-0.1.4-py3-none-any.whl

Download URL skyra_data_wrapper-0.1.4-py3-none-any.whl
Size 4.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c2b28c3c83f192e7a617ea2700b9be8c6e4e9ebea377964dc837cded130fd93e
BLAKE2b-256 checksum
How to use checksums
7c006f9243543f28f3151606efd4536085cbcade4830359e8bc66a0627d4c059
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 16, 2026.

Transparency log

Security for skyra-data-wrapper 0.1.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for skyra_data_wrapper-0.1.4.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 16, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page