2017 © Pedro Peláez
 

library cisco-meraki-client

Client for Cisco Meraki REST API

image

upscale/cisco-meraki-client

Client for Cisco Meraki REST API

  • Friday, May 25, 2018
  • by upscalesoftware
  • Repository
  • 1 Watchers
  • 0 Stars
  • 7 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 250 % Grown

The README.md

Client for Cisco Meraki Dashboard API

This library is a simplistic PHP client for Cisco Meraki Dashboard API., (*1)

Features: - Authorization via API Key - Base URL of API endpoints - Parsing JSON responses - Following HTTP redirects - Rate limiting (default: 5 req/sec), (*2)

Installation

The library is to be installed via Composer as a project dependency in composer.json:, (*3)

{
    "require": {
        "upscale/cisco-meraki-client": "*"
    }
}

Basic Usage

The library implements a handful of shortcut API methods:, (*4)

$meraki = new \Upscale\Cisco\Meraki\ApiClient(
    new \GuzzleHttp\Client(),
    '0011223344556677889900aaabbbcccdddeeefff'
);

$organizationId = 123456;
$networks = $meraki->fetchNetworks($organizationId);

$networkId = $networks[0]['id'];
$devices = $meraki->fetchDevices($networkId);

$deviceId = $devices[0]['serial'];
$clients = $meraki->fetchClients($deviceId);

Advanced Usage

Arbitrary REST API endpoints can be called via the generic interface:, (*5)

$organizations = $meraki->callApi('organizations', 'GET');

The arguments are passed through to Guzzle HTTP Client providing full control over API requests., (*6)

Contributing

Pull Requests are welcome to introduce the missing shortcut methods!, (*7)

License

Licensed under the Apache License, Version 2.0., (*8)

The Versions

25/05 2018

dev-master

9999999-dev https://github.com/upscalesoftware/cisco-meraki-client

Client for Cisco Meraki REST API

  Sources   Download

Apache-2.0

The Requires

 

by Upscale Software Team

api rest restful client dashboard cisco meraki

25/05 2018

1.0.0

1.0.0.0 https://github.com/upscalesoftware/cisco-meraki-client

Client for Cisco Meraki REST API

  Sources   Download

Apache-2.0

The Requires

 

by Upscale Software Team

api rest restful client dashboard cisco meraki