{"id":13638973,"url":"https://github.com/tejashah88/node-meraki-dashboard","last_synced_at":"2025-04-14T05:32:23.349Z","repository":{"id":25829228,"uuid":"106513782","full_name":"tejashah88/node-meraki-dashboard","owner":"tejashah88","description":"[DEPRECATED] A now-outdated node.js client library for using the Meraki Dashboard API (v0).","archived":true,"fork":false,"pushed_at":"2024-12-28T04:55:38.000Z","size":157,"stargazers_count":22,"open_issues_count":0,"forks_count":4,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-04-06T13:36:24.647Z","etag":null,"topics":["cisco","cisco-meraki","client-library","dashboard-api","meraki","meraki-dashboard","nodejs"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tejashah88.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-10-11T06:23:22.000Z","updated_at":"2024-12-28T05:06:50.000Z","dependencies_parsed_at":"2025-02-11T18:44:49.505Z","dependency_job_id":null,"html_url":"https://github.com/tejashah88/node-meraki-dashboard","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tejashah88%2Fnode-meraki-dashboard","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tejashah88%2Fnode-meraki-dashboard/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tejashah88%2Fnode-meraki-dashboard/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tejashah88%2Fnode-meraki-dashboard/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tejashah88","download_url":"https://codeload.github.com/tejashah88/node-meraki-dashboard/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248826816,"owners_count":21167757,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cisco","cisco-meraki","client-library","dashboard-api","meraki","meraki-dashboard","nodejs"],"created_at":"2024-08-02T01:00:56.114Z","updated_at":"2025-04-14T05:32:23.343Z","avatar_url":"https://github.com/tejashah88.png","language":"JavaScript","funding_links":[],"categories":["Dashboards"],"sub_categories":["Contents"],"readme":"# node-meraki-dashboard\n\nA ~~modern~~ **now outdated** node.js client library for using the Meraki Dashboard API (v0). See the deprecation notice below.\n\n# :warning: Deprecation Notice :warning:\n\nThis library has aged poorly, having been created in 2019 when I was working with Cisco Meraki products for a hackathon at the time. The Dashboard API has evolved significantly since, with v1 being released since 2020 and [superseding v0 since February 5th, 2022](https://developer.cisco.com/meraki/api-v1/versioning/#v0-deprecation--sunset). Additionally, as of December 2024 (v1.53.0 of their API), they have 520 unique endpoint paths and 773 operations within said endpoints, and the only officially supported API client for v1 is [written in Python](https://developer.cisco.com/meraki/api-v1/python/).\n\nWith that all said, this library is **officially deprecated** for future Cisco Meraki API development. This repository will remain for anyone who's used this library before and is looking for an [alternative solution below](#alternative-solutions). The following documentation links have been updated but it's recommended to always check the [official documentation website](https://developer.cisco.com/meraki/api-v1/).\n\n# Documentation (Updated since December 2024)\n\n* [Official Documentation Website](https://developer.cisco.com/meraki/api-v1/)\n* [Official Python Library](https://github.com/meraki/dashboard-api-python/)\n* [API Reference (v1)](https://github.com/meraki/dashboard-api-python/)\n* [Postman Documentation](https://documenter.getpostman.com/view/897512/SzYXYfmJ)\n* [OpenAPI Specification](https://github.com/meraki/openapi)\n\n## Additional Resources\n\n* [Meraki Read-only Sandbox](https://devnetsandbox.cisco.com/DevNet/catalog/meraki-always-on_meraki-always-on) - This read-only sandbox provides a *\"developer environment to experiment with the Cisco Meraki Dashboard, Dashboard API, Captive Portal integration, MV Sense, Webhook Alerts, and Location Scanning\"*\n\n# Alternative Solutions\n\nYou now have a few options that you can consider in place of this library, for which I've listed the instructions for the first 2. The 3rd one is NOT a solution I officially endorse, but it is an option if you desire a strongly-typed API interface.\n1. Switch to their official Python Client Library.\n2. Use Axios (via the Client pattern) for API calls\n3. Use an OpenAPI client generator like [@hey-api/openapi-ts](https://github.com/hey-api/openapi-ts).\n\n## Official Python Client Library\n\n### Installation\n```bash\npip install --upgrade meraki\n\nexport MERAKI_DASHBOARD_API_KEY=YOUR_KEY_HERE\n```\n\n### Sync version\n```python\nimport meraki\n\ndashboard = meraki.DashboardAPI()\nmy_orgs = dashboard.organizations.getOrganizations()\n\nfor org in my_orgs:\n    print(org)\n```\n\n### Async version\n```python\nimport asyncio\nimport meraki.aio\n\ndef main():\n    async with meraki.aio.AsyncDashboardAPI() as aiomeraki:\n        my_orgs = await aiomeraki.organizations.getOrganizations()\n\n    for org in my_orgs:\n        print(org)\n\nif __name__ == \"__main__\":\n    asyncio.run(main())\n\n```\n\n## Axios for API Calls\n\n### Installation\n```bash\nnpm install --save axios\n```\n\n```js\nimport axios from 'axios';\n\n// TODO: Change this line\nconst API_KEY = 'INSERT_API_KEY_HERE';\n\nconst meraki = axios.create({\n    baseURL: 'https://api.meraki.com/api/v1/',\n    headers: {\n        'X-Cisco-Meraki-API-Key': API_KEY,\n        'Content-Type': 'application/json; charset=utf-8',\n        'Accept': 'application/json'\n    },\n})\n\nconst my_orgs = await meraki.get('/organizations');\nfor (const org of my_orgs) {\n    console.log(org);\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftejashah88%2Fnode-meraki-dashboard","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftejashah88%2Fnode-meraki-dashboard","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftejashah88%2Fnode-meraki-dashboard/lists"}