Show / Hide Table of Contents

Class GameJoltApi

Core of the GameJolt api. Encapsulates all services and stores all relevant settings.

Inheritance
System.Object
GameJoltApi
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: GameJolt
Assembly: GameJolt.dll
Syntax
public class GameJoltApi

Constructors

| Improve this Doc View Source

GameJoltApi(Int32, String, Int32)

Constructs a new API instance using the provided credentials.

Declaration
public GameJoltApi(int gameId, string privateKey, int timeout = 10)
Parameters
Type Name Description
System.Int32 gameId

The id of your game.

System.String privateKey

The private key of your game.

System.Int32 timeout

Http request timeout.

Properties

| Improve this Doc View Source

Datastore

Manipulate items in a cloud-based data storage.

Declaration
public Datastore Datastore { get; }
Property Value
Type Description
Datastore
| Improve this Doc View Source

Friends

List a user's friends.

Declaration
public Friends Friends { get; }
Property Value
Type Description
Friends
| Improve this Doc View Source

Scores

Manipulate scores on score tables.

Declaration
public Scores Scores { get; }
Property Value
Type Description
Scores
| Improve this Doc View Source

Sessions

Set up sessions for your game.

Declaration
public Sessions Sessions { get; }
Property Value
Type Description
Sessions
| Improve this Doc View Source

Time

Get the server's time.

Declaration
public Time Time { get; }
Property Value
Type Description
Time
| Improve this Doc View Source

Timeout

Gets or sets the timeout for http requests.

Declaration
public TimeSpan Timeout { get; set; }
Property Value
Type Description
System.TimeSpan
| Improve this Doc View Source

Trophies

Manage trophies for your game.

Declaration
public Trophies Trophies { get; }
Property Value
Type Description
Trophies
| Improve this Doc View Source

Users

Access user-based features.

Declaration
public Users Users { get; }
Property Value
Type Description
Users
  • Improve this Doc
  • View Source
Back to top Generated by DocFX