def stats ( self ) : import ns1 . rest . stats return ns1 . rest . stats . Stats ( self . config )
python restful services calling not automate
Return a new raw REST interface to stats resources
def stats(self):
        """
        Return a new raw REST interface to stats resources

        :rtype: :py:class:`ns1.rest.stats.Stats`
        """
        import ns1.rest.stats
        return ns1.rest.stats.Stats(self.config)