How to extract information from Miraki Dashboard using API for 2000 MX65W devices.

Shashank
Comes here often

How to extract information from Miraki Dashboard using API for 2000 MX65W devices.

I can now only extract information for 1000 devices whereas total devices are 2800 (approx). Is there any way that i can extract information for all devices either in single go or in two or three attempts.

1 Reply 1
LearningIsFun
Getting noticed

If you are using the Meraki Python library it has a built in feature to get all pages.

https://developer.cisco.com/meraki/api-v1/#!python/meraki-dashboard-api-python-library

 

Example:

response = dashboard.organizations.getOrganizationUplinksStatuses(organization_id, total_pages='all')

 

If not, then you will have to deal with Pagination within your code.

https://developer.cisco.com/meraki/api-v1/#!pagination/pagination-with-the-python-library

 

 

Get notified when there are additional replies to this discussion.
Welcome to the Meraki Community!
To start contributing, simply sign in with your Cisco account. If you don't yet have a Cisco account, you can sign up.