Class RequestHelper
java.lang.Object
io.github.matyrobbrt.curseforgeapi.request.helper.RequestHelper
- All Implemented Interfaces:
IRequestHelper
A helper class for making direct requests.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetCategories
(int gameId) getCategories
(int gameId, int classId) getFeaturedMods
(FeaturedModsQuery query) getFiles
(int... fileIds) getFingerprintMatches
(int... fingerprints) getGame
(int gameId) getGames()
getGames
(PaginationQuery paginationQuery) getGameVersions
(int gameId) getGameVersionTypes
(int gameId) getMod
(int modId) getModDescription
(int modId) getModFile
(int modId, int fileId) getModFileChangelog
(int modId, int fileId) getModFileDownloadURL
(int modId, int fileId) getModFiles
(int modId) getModFiles
(int modId, Integer gameVersionTypeId, PaginationQuery paginationQuery) getModFiles
(Mod mod) searchMods
(ModSearchQuery query)
-
Constructor Details
-
RequestHelper
-
-
Method Details
-
getModFile
- Specified by:
getModFile
in interfaceIRequestHelper
- Throws:
CurseForgeException
- See Also:
-
getModFiles
- Specified by:
getModFiles
in interfaceIRequestHelper
- Throws:
CurseForgeException
- See Also:
-
getModFiles
public Response<List<File>> getModFiles(int modId, Integer gameVersionTypeId, PaginationQuery paginationQuery) throws CurseForgeException - Specified by:
getModFiles
in interfaceIRequestHelper
- Throws:
CurseForgeException
- See Also:
-
getCategories
- Specified by:
getCategories
in interfaceIRequestHelper
- Throws:
CurseForgeException
- See Also:
-
getCategories
- Specified by:
getCategories
in interfaceIRequestHelper
- Throws:
CurseForgeException
- See Also:
-
getMod
- Specified by:
getMod
in interfaceIRequestHelper
- Throws:
CurseForgeException
- See Also:
-
searchMods
- Specified by:
searchMods
in interfaceIRequestHelper
- Throws:
CurseForgeException
- See Also:
-
getGame
- Specified by:
getGame
in interfaceIRequestHelper
- Throws:
CurseForgeException
- See Also:
-
getGames
- Specified by:
getGames
in interfaceIRequestHelper
- Throws:
CurseForgeException
- See Also:
-
getGames
- Specified by:
getGames
in interfaceIRequestHelper
- Throws:
CurseForgeException
- See Also:
-
getGameVersions
- Specified by:
getGameVersions
in interfaceIRequestHelper
- Throws:
CurseForgeException
- See Also:
-
getGameVersionTypes
- Specified by:
getGameVersionTypes
in interfaceIRequestHelper
- Throws:
CurseForgeException
- See Also:
-
getModDescription
- Specified by:
getModDescription
in interfaceIRequestHelper
- Throws:
CurseForgeException
- See Also:
-
getFeaturedMods
- Specified by:
getFeaturedMods
in interfaceIRequestHelper
- Throws:
CurseForgeException
- See Also:
-
getModFiles
- Specified by:
getModFiles
in interfaceIRequestHelper
- Throws:
CurseForgeException
- See Also:
-
getFiles
- Specified by:
getFiles
in interfaceIRequestHelper
- Throws:
CurseForgeException
- See Also:
-
getModFileChangelog
- Specified by:
getModFileChangelog
in interfaceIRequestHelper
- Throws:
CurseForgeException
- See Also:
-
getModFileDownloadURL
- Specified by:
getModFileDownloadURL
in interfaceIRequestHelper
- Throws:
CurseForgeException
- See Also:
-
getFingerprintMatches
public Response<FingerprintsMatchesResult> getFingerprintMatches(int... fingerprints) throws CurseForgeException - Specified by:
getFingerprintMatches
in interfaceIRequestHelper
- Throws:
CurseForgeException
- See Also:
-
getFingerprintsFuzzyMatches
public Response<List<FingerprintFuzzyMatch>> getFingerprintsFuzzyMatches(GetFuzzyMatchesQuery query) throws CurseForgeException - Specified by:
getFingerprintsFuzzyMatches
in interfaceIRequestHelper
- Throws:
CurseForgeException
- See Also:
-