awesomenauts-api-lib
A fast and lightweight library written with ES6 async / await for connecting with the Community Awesomenauts API.
- Installation
- Usage
- Get All Nauts
- Get All Maps
- Get Naut by Key
- Get Map by Key
- Get Naut Role
- Get Naut Description
- Get Naut Difficulty
- Get Naut Image
- Get Naut Proper Name
- Get Naut Abilities
- Get Naut First Ability
- Get Naut Second Ability
- Get Naut Jump Ability
- Get Naut Attack
- Get Map Splash Art
- Get Mini Map
- Get Map Description
- Get Map Creep
- Get Map Hazard
- Get Map Hazard Text
Installation
This is a Node.js module available through the
npm registry. Installation is done using the
npm install
command:
$ npm install awesomenauts-api-lib
Usage
;
Usage Get All Nauts
const nauts = await NautsAPI
Usage Get All Maps
const nauts = await NautsAPI
Usage Get Naut by Key
const FroggyG = await NautsAPI
Usage Get Map by Key
const RibbitIV = await NautsAPI
Usage Get Naut Role
const RocketsRole = await NautsAPI
Usage Get Naut Description
const LeonsDesc = await NautsAPI
Usage Get Naut Difficulty
const RocketDiff = await NautsAPI
Usage Get Naut Image
const MaxImage = await NautsAPI
Usage Get Naut Proper Name
const LonestarName = await NautsAPI
Usage Get Naut Abilities
const DizzyAbilities = await NautsAPI
Usage Get Naut First Ability
const NautAbility1 = await NautsAPI
Usage Get Naut Second Ability
const NautAbility2 = await NautsAPI
Usage Get Naut Jump Ability
const NautJumpAbility = await NautsAPI
Usage Get Naut Attack
const NautAttack = await NautsAPI
Usage Get Map Splash Art
const RibbitSplashArt = await NautsAPI
Usage Get Mini Map
const RibbitMiniMap = await NautsAPI
Usage Get Map Description
const RibbitDesc = await NautsAPI
Usage Get Map Creep
const AI404Creep = await NautsAPI
Usage Get Map Hazard
const SoronaHazardImage = await NautsAPI
Usage Get Map Hazard Text
const SoronaHazardText = await NautsAPI