pyrebase download folder code example
Example: pyrebase download folder
firebase = pyrebase.initialize_app(config)
storage = firebase.storage()
datadir = "C:\\Users\\aybar\\Pictures\\"
all_files = storage.child("images").list_files()
ab=str(1)
for file in all_files:
try:
print(file.name)
z=storage.child(file.name).get_url(None)
storage.child(file.name).download(datadir + ab + ".png")
x=int(ab)
ab=str(x+1)
except:
print('Download Failed')