I want to create an external service (bot) that can post a number of users online based on the last login timestamp. As an improvement, I want to associate with a user additional data (stats, scores, etc) and be able to query with the same bot.
What is the best way to implement it?