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

ModIO.APIClient.AddModRating

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

APIClient.AddModRating

public static void AddModRating(int modId, AddModRatingParameters parameters, Action<APIMessage> successCallback, Action<WebRequestError> errorCallback);

Parameters

Name Description
modId Mod to submit the rating for
parameters Rating data to be submitted
successCallback Action to execute if the request succeeds
errorCallback Action to execute if the request returns an error

Description

Submits a user's rating for a mod.

Each user can supply either one positive or one negative rating for a mod. Subsequent ratings will override any previous ratings. Successful request will return a confirmation APIMessage.

See also: docs.mod.io page

Clone this wiki locally