Skip to main content

Satmetrix

Project description

Usage:

from satmetrix import Satmetrix
    sm = Satmetrix(domain, auth)

Retrieve one page of feedback:

data = sm.feedback(page_limit=1)
contact_id = data[0]['contact_record_id']

Retrieve one feedback record using contact_record_id:

r = sm.feedback_record(contact_id)

Update feedback record:

r = sm.update_feedback(contact_record_id, data=[{'contact_record_id': contact_record_id, 'comment_text': 'Called customer, left vm. Will call back to cust next week.'}])

Retrieve invitation record using contact_record_id:

r = sm.invitation_record(contact_record_id)

Nominate Contact:

r = sm.nominate_contact(data=[{'contact_id': 'email', 'email': 'email'}])
r = sm.nominate_contact(contact_record_id)

The above will return all the feedback you have. You can pass in the following arguments offset, limit, page_limit, callback. You can also pass in additional args which are passed to as json data in the post request.

Note

Satmetrix has said there isn’t an endpoint other than searching.

Building New versions:

python2.7 setup.py bdist bdist_wheel
twine upload --skip-existing dist/*

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

satmetrix-0.0.8.linux-x86_64.tar.gz (4.6 kB view details)

Uploaded Source

Built Distribution

satmetrix-0.0.8-py2-none-any.whl (4.8 kB view details)

Uploaded Python 2

File details

Details for the file satmetrix-0.0.8.linux-x86_64.tar.gz.

File metadata

File hashes

Hashes for satmetrix-0.0.8.linux-x86_64.tar.gz
Algorithm Hash digest
SHA256 e9aa35484b48a32bdb819a71be48633366a8ad9932c2199d8b539ad1842a555e
MD5 03a3520be975bff4d85891c72906d974
BLAKE2b-256 75184d96781e6b69e389b3107af23b42b16b9bb2c95ee244ac3f0ad028da3c3a

See more details on using hashes here.

File details

Details for the file satmetrix-0.0.8-py2-none-any.whl.

File metadata

File hashes

Hashes for satmetrix-0.0.8-py2-none-any.whl
Algorithm Hash digest
SHA256 d86a8ae0b0cf9904293c4ab2bd1a0b7d69eb938d9746047d04df04d5089ae9c3
MD5 d7cd2bb3e8c3778ace7047806f71ec97
BLAKE2b-256 b4e64a6841b32e1d786fb242473e36436b153002f22e086083af1653ffcbae22

See more details on using hashes here.

Supported by

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