A Python client for the Cmix API.
Project description
python-cmixapi-client
A Python client library for the Dynata Cmix API.
Setup
Something here
rename src directory to facilitate library usage & improve documentation
Example Usage
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
authenticate(*args, **kwargs)
fetch_banner_filter(survey_id, question_a, question_b, response_id)
fetch_raw_results(survey_id, payload)
get_surveys(status, *args, **kwargs)
get_survey_definition(survey_id)
get_survey_xml(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)
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.
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
Built Distribution
Close
Hashes for python-cmixapi-client-0.1.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 27c50e4da6e6c8395f7f7cb451a0ba9c420cb9c911f54d56e695c1cdb9accbaa |
|
MD5 | 706ffeea799c185f07617c7f0d5ff751 |
|
BLAKE2b-256 | fef44ca5c7ea5800c1ca67c888d1e446e8a471e307ce0ae81be295471e058d7d |
Close
Hashes for python_cmixapi_client-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | de0089f8247af0f2580cbdcb77e9752c57ad79f2a194d90f727421b5fcf799a2 |
|
MD5 | 8c2ebb420731d08dc0db66cb6dc32bfc |
|
BLAKE2b-256 | a08989b550503a34211b51fd60068f227e5512c91ac8fef67d9e7dccfa2ddd2e |