Firebase_Admin-Python, how to update data in real time

0

I currently work with Firebase_Admin that allows me to use the sdk Firebase Manager to be able to use RealtimeDatabase.

However, it does not have a function that allows updating the data once the user changes the data in the database.

Is there any way to do this in python?

since it can only be enhanced in the web development sdk as far as I could read.

I appreciate any example

I currently use this code to access firebase:

import firebase_admin
from firebase_admin import credentials, db

cred = credentials.Certificate('login.json')
firebase_admin.initialize_app(cred,{
    'databaseURL':'https://exe-tablas.firebaseio.com/'
})

and I use a reference to be able to return a result, but it does need to force the user to press an update button,

ref = db.reference('key/key1/key2/')
response = ref.get()
print(response)
for key in response.items():
     print(key[0])
    
asked by Revsky01 10.10.2018 в 05:13
source

0 answers