Skip to main content

python-cmixapi-client

PyPI version

GitHub Actions status

A Python client library for the Dynata Cmix API.

Setup

pip install python-cmixapi-client

Example Usage

from CmixAPIClient.api import CmixAPI

cmix = CmixAPI(
    username="test_username",
    password="test_password",
    client_id="test_client_id",
    client_secret="test_client_secret"
)
cmix.authenticate()
surveys = cmix.get_surveys('closed')

Supported API Functions

CmixAPI

authenticate(*args, **kwargs)
fetch_banner_filter(survey_id, question_a, question_b, response_id)
fetch_raw_results(survey_id, payload)
get_projects()
get_surveys(status, *args, **kwargs)
get_survey_data_layouts(survey_id)
get_survey_definition(survey_id)
get_survey_locales(survey_id)
get_survey_xml(survey_id)
get_survey_sections(survey_id)
get_survey_simulations(survey_id)
get_survey_termination_codes(survey_id)
get_survey_sources(survey_id)
get_survey_test_url(survey_id)
get_survey_respondents(survey_id, respondent_type, live)
get_survey_status(survey_id)
get_survey_completes(survey_id)
create_export_archive(survey_id, export_type)
get_archive_status(survey_id, archive_id, layout_id)
update_project(project_id, status=None)
create_survey(xml_string)

CmixProject

delete_group(group_id)
delete_project()
get_full_links()
get_groups()
get_links()
get_locales()
get_markup_files()
get_project()
get_respondent_links()
get_sources()
get_surveys()

Contributing

Information on contributing to this python library.

Testing

To run the tests,

virtualenv venv
. venv/bin/activate
pip install -r requirements.txt
pytest
deactivate

to run the tests for this project.

Metadata

Release files for python-cmixapi-client 0.1.3

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

Source distribution (sdist)

Source distribution for python-cmixapi-client 0.1.3
File Size Uploaded
python-cmixapi-client-0.1.3.tar.gz 6.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for python-cmixapi-client 0.1.3
File Interpreter ABI Platform
python_cmixapi_client-0.1.3-py3-none-any.whl Python 3 none any Details

Total release size: 17.6 kB

Release files / python-cmixapi-client-0.1.3.tar.gz

Download URL python-cmixapi-client-0.1.3.tar.gz
Size 6.1 kB
Tags Source
SHA-256 checksum
How to use checksums
3f699e597d08a5c957f250b5d5a69a5065fd8f31f672c2082db99cc99b865f54
BLAKE2b-256 checksum
How to use checksums
9298e66eb494878c59cd97f3ecac5050db26145ee3a32deac23803e701d1d01f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/45.1.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.6.5

Release files / python_cmixapi_client-0.1.3-py3-none-any.whl

Download URL python_cmixapi_client-0.1.3-py3-none-any.whl
Size 11.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a5e379486e2be4e0a91cd253cd43e3631db5b05bd771106ed0a67dd92f6a5939
BLAKE2b-256 checksum
How to use checksums
2d2a2a4f5d0e419f14f522a6acce3e37f024ae6f4a26a5318b0d1e784175b32b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/45.1.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.6.5

Release history Release notifications | RSS feed

This release

0.1.3 This release

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

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