C# Class Pokemon3D.GameJolt.API.Calls.Users

Contains static methods to create valid API calls to the Game Jolt API accessing user functionalities.
ファイルを表示 Open project: nilllzz/Pokemon3D

Public Methods

Method Description
Authorize ( string username, string token ) : APICall

Creates an API call that authorizes a user with a token. The result indicates wether this was successful.

FetchData ( string username ) : APICall

Creates an API call that fetches user data from the server based on the passed in username.

FetchDataById ( string userId ) : APICall

Creates an API call that fetches user data from the server based on the passed in Game Jolt user id.

Method Details

Authorize() public static method

Creates an API call that authorizes a user with a token. The result indicates wether this was successful.
public static Authorize ( string username, string token ) : APICall
username string
token string
return APICall

FetchData() public static method

Creates an API call that fetches user data from the server based on the passed in username.
public static FetchData ( string username ) : APICall
username string
return APICall

FetchDataById() public static method

Creates an API call that fetches user data from the server based on the passed in Game Jolt user id.
public static FetchDataById ( string userId ) : APICall
userId string
return APICall