My Goal is to get all clients connected to particular VLAN. We do have more than 80 networks in our organization. I passed the netwrok id to networkClients API with disabled timespan and t0. It returns few client devices compared to Meraki Dashboard(returns clients after filter by vlan and for last day) .If I enabled timespan and adjust the seconds I am getting all the devices. I can't adjust timespan for all the networks in our organization.
How can i get all the client devices without adjusting timespan for individual networks.
>I can't adjust timespan for all the networks in our organization.
If you are calling the API, why not?
It would be best if you post the actual code/parameter values you are using, and which API version.
I have some code i use :
I have a small piece of code here for you which i use frequently to retrieve the network usage of client per network
my_client['vlan'] contains the vlan number which you can filter on
Hope this helps
Ed
Hello @Surendra
Here is a simple Webapp I built using Meraki Dashboard API endpoints. Here is the source code. You will find network wise clients. You can pull the source code from git and make necessary changes to gather the same at Org level. The input will be an API Key and the rest is pretty dynamic.
Steps to get started:
git clone https://github.com/Cool-Apps-Pvt-Ltd/Meraki-API-MutiOrg-Portal
cd Meraki-API-MutiOrg-Portal/
npm install
npm start