request
library
Classes
-
ApiClient
-
Client responsible for executing HTTP requests against the RetroAchievements API.
Functions
-
buildRequestUrl(String baseUrl, String endpointUrl, AuthObject authObject, {Map<String, dynamic> args = const {}})
→ String
-
Constructs a full RetroAchievements API URL with path parameters,
authentication credentials (
z and y), and additional query parameters.
-
call({required String url, Client? client, })
→ Future
-
Fetch a RetroAchievements HTTP resource.
-
naiveCamelCase(String originalValue)
→ String
-
Converts API key formats (PascalCase, ALLCAPS, abbreviations) into idiomatic camelCase.
-
replaceDoubleSlashes(String input)
→ String
-
Normalizes redundant consecutive slashes in a URL while preserving the protocol.
-
serializeProperties(dynamic originalData, {List<String>? shouldCastToNumbers, List<String>? shouldMapToBooleans})
→ dynamic
-
Recursively normalizes response data by transforming keys to camelCase
and optionally casting specified properties to numbers or booleans.