A Python client for the Cmix API.
Project description
python-cmixapi-client
A Python client library for the Dynata Cmix API.
Setup
Something here
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.
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.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 42c5d589e28e4f53008346ddad16beee04a93e97e63b7de8338d78a622b90ab1 |
|
MD5 | 31d2cbdaddd2b2c57365d72bbd261a92 |
|
BLAKE2b-256 | 5a59a51c4ad71a61adb5610f3f3c2729e8112f583485cc2ce45aafde9797a5c6 |
Close
Hashes for python_cmixapi_client-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2ecd95ba3532502bfd33babb434224c979b780e179d33ceac272c5d101bb3e7d |
|
MD5 | e5f546f8c89f802d3c43a3ef7e2bd6cf |
|
BLAKE2b-256 | 2f0b1c2e7c10720f144a2497fa50400ee5485aa1628784a625fea85d53632992 |