- RetroAchievements account
- RetroAchivements API Key
SwiftArcade.Shared.getConsoleList(UserName: USER_NAME_HERE, KEY: API_KEY_HERE) { error, console in
if let error{
print(error)
}
if let console{
print(console.first?.Name)
}
}
SwiftArcade.Shared.getRecentGames(User: YOUR_USER_NAME, KEY: "API_KEY_HERE", OtherUser: OTHER_USER_NAME) { error, recents in
}
SwiftArcade.Shared.getGamesList(UserName: "USER_NAME_HERE", KEY:
"API_KEY_HERE", ConsoleID: 1) { error, gamelist in
}
SwiftArcade.Shared.getGameInfoAndTropies(UserName: "USER_NAME_HERE", KEY: "API_KEY_HERE", GameID: Int) { error, games in
}
SwiftArcade.Shared.getTopTenUsers(UserName: "USER_NAME_HERE", KEY: "API_KEY_HERE") { error, place in
if let place{
print(place.first)
}
}