Skip to content

A Meraki hands on practice code for the Cisco DevNet using Sandboxes.

License

Notifications You must be signed in to change notification settings

shiiks/meraki_client

Meraki API Client

This repository contains a Python client for the Meraki API, which can be used to fetch lists of organizations, networks within an organization, and devices within a network. The client also includes a TTL caching mechanism to store the data fetched in the first execution to speed up future executions.

Prerequisites

To use this script, you will need:

A Cisco DevNet account (you can sign up for free at https://developer.cisco.com/) Access to the always-on IOS-XR sandbox (you can find more information on how to access it at https://developer.cisco.com/meraki/api-v1/)

Getting Started

Before using the Meraki API client, you will need to obtain an API key from the Meraki Dashboard Sandbox. Once you have your API key, you can either set it as an environment variable or pass it as a parameter when initializing the client.

To install the necessary dependencies, you can use pip:

pip install -r requirements.txt

Usage

export API_URL=<MERAKI_API_URL>
export MERAKI_X_AUTH_TOKEN=<MERAKI_X_AUTH_TOKEN>
python get_meraki.py

License

This script is licensed under the BSD 3-Clause License. See the LICENSE file for more information.

published Run in Cisco Cloud IDE

About

A Meraki hands on practice code for the Cisco DevNet using Sandboxes.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages