change key path

This commit is contained in:
Pritimay Sarkar
2023-09-25 10:42:30 +05:30
parent e7e03e1292
commit f2817da52a
4 changed files with 6 additions and 7 deletions

View File

@@ -16,7 +16,7 @@ if __name__ == "__main__":
else:
path_delim = '/'
key_file_path = os.getcwd() + path_delim + "keys" + path_delim + "hpos-prod-firebase-adminsdk-bionp-3c041b2300.json"
key_file_path = os.getcwd() + path_delim + "keys" + path_delim + "hpos-preprod-firebase-adminsdk.json"
cred = credentials.Certificate(key_file_path) # Replace with your own service account key path
firebase_admin.initialize_app(cred)
@@ -66,7 +66,7 @@ if __name__ == "__main__":
# Convert the data to a DataFrame
df = pd.DataFrame(data)
# print(df)
print(df)
print(df.size)
# Save the DataFrame to a CSV file