Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

acp-node-lib

PKWadsy88UNLICENSED2.2.0TypeScript support: included

A simple library which allows clients to connect to the ACP API

ACP, UoA, API, Active Classroom Programmer

readme

acp-node-lib

This is a simple library which allows node users to interact with the ACP API. For now, it acts as if it is the WebIde version.

Usage

Install using npm install acp-node-lib or yarn add acp-node-lib.

In your project, require the package const ACP = require('acp-node-lib') or import it import ACP from 'acp-node-lib'

Create a new instance of the api and pass in the location to store the token for future logins const acp = new ACP('./my-credentials.json')

Login

You must login with your ACP Account. This will likely be something like User: xyz@unidomain.com, Password: abcd123

acp.login(xyz@unidomain.com, abcd123) will log you into acp.