This script helps to import a users list from a CSV file to Firebase
This script use jq
for the JSON parsing: https://stedolan.github.io/jq
export USERS_LIST=~/path/to/users-list.csv
export GOOGLE_APPLICATION_CREDENTIALS=~/path/to/credentials.json
# Import the users list
make batch-import
# Retry if there are errors
make retry update-profile
"timestamp","email","first_name","last_name"
"2017-01-31 06:32:34","bill.gates@gmail.com","Bill","Gates",
"2017-01-26 19:46:47","jony.bravo@example.com","Jony","Bravo"
"2016-01-18 01:36:38","obama@wiki.com","Obama",""
Follow this link to get your Firebase Admin Credentials.
Under the MIT license. See LICENSE file for more details.