How does one query Firebase using Python? I am using python-firebase and can do simple gets (e.g. all entities) but need to query for a subset of entities. Any pointers would be helpful. I have successfully done this using JavaScript BTW.
You can now use Firebase Admin Python API to get at the database
https://firebase.googleblog.com/2017/07/accessing-database-from-python-admin-sdk.html?m=1
from firebase_admin import db
root = db.reference()
x = db.reference('users/{0}'.format(new_user.key)).get()
print 'Name:', x['name']
print 'Since:', x['since']
python-firebase isn't keeping up to date with firebase api change
Latest commit over 2 years ago
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With