platypush/plugins/adafruit/io/__init__.py
def receive(self, feed, limit=1):
        """
        Receive data from the specified Adafruit IO feed

        :param feed: Feed name
        :type feed: str

        :param limit: Maximum number of data points to be returned. If None,
            all the values in the feed will be returned. Default: 1 (return most
            recent value)
        :type limit: int
        """

        if limit == 1:
            values = self._convert_data_to_dict(self.aio.receive(feed))
            return values[0] if values else None

        values = self._convert_data_to_dict(*self.aio.data(feed))
        return values[:limit] if limit else values

        Receive data from the specified Adafruit IO feed

        :param feed: Feed name
        :type feed: str

        :param limit: Maximum number of data points to be returned. If None,
            all the values in the feed will be returned. Default: 1 (return most
            recent value)
        :type limit: int
        
Receive data from the specified Adafruit IO feed
Receive data from the specified Adafruit IO feed
def receive(self, feed, limit=1):
        if limit == 1:
            values = self._convert_data_to_dict(self.aio.receive(feed))
            return values[0] if values else None
        values = self._convert_data_to_dict(*self.aio.data(feed))
        return values[:limit] if limit else values
def receive ( self , feed , limit = 1 ) : if limit == 1 : values = self . _convert_data_to_dict ( self . aio . receive ( feed ) ) return values [ 0 ] if values else None values = self . _convert_data_to_dict ( * self . aio . data ( feed ) ) return values [ : limit ] if limit else values
Receive data from the specified Adafruit IO feed
Receive data from the specified Adafruit IO feed
"""
        Receive data from the specified Adafruit IO feed

        :param feed: Feed name
        :type feed: str

        :param limit: Maximum number of data points to be returned. If None,
            all the values in the feed will be returned. Default: 1 (return most
            recent value)
        :type limit: int
        """
self
feed
None
limit
Maximum number of data points to be returned. If None,
all the values in the feed will be returned. Default: 1 (return most
recent value)
Maximum number of data points to be returned . If None all the values in the feed will be returned . Default : 1 ( return most recent value )