"""
	ax monitor 
"""

from .base import Base
from ..utils import apicalls,iocalls

class Monitor(Base):
	def response_handler(self, payload):
		message = payload[1]['message']
		iocalls.print_monitor_text(message)

	def run(self):
		config = self.config
		self.endpoint = '/monitor/'

		if config.auth():
			payload = self.send_request(self.endpoint)
			self.response_handler(payload)

0a829613604d156ebb1a373d17913bfd6061cf8b
<mask token>


class Monitor(Base):
    <mask token>
    <mask token>

<mask token>


class Monitor(Base):
    <mask token>

    def run(self):
        config = self.config
        self.endpoint = '/monitor/'
        if config.auth():
            payload = self.send_request(self.endpoint)
            self.response_handler(payload)

<mask token>


class Monitor(Base):

    def response_handler(self, payload):
        message = payload[1]['message']
        iocalls.print_monitor_text(message)

    def run(self):
        config = self.config
        self.endpoint = '/monitor/'
        if config.auth():
            payload = self.send_request(self.endpoint)
            self.response_handler(payload)

<mask token>
from .base import Base
from ..utils import apicalls, iocalls


class Monitor(Base):

    def response_handler(self, payload):
        message = payload[1]['message']
        iocalls.print_monitor_text(message)

    def run(self):
        config = self.config
        self.endpoint = '/monitor/'
        if config.auth():
            payload = self.send_request(self.endpoint)
            self.response_handler(payload)

"""
	ax monitor 
"""

from .base import Base
from ..utils import apicalls,iocalls

class Monitor(Base):
	def response_handler(self, payload):
		message = payload[1]['message']
		iocalls.print_monitor_text(message)

	def run(self):
		config = self.config
		self.endpoint = '/monitor/'

		if config.auth():
			payload = self.send_request(self.endpoint)
			self.response_handler(payload)
