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

Contains static methods to create valid API calls to the Game Jolt API accessing user functionalities.
Afficher le fichier Open project: nilllzz/Pokemon3D

Méthodes publiques

Méthode 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 méthode

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
Résultat APICall

FetchData() public static méthode

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
Résultat APICall

FetchDataById() public static méthode

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
Résultat APICall