Judge API SDK with PHP
A simple judge api sdk write with NodeJS for OPJS.
Install
npm install judge-sdk-node --save
Usage
; // create a new judge instance// $uri is the base judge api address, id and secret is your identifierconst judge = uri id secret; // add problemproblem = judge;// update problemjudge;// remove problemjudge;// add a group test filesjudge;// add a judge recordjudge;// query a judge record resultresult = judge;
All objects in params are reference to API docs.