01-07-2019 12:38 AM
Hi,
I am new to Meraki and to the Dashboard API. I am trying to ascertain whether I am using the Dashboard API correctly or not. I need to get the status of all access points and switches in an organization. Currently this is how I approach it:
I have two questions to the above approach:
Regards,
Bjørn
Solved! Go to Solution.
01-07-2019 04:40 PM
Once you've got your initial status of devices, if you are then looking for alerts on those devices you could look at using Webhooks (https://documentation.meraki.com/zGeneral_Administration/Other_Topics/Webhooks) so that you don't exceed the API rate limit - just depends on what the goal of your solution is.
01-07-2019 04:59 AM
In cases like this, your only option is to make a lot of separate API calls. To avoid the API request limit, you can use a rate limiter. For example, I sometimes use the throttled-request package with Node.js.
Remember that the rate limit applies at the organization level. If you have any other integrations or tasks using the API, you need to consider the total usage.
Using the first two letters of the model to determine the device type seems good enough for now.
01-07-2019 05:27 AM
01-07-2019 04:40 PM
Once you've got your initial status of devices, if you are then looking for alerts on those devices you could look at using Webhooks (https://documentation.meraki.com/zGeneral_Administration/Other_Topics/Webhooks) so that you don't exceed the API rate limit - just depends on what the goal of your solution is.
01-08-2019 03:49 AM
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide