Installation
Node Package Manager (npm) is required to start using this API. You can install npm here. Installing nodejs will automatically install npm.
To confirm you have successfully installed npm, go to your terminal and run npm -v
. This should return a version number, for example, 6.14.15
.
yarn add avn-api
This will download the avn-api command and add it to your npm packages in your chosen directory.
tip
Your package.json
file should have avn-api
in it, similar to this:
package.json
"dependencies": {
"avn-api": "^0.8.0"
}