@retroachievements/api
Version:
A well-tested library that lets you get achievement, user, and game data from RetroAchievements.
21 lines (19 loc) • 630 B
text/typescript
/**
* Each RetroAchievements API call is uniquely authenticated
* using a username + API key combination. Your account's personal
* Web API Key can be found on the Settings page.
*/
export interface AuthObject {
/**
* You or your app's exact username on the RetroAchievements.org website.
* For example, https://retroachievements.org/user/Scott would have a value
* of "Scott".
*/
username: string;
/**
* This can be found in the "Keys" section of your Settings page on the
* RetroAchievements.org website. This is a 32-digit alphanumeric key
* that is case-sensitive.
*/
webApiKey: string;
}