@@ -87,7 +87,7 @@ fun IGDBWrapper.companies(APICalypse: APICalypse): List<Company> {
87
87
88
88
@Throws(RequestException ::class )
89
89
fun IGDBWrapper.companyStatuses (APICalypse : APICalypse ): List <CompanyStatus > {
90
- val bytes = apiProtoRequest(Endpoints .COMPANIES , APICalypse .buildQuery())
90
+ val bytes = apiProtoRequest(Endpoints .COMPANY_STATUSES , APICalypse .buildQuery())
91
91
return CompanyStatusResult .parseFrom(bytes).companystatusesList
92
92
}
93
93
@@ -123,7 +123,7 @@ fun IGDBWrapper.externalGames(APICalypse: APICalypse): List<ExternalGame> {
123
123
124
124
@Throws(RequestException ::class )
125
125
fun IGDBWrapper.externalGameSources (APICalypse : APICalypse ): List <ExternalGameSource > {
126
- val bytes = apiProtoRequest(Endpoints .EXTERNAL_GAMES , APICalypse .buildQuery())
126
+ val bytes = apiProtoRequest(Endpoints .EXTERNAL_GAME_SOURCES , APICalypse .buildQuery())
127
127
return ExternalGameSourceResult .parseFrom(bytes).externalgamesourcesList
128
128
}
129
129
@@ -171,13 +171,13 @@ fun IGDBWrapper.gameReleaseFormats(APICalypse: APICalypse): List<GameReleaseForm
171
171
172
172
@Throws(RequestException ::class )
173
173
fun IGDBWrapper.gameStatuses (APICalypse : APICalypse ): List <GameStatus > {
174
- val bytes = apiProtoRequest(Endpoints .GAME_MODES , APICalypse .buildQuery())
174
+ val bytes = apiProtoRequest(Endpoints .GAME_STATUSES , APICalypse .buildQuery())
175
175
return GameStatusResult .parseFrom(bytes).gamestatusesList
176
176
}
177
177
178
178
@Throws(RequestException ::class )
179
179
fun IGDBWrapper.gameTypes (APICalypse : APICalypse ): List <GameType > {
180
- val bytes = apiProtoRequest(Endpoints .GAME_MODES , APICalypse .buildQuery())
180
+ val bytes = apiProtoRequest(Endpoints .GAME_TYPES , APICalypse .buildQuery())
181
181
return GameTypeResult .parseFrom(bytes).gametypesList
182
182
}
183
183
@@ -261,7 +261,7 @@ fun IGDBWrapper.platformLogos(APICalypse: APICalypse): List<PlatformLogo> {
261
261
262
262
@Throws(RequestException ::class )
263
263
fun IGDBWrapper.platformTypes (APICalypse : APICalypse ): List <PlatformType > {
264
- val bytes = apiProtoRequest(Endpoints .PLATFORM_LOGOS , APICalypse .buildQuery())
264
+ val bytes = apiProtoRequest(Endpoints .PLATFORM_TYPES , APICalypse .buildQuery())
265
265
return PlatformTypeResult .parseFrom(bytes).platformtypesList
266
266
}
267
267
@@ -315,7 +315,7 @@ fun IGDBWrapper.releaseDates(APICalypse: APICalypse): List<ReleaseDate> {
315
315
316
316
@Throws(RequestException ::class )
317
317
fun IGDBWrapper.releaseDateRegions (APICalypse : APICalypse ): List <ReleaseDateRegion > {
318
- val bytes = apiProtoRequest(Endpoints .RELEASE_DATES , APICalypse .buildQuery())
318
+ val bytes = apiProtoRequest(Endpoints .RELEASE_DATE_REGIONS , APICalypse .buildQuery())
319
319
return ReleaseDateRegionResult .parseFrom(bytes).releasedateregionsList
320
320
}
321
321
@@ -345,7 +345,7 @@ fun IGDBWrapper.websites(APICalypse: APICalypse): List<Website> {
345
345
346
346
@Throws(RequestException ::class )
347
347
fun IGDBWrapper.websiteTypes (APICalypse : APICalypse ): List <WebsiteType > {
348
- val bytes = apiProtoRequest(Endpoints .WEBSITES , APICalypse .buildQuery())
348
+ val bytes = apiProtoRequest(Endpoints .WEBSITE_TYPES , APICalypse .buildQuery())
349
349
return WebsiteTypeResult .parseFrom(bytes).websitetypesList
350
350
}
351
351
0 commit comments