Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
# -*- coding: utf-8 -*-
"""
meraki
This file was automatically generated for meraki by APIMATIC v2.0 ( https://apimatic.io ).
"""
from meraki.api_helper import APIHelper
from meraki.configuration import Configuration
from meraki.controllers.base_controller import BaseController
from meraki.http.auth.custom_header_auth import CustomHeaderAuth
class ConfigTemplatesController(BaseController):
"""A Controller to access Endpoints in the meraki API."""
def get_organization_config_templates(self,
organization_id):
"""Does a GET request to /organizations/{organizationId}/configTemplates.
List the configuration templates for this organization
Args:
organization_id (string): TODO: type description here. Example:
Returns:
mixed: Response from the API. Successful operation
# -*- coding: utf-8 -*-
"""
meraki
This file was automatically generated for meraki by APIMATIC v2.0 ( https://apimatic.io ).
"""
from meraki.api_helper import APIHelper
from meraki.configuration import Configuration
from meraki.controllers.base_controller import BaseController
from meraki.http.auth.custom_header_auth import CustomHeaderAuth
class VlansController(BaseController):
"""A Controller to access Endpoints in the meraki API."""
def get_network_vlans(self,
network_id):
"""Does a GET request to /networks/{networkId}/vlans.
List the VLANs for an MX network
Args:
network_id (string): TODO: type description here. Example:
Returns:
mixed: Response from the API. Successful operation
# -*- coding: utf-8 -*-
"""
meraki
This file was automatically generated for meraki by APIMATIC v2.0 ( https://apimatic.io ).
"""
from meraki.api_helper import APIHelper
from meraki.configuration import Configuration
from meraki.controllers.base_controller import BaseController
from meraki.http.auth.custom_header_auth import CustomHeaderAuth
class ActionBatchesController(BaseController):
"""A Controller to access Endpoints in the meraki API."""
def create_organization_action_batch(self,
options=dict()):
"""Does a POST request to /organizations/{organizationId}/actionBatches.
Create an action batch
Args:
options (dict, optional): Key-value pairs for any of the
parameters to this API Endpoint. All parameters to the
endpoint are supplied through the dictionary with their names
being the key and their desired values being the value. A list
of parameters that can be used are::
# -*- coding: utf-8 -*-
"""
meraki
This file was automatically generated for meraki by APIMATIC v2.0 ( https://apimatic.io ).
"""
from meraki.api_helper import APIHelper
from meraki.configuration import Configuration
from meraki.controllers.base_controller import BaseController
from meraki.http.auth.custom_header_auth import CustomHeaderAuth
class SMController(BaseController):
"""A Controller to access Endpoints in the meraki API."""
def create_network_sm_app_polaris(self,
options=dict()):
"""Does a POST request to /networks/{networkId}/sm/app/polaris.
Create a new Polaris app
Args:
options (dict, optional): Key-value pairs for any of the
parameters to this API Endpoint. All parameters to the
endpoint are supplied through the dictionary with their names
being the key and their desired values being the value. A list
of parameters that can be used are::
# -*- coding: utf-8 -*-
"""
meraki
This file was automatically generated for meraki by APIMATIC v2.0 ( https://apimatic.io ).
"""
from meraki.api_helper import APIHelper
from meraki.configuration import Configuration
from meraki.controllers.base_controller import BaseController
from meraki.http.auth.custom_header_auth import CustomHeaderAuth
class OrganizationsController(BaseController):
"""A Controller to access Endpoints in the meraki API."""
def get_organizations(self):
"""Does a GET request to /organizations.
List the organizations that the user has privileges on
Returns:
mixed: Response from the API. Successful operation
Raises:
APIException: When an error occurs while fetching the data from
the remote API. This exception includes the HTTP Response
code, an error message, and the HTTP body that was received in
# -*- coding: utf-8 -*-
"""
meraki
This file was automatically generated for meraki by APIMATIC v2.0 ( https://apimatic.io ).
"""
from meraki.api_helper import APIHelper
from meraki.configuration import Configuration
from meraki.controllers.base_controller import BaseController
from meraki.http.auth.custom_header_auth import CustomHeaderAuth
class WirelessHealthController(BaseController):
"""A Controller to access Endpoints in the meraki API."""
def get_network_clients_connection_stats(self,
options=dict()):
"""Does a GET request to /networks/{networkId}/clients/connectionStats.
Aggregated connectivity info for this network, grouped by clients
Args:
options (dict, optional): Key-value pairs for any of the
parameters to this API Endpoint. All parameters to the
endpoint are supplied through the dictionary with their names
being the key and their desired values being the value. A list
of parameters that can be used are::
# -*- coding: utf-8 -*-
"""
meraki
This file was automatically generated for meraki by APIMATIC v2.0 ( https://apimatic.io ).
"""
from meraki.api_helper import APIHelper
from meraki.configuration import Configuration
from meraki.controllers.base_controller import BaseController
from meraki.http.auth.custom_header_auth import CustomHeaderAuth
class NetworksController(BaseController):
"""A Controller to access Endpoints in the meraki API."""
def get_network(self,
network_id):
"""Does a GET request to /networks/{networkId}.
Return a network
Args:
network_id (string): TODO: type description here. Example:
Returns:
mixed: Response from the API. Successful operation
# -*- coding: utf-8 -*-
"""
meraki
This file was automatically generated for meraki by APIMATIC v2.0 ( https://apimatic.io ).
"""
from meraki.api_helper import APIHelper
from meraki.configuration import Configuration
from meraki.controllers.base_controller import BaseController
from meraki.http.auth.custom_header_auth import CustomHeaderAuth
class DevicesController(BaseController):
"""A Controller to access Endpoints in the meraki API."""
def get_network_devices(self,
network_id):
"""Does a GET request to /networks/{networkId}/devices.
List the devices in a network
Args:
network_id (string): TODO: type description here. Example:
Returns:
mixed: Response from the API. Successful operation
# -*- coding: utf-8 -*-
"""
meraki
This file was automatically generated for meraki by APIMATIC v2.0 ( https://apimatic.io ).
"""
from meraki.api_helper import APIHelper
from meraki.configuration import Configuration
from meraki.controllers.base_controller import BaseController
from meraki.http.auth.custom_header_auth import CustomHeaderAuth
class ClientsController(BaseController):
"""A Controller to access Endpoints in the meraki API."""
def get_device_clients(self,
options=dict()):
"""Does a GET request to /devices/{serial}/clients.
List the clients of a device, up to a maximum of a month ago. The
usage of each client is returned in kilobytes. If the device is a
switch, the switchport is returned; otherwise the switchport field is
null.
Args:
options (dict, optional): Key-value pairs for any of the
parameters to this API Endpoint. All parameters to the
# -*- coding: utf-8 -*-
"""
meraki
This file was automatically generated for meraki by APIMATIC v2.0 ( https://apimatic.io ).
"""
from meraki.api_helper import APIHelper
from meraki.configuration import Configuration
from meraki.controllers.base_controller import BaseController
from meraki.http.auth.custom_header_auth import CustomHeaderAuth
class FirewalledServicesController(BaseController):
"""A Controller to access Endpoints in the meraki API."""
def get_network_firewalled_services(self,
network_id):
"""Does a GET request to /networks/{networkId}/firewalledServices.
List the appliance services and their accessibility rules
Args:
network_id (string): TODO: type description here. Example:
Returns:
mixed: Response from the API. Successful operation