1.0.5 • Published 8 years ago
nexboard-api-js v1.0.5
nexboard-api-js
Useage
Nexboard = require("./nexboard-api/Nexboard");
nex = new Nexboard(ApiKey, UserID, Url , TemplateProjectID );params
ApiKey= The identification key from account.UserID= The ID from user.Url= the URL of the API interface. If zero the value is set to defaultTemplateProjectID= A ID from an project, wich will use as template.
functions
nex.getProjectsIDs();retun a list of IDs from all projects.
nex.getBoardsByTemplate()retun a list of IDs from all boards from the template project.
nex.createProject(
"Title of project" ,
"description of project");create an new project and return it.
nex.createBoard(
"Title of Board" ,
"description of Board",
IdOfProjectFromThisBoard,
TemplateBoardId); // May be Nullcreate an new board and return it.
nex.getBoardsByProject(ProjectId));return all boards from Project.
nex.getBoard(BoardId));return the board object from ID.