Getting total bits via API request instead of PubSub

As I said, “unfortunately this is not practical to get other users’ data.” You would have to update a DB with the PubSub channel-bits-events-v1.xxxx topic’s “total_bits_used” value.