platypush/plugins/mobile/join/__init__.py
def push(self, device, text=None, url=None, file=None):
        """
        Push a URL or file to one or more devices

        :param device: Device ID or name, or list of device IDs/names, or group name(s)
        :param text: Optional description text for the URL or file
        :param url: URL to be pushed
        :param file: A publicly accessible URL of a file. You can also send the url of a file on your personal
            Google Drive
        """

        assert url or file
        params = {}

        if text:
            params['text'] = text
        if url:
            params['url'] = url
        if file:
            params['file'] = file

        return self._send_request(self._push_url, device=device, params=params)

        Push a URL or file to one or more devices

        :param device: Device ID or name, or list of device IDs/names, or group name(s)
        :param text: Optional description text for the URL or file
        :param url: URL to be pushed
        :param file: A publicly accessible URL of a file. You can also send the url of a file on your personal
            Google Drive
        
Push a URL or file to one or more devices
Push a URL or file to one or more devices
def push(self, device, text=None, url=None, file=None):
        assert url or file
        params = {}
        if text:
            params['text'] = text
        if url:
            params['url'] = url
        if file:
            params['file'] = file
        return self._send_request(self._push_url, device=device, params=params)
def push ( self , device , text = None , url = None , file = None ) : assert url or file params = { } if text : params [ 'text' ] = text if url : params [ 'url' ] = url if file : params [ 'file' ] = file return self . _send_request ( self . _push_url , device = device , params = params )
Push a URL or file to one or more devices
Push a URL or file to one or more devices
"""
        Push a URL or file to one or more devices

        :param device: Device ID or name, or list of device IDs/names, or group name(s)
        :param text: Optional description text for the URL or file
        :param url: URL to be pushed
        :param file: A publicly accessible URL of a file. You can also send the url of a file on your personal
            Google Drive
        """
self
device
Device ID or name, or list of device IDs/names, or group name(s)
Device ID or name or list of device IDs / names or group name ( s )
text
Optional description text for the URL or file
Optional description text for the URL or file
url
URL to be pushed
URL to be pushed
file
A publicly accessible URL of a file. You can also send the url of a file on your personal
Google Drive
A publicly accessible URL of a file . You can also send the url of a file on your personal Google Drive