Answers for "retrieve data from firebase using 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 "retrieve data from firebase using python"

Python Answers by Framework

Browse Popular Code Answers by Language