Skip to content

Commit 2169b0a

Browse files
Add user count
1 parent bb6e7ab commit 2169b0a

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

count.py

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
from datetime import timedelta, date
33
from dateutil import parser
44

5+
56
with open('data.json', 'r') as read_file:
67
data = json.load(read_file)
78

count_users.py

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
from login import login
2+
from firebase_admin import auth
3+
4+
login()
5+
users = list(auth.list_users().iterate_all())
6+
7+
print('Users: ' + str(len(users)))
8+

0 commit comments

Comments
 (0)