How to use the jpush.report.core.ReportResponse function in jpush

To help you get started, we’ve selected a few jpush examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github jpush / jpush-api-python-client / jpush / report / core.py View on Github external
def send(self, method, url, body = None, content_type=None, version=3, params = None):
        """Send the request
        """
        response = self._jpush._request(method, body,url,content_type,version=3, params = params)
        return ReportResponse(response)
github jpush / jpush-api-python-client / jpush / report / __init__.py View on Github external
from .core import Report, ReportResponse

__all__ = [
    Report,
    ReportResponse,
]