how to get url of uploaded image from firebase python code example

Example: how to get url of image in firebase storage using python

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

# Create Authentication user account in firebase  
auth = firebase.auth()

# Enter your user account details 
email = "your-email"
password = "your-password"

user = auth.sign_in_with_email_and_password(email, password)

imageUrl = storage.child(imageNameInStorage).get_url(user['idToken'])
print(imageUrl)