def info(self, collector_id):
        """Return a dict of collector.

        Args:
            collector_id (int): id of collector (optional)
        """
        cid = self.collector_id
        if collector_id:
            cid = collector_id

        url = '{0}/{1}'.format(self.url, cid)
        request = requests.get(url, auth=self.auth)
        return request.json()
Return a dict of collector.

        Args:
            collector_id (int): id of collector (optional)