A client library for the Mopinion Data API.
Our Mopinion Client provides functionality for authentication, authorization and requesting resources. It comes with an easy, beautiful, and elegant way of interacting with our API.
Read the docs for further information.
Install using pip:
pip install mopinion
>>> from mopinion import MopinionClient
>>> client = MopinionClient(public_key=PUBLIC_KEY, private_key=PRIVATE_KEY)
>>> assert client.is_available()
>>> response = client.resource("account")
>>> response = client.resource("deployments")
>>>
>>> response = client.get_account()
>>>
>>> response = client.get_deployments()
>>> response = client.get_deployments("abc")
>>>
>>> response = client.get_reports(report_id=123)
>>> response = client.get_reports_fields(report_id=123)
>>> response = client.get_reports_feedback(report_id=123)
>>>
>>> response = client.get_datasets(dataset_id=123)
>>> response = client.get_datasets_feedback(dataset_id=123)
>>> response = client.get_datasets_fields(dataset_id=123)
>>>
>>> client.close()
>>>
>>> with MopinionClient(public_key=YOUR_PUBLIC_KEY, private_key=YOUR_PRIVATE_KEY) as client:
... response = client.get_account()
... assert response.json()["_meta"]["code"] == 200You can find here at Read the docs the complete documentation.
Mopinion is a leading all-in-one user feedback platform that helps digital enterprises listen, understand, and act across all digital touchpoints (web, mobile, and email). Join some of the most forward-thinking digital teams from companies such as T-mobile, eBay, TSB Bank, Walmart, Hotels.com, Decathlon, Ahold, Mediacorp Ltd, and many more.
Please visit the website for more information about the product: https://mopinion.com