src/wiotp/sdk/api/usage/__init__.py
def dataTransfer(self, start, end, detail=False):
        """
        Retrieve the organization-specific status of each of the services offered by the IBM Watson IoT Platform.
        In case of failure it throws APIException
        """

        r = self._apiClient.get(
            "api/v0002/usage/data-traffic?start=%s&end=%s&detail=%s"
            % (start.strftime("%Y-%m-%d"), end.strftime("%Y-%m-%d"), detail)
        )

        if r.status_code == 200:
            return DataTransferSummary(**r.json())
        else:
            raise ApiException(r)
def dataTransfer(self, start, end, detail=False):
        """
        Retrieve the organization-specific status of each of the services offered by the IBM Watson IoT Platform.
        In case of failure it throws APIException
        """

        r = self._apiClient.get(
            "api/v0002/usage/data-traffic?start=%s&end=%s&detail=%s"
            % (start.strftime("%Y-%m-%d"), end.strftime("%Y-%m-%d"), detail)
        )

        if r.status_code == 200:
            return DataTransferSummary(**r.json())
        else:
            raise ApiException(r)
def dataTransfer ( self , start , end , detail = False ) : r = self . _apiClient . get ( "api/v0002/usage/data-traffic?start=%s&end=%s&detail=%s" % ( start . strftime ( "%Y-%m-%d" ) , end . strftime ( "%Y-%m-%d" ) , detail ) ) if r . status_code == 200 : return DataTransferSummary ( * * r . json ( ) ) else : raise ApiException ( r )
Retrieve the organization-specific status of each of the services offered by the IBM Watson IoT Platform.
        In case of failure it throws APIException
Retrieve the organization - specific status of each of the services offered by the IBM Watson IoT Platform . In case of failure it throws APIException