You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Download and put http-get.h and http-get.c in your project
Link the crypto file from OPENSSL
Usage Guide
#include<gj.h>// api header#include<stdio.h>#include<stdlib.h>intmain()
{
set_id("id here");
set_pkey("private key here");
// this checks if any of the 4 following api calls failsintcheck=4;
gj_login("username", "token"); // to auth a user accountcheck-=gj_error();
gj_give_trophie(12321); // gives the trophie of that idcheck-=gj_error();
gj_add_score(42321, 10000); // table id then scorecheck-=gj_error();
gj_add_guest_score("cool_name", 342342, 900000); // guest name, table id, scorecheck-=gj_error();
// for more look at the api docs and header file for rest of functionsif(check!=0) returncheck;
return0;
}