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

ModIO.APIClient.GetModStats

Jackson Wood edited this page Mar 6, 2019 · 3 revisions

APIClient.GetModStats

public static void GetModStats(int modId, Action<ModStatistics> successCallback, Action<WebRequestError> errorCallback);

Parameters

Name Description
modId Mod to fetch statistics for
successCallback Action to execute if the request succeeds
errorCallback Action to execute if the request returns an error

Description

Fetches the statics for a mod.

Get mod stats for the corresponding mod. Successful request will return the appropriate ModStatistics.

See also: docs.mod.io page

Clone this wiki locally