Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,13 @@ if (response is NetworkResponse.Success) {

> A call to this endpoint will retrieve the complete list of all system ID and name pairs on the site.

**Available Parameters**

| Name | Type | Description | Example | Default |
|:------------------|:-----|:---------------------------|:--------|:--------|
| activeSystemsOnly | Int | Obtain active systems only | 1 | 0 |
| gameSystemsOnly | Int | Obtain game systems only | 1 | 0 |

**Example**
```kotlin
val credentials = RetroCredentials("<username>", "<web api key>")
Expand Down
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>org.retroachievements</groupId>
<artifactId>api-kotlin</artifactId>
<version>1.0.2</version>
<version>1.0.3</version>

<dependencyManagement>
<dependencies>
Expand Down Expand Up @@ -142,7 +142,7 @@
<dependency>
<groupId>com.squareup.retrofit2</groupId>
<artifactId>converter-gson</artifactId>
<version>2.9.0</version>
<version>2.11.0</version>
</dependency>

<dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,10 @@ class GetAchievementUnlocks {
val dateAwarded: String,

@SerializedName("HardcoreMode")
val hardcoreMode: Int
val hardcoreMode: Int,

@SerializedName("RASoftcorePoints")
val raSoftcorePoints: Int
)

data class Game(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,10 @@ class GetAchievementOfTheWeek {
val dateAwarded: String,

@SerializedName("HardcoreMode")
val hardcoreMode: Int
val hardcoreMode: Int,

@SerializedName("RASoftcorePoints")
val raSoftcorePoints: Int
)
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"user": "Podgicus0305",
"raPoints": 15544,
"dateAwarded": "2022-07-12 19:06:34",
"hardcoreMode": true
"hardcoreMode": true,
"raSoftcorePoints": 0
}
]
]
5 changes: 3 additions & 2 deletions src/main/resources/mock/v1/event/GetAchievementOfTheWeek.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,10 @@
"User": "Agnam",
"RAPoints": 56120,
"DateAwarded": "2023-10-26T22:13:34.000000Z",
"HardcoreMode": 1
"HardcoreMode": 1,
"RASoftcorePoints": 323
}
],
"UnlocksCount": 280,
"UnlocksHardcoreCount": 268
}
}