How to Create a Scoreboard

Without going into the blocks:

Firebase data (WordZazzle at root):

Firebase Rules:

"rules:" {
    "WordZazzle": {
         ".read": true,
         ".indexOn": ".value"
    }
}

Web Url:

https:///<FirebaseURL>/WordZazzle.json?orderBy="$value"&limitToLast=3

responseContent (returns the top three, but NOT in order):

{
"Lini": "\"123456\"",
"Thivia": "\"1234\"",
"Tia": "\"12345\""
}

You will then have to get the responseContent into a list or dictionary and sort by the scores

1 Like