Create a new TowerStats client.
Your TowerStats API key.
Optional
cacheConfig:
Partial<CacheConfig>
Cache config for this client.
The API routes to use. Defaults to the official TowerStats API routes.
Check a user's badges.
The Roblox user ID.
An array of badge IDs to check if the user owns them.
An array of checked badge objects specifying whether the user owns that badge or not. (If they do, it includes the date of which they earned the badge.)
Get the TowerStats API key provided to the client.
The API key.
Get a user's followers list.
The Roblox user ID.
An array of Roblox user IDs.
Get a user's following list.
The Roblox user ID.
An array of Roblox user IDs.
Swap the current API key with a different one.
TowerStats API client.