Skip to content
MMDDKK edited this page Mar 15, 2021 · 1 revision
using GamejoltAPI.Core;
using GamejoltAPi.Users;

GJCore Core = GJCore("Game_ID", "Private_Key");
GJUser User = GJUser(Core, "MMDDKK", "UserToken");

Now you can auth with Auth()

using GamejoltAPI.Core;
using GamejoltAPi.Users;

GJCore Core = GJCore("Game_ID", "Private_Key");
GJUser User = GJUser(Core, "MMDDKK", "UserToken");

Console.WriteLine(User.Auth());

Or use Fetch()

using GamejoltAPI.Core;
using GamejoltAPi.Users;

GJCore Core = GJCore("Game_ID", "Private_Key");
GJUser User = GJUser(Core, "MMDDKK", "UserToken");

Console.WriteLine(User.Fetch("User_ID"));

Clone this wiki locally