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

ModIO.APIClient.GetResourceOwner

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

APIClient.GetResourceOwner

public static void GetResourceOwner(APIResourceType resourceType, int resourceID, Action<UserProfile> successCallback, Action<WebRequestError> errorCallback);

Parameters

Name Description
resourceType The type of resource to query
resourceID Resource to fetch the owner of
successCallback Action to execute if the request succeeds
errorCallback Action to execute if the request returns an error

Description

Fetches the owner for a mod resource.

A successful request returns the UserProfile for the original submitter of a resource. Because the mods and games can be managed by teams of users, and the team endpoints are a more reliable source of information.

See also: docs.mod.io page

Clone this wiki locally