python-firebase icon indicating copy to clipboard operation
python-firebase copied to clipboard

update of data with firebase.post

Open SojueIsrem opened this issue 7 years ago • 4 comments

I need to update to be in a particular address, I do not want to create new addresses as it is with firebase.post () I want to update the last date it was updated in the following address firebase.post('dato',"14/02/2018")

SojueIsrem avatar Feb 14 '18 08:02 SojueIsrem

I also want to do same kind of operation , want to update child value not to add new node to child but i guess this api doesn't provide that functionality so far. firebase.post('/sensor/sensorF', '1' ) for ON firebase.post('/sensor/sensorF', '0' ) for OFF i am working on a sensor based project.

xplodig avatar Apr 25 '18 19:04 xplodig

use firebase.put function put(self, url, name, data, connection, params=None, headers=None): """ Synchronous PUT request. There will be no returning output from the server, because the request will be made with ``silent`` parameter. ``data`` must be a JSONable value. """

tabebqena avatar Nov 17 '18 06:11 tabebqena

@tabebqena Could you get us an example about use put method, please? Right now I would like to use it, I have done some tries but I have no success.

CarMoreno avatar Oct 26 '20 19:10 CarMoreno

@CarMoreno I didn't use it long time ago, Could you please refer to the source code .

Put method

tabebqena avatar Oct 30 '20 06:10 tabebqena