Answers for "firebase reading data in 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 "firebase reading data in python"

Python Answers by Framework

Browse Popular Code Answers by Language