node-meraki-dashboard

3.0.0 • Public • Published

node-meraki-dashboard

NPM Version Build Status Coverage Status

A modern node.js client library for using the Meraki Dashboard API. Supports a minimum of node v6.

Documentation

Getting started

Installing

npm install --save node-meraki-dashboard

Using Promises

const dashboard = require('node-meraki-dashboard')(apiKey);
dashboard.organizations.list()
  .then(data => console.log(data))
  .catch(error => console.log(error));

Using Async/Await

const dashboard = require('node-meraki-dashboard')(apiKey);
 
(async function() {
  try {
    const orgList = await dashboard.organizations.list();
    console.log(orgList);
  } catch (error) {
    console.log(error);
  }
})();

Development / Contributing

See the CONTRIBUTING guide for getting started with making modifications to this library.

Setup & Testing

git clone https://github.com/tejashah88/node-meraki-dashboard.git
cd node-meraki-dashboard
npm install
npm test

API coverage tool

The API coverage tool is used for reporting endpoints that are not implemented by this library. It fetches the endpoints from the official documentation and checks against the current codebase and finally generates a fancy table of the missing endpoints needed.

Usage

npm run api-coverage

/node-meraki-dashboard/

    Package Sidebar

    Install

    npm i node-meraki-dashboard

    Weekly Downloads

    5

    Version

    3.0.0

    License

    MIT

    Unpacked Size

    99.2 kB

    Total Files

    16

    Last publish

    Collaborators

    • tejashah88