Metadata-Version: 2.1
Name: mopinion
Version: 0.0.5
Summary: A client library for the Mopinion Data API
Home-page: https://github.com/mopinion/mopinion-python-api
Author: Mopinion
Author-email: 
License: MIT License
Keywords: mopinion
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.7
Requires-Dist: requests
Provides-Extra: test
Requires-Dist: pytest ; extra == 'test'

Mopinion API - Python Client
==========================================

.. image:: https://img.shields.io/badge/License-MIT-yellow.svg
    :target: https://github.com/mopinion/mopinion-python-api/blob/master/LICENSE
    :alt: License-MIT

.. image:: https://readthedocs.org/projects/mopinion-python-api/badge/?version=latest
    :target: https://mopinion-python-api.readthedocs.io/en/latest/?badge=latest
    :alt: Documentation Status

.. image:: https://github.com/mopinion/mopinion-python-api/workflows/Test%20Suite/badge.svg/
    :alt: GitHub Actions

.. image:: https://badge.fury.io/py/mopinion.svg/
    :target: https://badge.fury.io/py/mopinion/
    :alt: Badge PyPi


A client library for the `Mopinion Data API <https://developer.mopinion.com/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 <https://mopinion-python-api.readthedocs.io/en/latest/>`_ for further information.

Installation
-------------

Install using ``pip``...::

    pip install mopinion


Example
--------

.. code:: python

    >>> from mopinion import MopinionClient
    >>> client = MopinionClient(public_key=YOUR_PUBLIC_KEY, private_key=YOUR_PRIVATE_KEY)
    >>> assert client.is_available()
    >>> response = client.resource("account")
    >>> assert response.json()["_meta"]["code"] == 200
    >>> response = client.resource("deployments")
    >>> assert response.json()["_meta"]["code"] == 200


Documentation
---------------

You can find here at `Read the docs <https://mopinion-python-api.readthedocs.io/en/latest/>`_ the complete documentation.


About Mopinion
---------------

`Mopinion <https://mopinion.com/>`_ 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


Changelog
========================================================


0.0.5 (2021-01-22)
-------------------

- Several fixes in documentation.


0.0.4 (2021-01-22)
-------------------

- Fixed in documentation.

- Added examples for `query_params` in the doc examples.

- Updated directory name from `mopinion_client` to `mopinion`.

- Implemented About in Docs and Readme.

0.0.3 (2021-01-20)
-------------------

- Fixed typing in method `get_token`. Return `bytes` instead of `str`.

0.0.2 (2021-01-20)
-------------------

- Fixed in documentation.

- Removed travis ci. Integrated GitHub Actions.

- Added coverage into GitHub actions.

0.0.1 (2021-01-20)
-------------------

- Initial project structure.

- Client implementation.

- Test suite.

- Request examples.



