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

ModIO.APIClient.GetUser

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

APIClient.GetUser

public static void GetUser(int userId, Action<UserProfile> successCallback, Action<WebRequestError> errorCallback);

Parameters

Name Description
userId Id of the user profile to retrieve
successCallback Action to execute if the request succeeds
errorCallback Action to execute if the request returns an error

Description

Fetches a user profile from the mod.io servers.

A successful request will return the UserProfile that matches the given id.

See also: docs.mod.io page

Clone this wiki locally