Skip to main content

Python client for Meraki Dashboard API

Project description

Meraki Client - Python client for Meraki Dashboard API.

pypi ci documentation license


Documentation


Python client for the Meraki Dashboard API. Auto-generated from the OpenAPI spec to stay current with the latest releases.

Installation:

pip install meraki-client

Features

  • Modern Python 3.11+ with full type annotations
  • Sync and async clients built on httpx
  • Pydantic models for requests and responses
  • Automatic retries and pagination
  • Full API coverage (auto-generated from OpenAPI)

Setup

  1. Enable API access in your Meraki dashboard organization and obtain an API key

  2. Pass the API key to the client, or set it as an environment variable:

    client = MerakiClient(api_key="YOUR_KEY_HERE")
    
    export MERAKI_DASHBOARD_API_KEY=YOUR_KEY_HERE
    

Application identification

Cisco Meraki recommends that ecosystem partners and application developers identify their application with API requests. See User agents guide for formatting details.

client = MerakiClient(caller="ApplicationName/1.0 VendorName")

Or via environment variable:

export MERAKI_PYTHON_SDK_CALLER="ApplicationName/1.0 VendorName"

Usage

API calls follow the pattern client.<scope>.<operation>(), where scope maps to the OpenAPI tags (e.g., organizations, networks, devices).

Synchronous

from meraki_client import MerakiClient

client = MerakiClient()
org = client.organizations.get_organization(org_id)

Asynchronous

from meraki_client.aio import AsyncMerakiClient

async with AsyncMerakiClient() as client:
    orgs = await client.organizations.get_organization(org_id)

Contributing

Contributions are welcome! See CONTRIBUTING.md for development setup, testing, and code generation instructions.

Disclaimer

This is an unofficial community project, not affiliated with or endorsed by Cisco. For the official Meraki Python SDK, see meraki/dashboard-api-python. This project was forked from the official Meraki Python SDK.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

meraki_client-0.5.0.tar.gz (779.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

meraki_client-0.5.0-py3-none-any.whl (742.3 kB view details)

Uploaded Python 3

File details

Details for the file meraki_client-0.5.0.tar.gz.

File metadata

  • Download URL: meraki_client-0.5.0.tar.gz
  • Upload date:
  • Size: 779.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for meraki_client-0.5.0.tar.gz
Algorithm Hash digest
SHA256 7ffc5ef60c59444144d88ff85e741366fa77e1486f9890133eda57ad9b689ade
MD5 126f3f177dd5c334ec1e2a79b1598219
BLAKE2b-256 a1187e59b6b2fe1100c85d3833e8f281b9ddd797a4278e21772f1cf0b8eb8342

See more details on using hashes here.

Provenance

The following attestation bundles were made for meraki_client-0.5.0.tar.gz:

Publisher: publish.yml on ollipa/meraki-client-python

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file meraki_client-0.5.0-py3-none-any.whl.

File metadata

  • Download URL: meraki_client-0.5.0-py3-none-any.whl
  • Upload date:
  • Size: 742.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for meraki_client-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0ec15e620612d27f1c2ac9f6e1fb522d0a23ba6d7a1be7d428e9dc9f5367eb0d
MD5 34c98a8d552bf595ef67e5f2fc0a89d3
BLAKE2b-256 f2d4df1479120b0da4bf7d9008357eda11f20a8e49518743a055d47830f56c91

See more details on using hashes here.

Provenance

The following attestation bundles were made for meraki_client-0.5.0-py3-none-any.whl:

Publisher: publish.yml on ollipa/meraki-client-python

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page