how to get url of image in firebase storage using python

Solutions on MaxInterview for how to get url of image in firebase storage using python by the best coders in the world

we are a community of more than 2 million smartest coders
registration for
employee referral programs
are now open
get referred to google, amazon, flipkart and more
register now
  
showing results for - "how to get url of image in firebase storage using python"
Yacine
26 Jan 2021
1firebase = pyrebase.initialize_app(config)
2storage = firebase.storage()
3
4# Create Authentication user account in firebase  
5auth = firebase.auth()
6
7# Enter your user account details 
8email = "your-email"
9password = "your-password"
10
11user = auth.sign_in_with_email_and_password(email, password)
12
13imageUrl = storage.child(imageNameInStorage).get_url(user['idToken'])
14print(imageUrl)