Posts

Showing posts from 2018

Add/Set array in Firestore with the Firebase Admin SDK : Python 🐍

Image
The Admin SDK lets you interact with Firebase from privileged environments to perform actions like: ·          Read and write Realtime Database data with full admin privileges ·          Programmatically send Firebase Cloud Messaging messages using a simple, alternative approach to the FCM server protocols. ·          Generate and verify Firebase auth tokens. ·          Access Google Cloud Platform resources like Cloud Storage buckets and Firestore databases associated with your Firebase projects. ·          Create your own simplified admin console to do things like look up user data or change a user's email address for authentication. Currently Node.js, Java, Python, Go, C# are supported languages in Admin SDK. This tutorial demonstrates adding array in Firestore database through Admin SDK using python. Few things to note: ·           Your system needs   Python 2.7+ or 3.x . ·          You need to generate Firebase

Add/Set collection in Firestore with the Firebase Admin SDK : Python 🐍

Image
The Admin SDK lets you interact with Firebase from privileged environments to perform actions like: ·          Read and write Realtime Database data with full admin privileges. ·          Programmatically send Firebase Cloud Messaging messages using a simple, alternative approach to the FCM server protocols. ·          Generate and verify Firebase auth tokens. ·          Access Google Cloud Platform resources like Cloud Storage buckets and Firestore databases associated with your Firebase projects. ·          Create your own simplified admin console to do things like look up user data or change a user's email address for authentication. Currently Node.js, Java, Python, Go, C# are supported languages in Admin SDK. This tutorial demonstrates adding collection in Firestore database through Admin SDK. Few things to note: 1.        You cannot create an empty collection in Firestore with Admin SDK to create so, you need to login to Firestore console and add