@retroachievements/api
Version:
A well-tested library that lets you get achievement, user, and game data from RetroAchievements.
27 lines (24 loc) • 570 B
text/typescript
export interface AchievementUnlockEntity {
user: string;
raPoints: number;
raSoftcorePoints: number;
dateAwarded: string;
hardcoreMode: boolean;
}
export interface AchievementUnlocksMetadata {
achievement: {
id: number;
title: string;
description: string;
points: number;
trueRatio: number;
author: string;
dateCreated: string;
dateModified: string;
};
console: { id: number; title: string };
game: { id: number; title: string };
unlocksCount: number;
totalPlayers: number;
unlocks: AchievementUnlockEntity[];
}