Answers for "how to get data from firebase realtime database python"

1

retrieve data from firebase python

import pyrebase

config = {
  "apiKey": "apiKey",
  "authDomain": "projectId.firebaseapp.com",
  "databaseURL": "https://databaseName.firebaseio.com",
  "storageBucket": "projectId.appspot.com"
}

firebase = pyrebase.initialize_app(config)
storage=firebase.storage()

users = storage.child("users").get()
print(users.val())
Posted by: Guest on June-20-2021

Code answers related to "how to get data from firebase realtime database python"

Python Answers by Framework

Browse Popular Code Answers by Language