cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to use API in powershell to fetch data from meraki dashboard

Comes here often

How to use API in powershell to fetch data from meraki dashboard

Which url should I give in the powershell script,in  rest API call to get the data of Meraki dashboard

5 REPLIES 5
Kind of a big deal

Re: How to use API in powershell to fetch data from meraki dashboard

Head in the Cloud

Re: How to use API in powershell to fetch data from meraki dashboard

If you aren't too comfortable with the API or Powershell try using a Powershell module.

Comes here often

Re: How to use API in powershell to fetch data from meraki dashboard

I have access to the dashboard , I have given a url something like

https://meraki.api.com/v0/organizations/organizationid/deviceStatuses

 

This url I gave in the code it worked ,

 

If I need to get the data of some other page in dashboard which url i should give , the url which is on top of the dashboard ? Or something else

Kind of a big deal

Re: How to use API in powershell to fetch data from meraki dashboard

If you're making calls to the API you should always use api.meraki.com.

Head in the Cloud

Re: How to use API in powershell to fetch data from meraki dashboard

The base URL should always be the same, but the rest of the URL would change depending on the API Endpoint/Call used not the page you are browsing the dashboard UI

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.