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 Mar 6, 2019 · 12 revisions

APIClient.GetAllMods

public static void GetAllMods(RequestFilter filter, APIPaginationParameters pagination, Action<RequestPage<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 mod profiles from the mod.io servers.

A successful request returns a RequestPage of ModProfiles that match the filtering and pagination parameters supplied.

NOTE: As with all requests send via APIClient, the results of this query are limited to mods belonging to the game matching ModIO.APIClient.gameId.

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

See also: docs.mod.io page, ModIO.API.GetAllModsFilterFields

Clone this wiki locally