The Meraki Dashboard API Python library provides all current Meraki Dashboard API calls to interface with the Cisco Meraki cloud-managed platform. It handles error handling, logging, automatic retries for rate limits, and pagination. Generated from the OpenAPI specification, it aims to stay up-to-date with API releases. The library currently requires Python 3.10+ and is actively maintained with frequent updates.
pip install merakiVerified import paths — ran on the pinned version, not inferred.
This quickstart initializes the Meraki Dashboard API client using an API key from an environment variable. It then fetches and prints the names and IDs of all organizations accessible with the provided API key. Ensure `MERAKI_DASHBOARD_API_KEY` is set in your environment.
Review the official Meraki Python Library documentation for updated method names and parameters, especially if migrating from versions prior to 2.0.0.
Upgrade to version 2.0.1 or a later stable release: `pip install --upgrade meraki`.
Upgrade to the latest stable version of the library (`pip install --upgrade meraki`) and update your import statements to `import meraki`.
Always use environment variables (e.g., `MERAKI_DASHBOARD_API_KEY`) to store and access your API key. Do not commit API keys to version control. Be aware that a 404 response might indicate an authentication issue.
Upgrade to version 2.0.0 or later to benefit from the fix for this pagination issue.