I am trying to get all the metadata information of a document or a Collection present in a Firestore Database in Firebase using NodeJs or Python Code snippets.
I am able to get size of document using the following
const sizeof = require('firestore-size');
const admin=require("firebase-admin");
const db = admin.firestore();
const snapshot = await db.collection("Users").doc("Rajesh").get();
return sizeof(snapshot.data()).toString()+" Bytes"
But I need more information other than just the size. How to achieve this?