diff --git a/README.md b/README.md index e48e295..babef68 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,7 @@ Then add this `api-kotlin` dependency to your `pom.xml` project! com.github.RetroAchievements api-kotlin - 1.0.2 + 1.0.6 ``` diff --git a/pom.xml b/pom.xml index 40853f5..315e235 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ org.retroachievements api-kotlin - 1.0.5 + 1.0.6 diff --git a/src/main/kotlin/org/retroachivements/api/data/pojo/user/GetUserRecentlyPlayedGames.kt b/src/main/kotlin/org/retroachivements/api/data/pojo/user/GetUserRecentlyPlayedGames.kt index e068566..634337f 100644 --- a/src/main/kotlin/org/retroachivements/api/data/pojo/user/GetUserRecentlyPlayedGames.kt +++ b/src/main/kotlin/org/retroachivements/api/data/pojo/user/GetUserRecentlyPlayedGames.kt @@ -32,10 +32,10 @@ class GetUserRecentlyPlayedGames { @SerializedName("LastPlayed") val lastPlayed: String, - + @SerializedName("AchievementsTotal") val achievementsTotal: Long, - + @SerializedName("NumPossibleAchievements") val numPossibleAchievements: Long, @@ -46,7 +46,7 @@ class GetUserRecentlyPlayedGames { val numAchieved: Long, @SerializedName("ScoreAchieved") - val scoreAchieved: Long + val scoreAchieved: Long, @SerializedName("NumAchievedHardcore") val numAchievedHardcore: Long, diff --git a/src/main/resources/mock/v1/user/GetUserRecentlyPlayedGames.json b/src/main/resources/mock/v1/user/GetUserRecentlyPlayedGames.json index f68f3d6..cd20def 100644 --- a/src/main/resources/mock/v1/user/GetUserRecentlyPlayedGames.json +++ b/src/main/resources/mock/v1/user/GetUserRecentlyPlayedGames.json @@ -1,16 +1,20 @@ [ - { - "gameId": 19010, - "consoleId": 21, - "consoleName": "PlayStation 2", - "title": "Simpsons, The: Hit & Run", - "imageIcon": "/Images/066024.png", - "lastPlayed": "2022-10-24 22:05:12", - "numPossibleAchievements": 131, - "possibleScore": 865, - "numAchieved": 23, - "scoreAchieved": 84, - "numAchievedHardcore": 23, - "scoreAchievedHardcore": 84 - } -] \ No newline at end of file + { + "GameID": 11332, + "ConsoleID": 12, + "ConsoleName": "PlayStation", + "Title": "Final Fantasy Origins", + "ImageIcon": "/Images/060249.png", + "ImageTitle": "/Images/026707.png", + "ImageIngame": "/Images/026708.png", + "ImageBoxArt": "/Images/046257.png", + "LastPlayed": "2023-10-27 00:30:04", + "AchievementsTotal": 119, + "NumPossibleAchievements": 119, + "PossibleScore": 945, + "NumAchieved": 38, + "ScoreAchieved": 382, + "NumAchievedHardcore": 38, + "ScoreAchievedHardcore": 382 + } +]