misskey2telegram/fcm_init.py
2023-08-03 17:10:17 +08:00

6 lines
162 B
Python

import firebase_admin
from firebase_admin import credentials
cred = credentials.Certificate("data/google.json")
google_app = firebase_admin.initialize_app(cred)