Skip to content
This repository has been archived by the owner on Sep 21, 2022. It is now read-only.

ModIO.APIClient.GetAllMods

Jackson Wood edited this page Jul 30, 2018 · 12 revisions

APIClient.GetAllMods

public static void GetAllMods(RequestFilter filter, PaginationParameters pagination, Action<ResponseArray<ModProfile>> successCallback, Action<WebRequestError> errorCallback);

Parameters

Name Description
filter The filter parameters to be applied to the request
pagination The pagination parameters to be applied to the request
successCallback Action to execute if the request succeeds
errorCallback Action to execute if the request returns an error

Description

Fetches all mods for the game id stored in ModIO.APIClient.gameId matching the filtering and pagination parameters supplied.

Successful request will the results of the query as a ModIO.API.ResponseArray of ModIO.ModProfile

See the mod.io filtering documentation for more comprehensive explanation of the filtering and pagination parameters.

Clone this wiki locally