(self, device_name)
return self._request("POST", HOST + "/devices", data)
Push a note
            https://docs.pushbullet.com/v2/pushes

            Arguments:
            device_name -- Human readable name for device
            type -- stream, thats all there is currently
Push a note
            https://docs.pushbullet.com/v2/pushes
Push a note https : // docs . pushbullet . com / v2 / pushes
def addDevice(self, device_name):
        """ Push a note
            https://docs.pushbullet.com/v2/pushes

            Arguments:
            device_name -- Human readable name for device
            type -- stream, thats all there is currently

        """

        data = {"nickname": device_name,
                "type": "stream"
                }
        return self._request("POST", HOST + "/devices", data)
def addDevice ( self , device_name ) : data = { "nickname" : device_name , "type" : "stream" } return self . _request ( "POST" , HOST + "/devices" , data )