eh_GJUsersFetchData

Inherits: Resource > Reference > Object

Description

Data Struct that describes the response from /users/ endpoint Further details at gamejolt's api documentation

Properties

type property default value
bool success False
String message ""
int id 0
int type Null
String username ""
String avatar_url ""
String signed_up ""
int signed_up_timestamp 0
String last_logged_in ""
int last_logged_in_timestamp 0
int status Null
String developer_name ""
String developer_website ""
String developer_description ""

Enumerations

enum Status:

  • Active = 0
  • Banned = 1

enum Type:

  • User = 0
  • Developer = 1
  • Moderator = 2
  • Administrator = 3

Properties Descriptions

success

Default False

Status of the request.


message

Default ""

Will contain error message if request fails.


id

Default 0

The ID of the user.


type

The type of user. Can be any type defined in the enum Types


username

Default ""

The type of user.


avatar_url

Default ""

The URL of the user’s avatar.


signed_up

Default ""

How long ago the user signed up.


signed_up_timestamp

  • int signed_up_timestamp
Default 0

The timestamp (in seconds) of when the user signed up.


last_logged_in

Default ""

How long ago the user was last logged in. Will be "Online Now" if the user is currently online.


last_logged_in_timestamp

  • int last_logged_in_timestamp
Default 0

The timestamp (in seconds) of when the user was last logged in.


status

Status.Active if the user is still a member of the site. Status.Banned if they’ve been banned.


developer_name

Default ""

The user’s display name. (This is available to all users and the developer_ is there for backwards compatibility)


developer_website

Default ""

The user’s website (or empty string if not specified) (This is available to all users and the developer_ is there for backwards compatibility)


developer_description

  • String developer_description
Default ""

The user’s profile markdown description. (This is available to all users and the developer_ is there for backwards compatibility)