xat user: online? and what powers they own
Type the registered name or the ID of a xat user. You will see whether they are connected, their ID and name, and the list of powers they own with their approximate value in xats, their doubles and what they are missing for ALLPOWERS. Data is fetched from xat.com through the Xatools bot.
Gifts
Source: api.xatblog.net (any user, no bot needed)
How it works
The Xatools bot is connected to xat and asks the server about the user. It only counts as connected if xat answers "Online"; any other state (available, away, no answer) is shown as offline. The result is cached for 1 minute.
xat only reveals a user's powers when the bot "sees" them in a chat or when the user answers a locate. If there is no data yet, join a chat with the bot (or xat_test) and check again. Cached for 5 minutes.
Public gift list (api.xatblog.net). It does not depend on the bot or on the user being in a chat. Cached for 5 minutes.
Also available in the Public API: /v1/user/{id|nick}, /online, /powers, /gifts, /v1/room/{chat}.