I would like to know how I can enter data to firebase so that the structure is for example like this:
/Usuarios/Administradores/Angel/Nombre
and not this:
/Usuarios/Administradores/-LGze8xg3oWiYgzWi6F1/Angel2/Nombre
that is, I do not want this: -LGze8xg3oWiYgzWi6F1
is added to the hierarchy.
this is the code I use:
from firebase import firebase
s = "hola que hace"
firebase = firebase.FirebaseApplication('https://new1-3b819.firebaseio.com/')
result = firebase.post('/Usuarios/Administradores',{'Angel2':{'Nombre':s}})
#result = firebase.get('/Usuarios/Administradores/Angel1',None)
print(result)
but with this code it generates the: -LGze8xg3oWiYgzWi6F1