Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

How to add firebase admin library for python in apigee

How to add firebase admin library for python in apigee?

Below is the code I am trying to implement as python script:

import firebase_admin // Need to import this library

from firebase_admin import credentials

cred = credentials.Certificate('./abc.json')

default_app = firebase_admin.initialize_app(cred)

from firebase_admin import auth

user = auth.get_user_by_email("abc@gmail.com")

print('Successfully fetched user data: {0}'.format(user.uid))

0 6 1,240
6 REPLIES 6