acp-node-lib
v2.2.0
Published
A simple library which allows clients to connect to the ACP API
Downloads
50
Maintainers
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: [email protected], Password: abcd123
acp.login([email protected], abcd123)
will log you into acp.