PolyhydraGames.RetroAchievements
1.0.2.93
dotnet add package PolyhydraGames.RetroAchievements --version 1.0.2.93
NuGet\Install-Package PolyhydraGames.RetroAchievements -Version 1.0.2.93
<PackageReference Include="PolyhydraGames.RetroAchievements" Version="1.0.2.93" />
<PackageVersion Include="PolyhydraGames.RetroAchievements" Version="1.0.2.93" />
<PackageReference Include="PolyhydraGames.RetroAchievements" />
paket add PolyhydraGames.RetroAchievements --version 1.0.2.93
#r "nuget: PolyhydraGames.RetroAchievements, 1.0.2.93"
#:package PolyhydraGames.RetroAchievements@1.0.2.93
#addin nuget:?package=PolyhydraGames.RetroAchievements&version=1.0.2.93
#tool nuget:?package=PolyhydraGames.RetroAchievements&version=1.0.2.93
PolyhydraGames.RetroAchievements
C# client library for the RetroAchievements web API.
This package wraps RetroAchievements endpoints for user profiles, game data, achievement progress, leaderboards, high scores, feeds, systems, comments, events, and tickets. It is intended for applications that need typed access to RetroAchievements data without hand-building REST URLs.
Status
- High-priority open-source cleanup candidate.
- Endpoint coverage is broad, but the public API is still being stabilized.
- Deterministic fixture-backed tests are being added so CI does not depend on live RetroAchievements API calls.
- Live API smoke tests should be opt-in only.
Target Frameworks
netstandard2.0net8.0net10.0
Package
Current package ID in the project file:
PolyhydraGames.RetroAchievements
The package/repository naming is normalized in the current worktree. Keep the release checklist open until the package is packed and reviewed.
Installation
dotnet add package PolyhydraGames.RetroAchievements
Basic Usage
using PolyhydraGames.RetroAchievements;
using PolyhydraGames.RetroAchievements.Users;
var auth = new DefaultAuthConfig
{
UserName = "your-retroachievements-user",
ApiKey = "your-retroachievements-api-key"
};
using var httpClient = new HttpClient();
var users = new RetroAchievementUserApi(auth, httpClient);
var recentGames = await users.GetUserRecentlyPlayedGames("your-retroachievements-user");
Keep API keys in user secrets, environment variables, or your application secret store. Do not commit API keys.
API Families
- Achievements: unlock data
- Comments: achievement, game, and user comments
- Events: achievement of the week
- Feeds: recent awards, claims, and top users
- Games: game metadata, extended details, hashes, ranks, high scores, and progression data
- Leaderboards: game leaderboards, leaderboard entries, and user game leaderboard entries
- Systems: console IDs and game/hash lists
- Tickets: ticket data and ticket stats
- Users: profile, progress, points, awards, claims, recent games, completion, and recent achievements
Development
Build the solution:
dotnet build Cheevos.sln
Run deterministic tests:
dotnet test Cheevos.sln --no-restore
Live API tests are explicit and should be run intentionally:
dotnet test Cheevos.sln --filter "FullyQualifiedName~GameTests"
Avoid broad live runs during normal development because RetroAchievements can return auth or rate-limit responses.
Roadmap
License
This project is licensed under the MIT License.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
| .NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
| .NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen40 was computed. tizen60 was computed. |
| Xamarin.iOS | xamarinios was computed. |
| Xamarin.Mac | xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.0
- System.Text.Json (>= 10.0.7)
-
net10.0
- No dependencies.
-
net8.0
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.