API Definition of primecore
This Python package is automatically generated by the Swagger Codegen project:
- API version: 1.0.0
- Package version: 1.0.0
- Build package: io.swagger.codegen.languages.PythonClientCodegen
Python 2.7 and 3.4+
If the python package is hosted on Github, you can install directly from Github
pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git
(you may need to run pip
with root permission: sudo pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git
)
Then import the package:
import swagger_client
Install via Setuptools.
python setup.py install --user
(or sudo python setup.py install
to install the package for all users)
Then import the package:
import swagger_client
Please follow the installation procedure and then run the following:
from __future__ import print_function
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint
# Configure OAuth2 access token for authorization: default
swagger_client.configuration.access_token = 'YOUR_ACCESS_TOKEN'
# create an instance of the API class
api_instance = swagger_client.DefaultApi()
try:
api_response = api_instance.access_point_count_get()
pprint(api_response)
except ApiException as e:
print("Exception when calling DefaultApi->access_point_count_get: %s\n" % e)
All URIs are relative to * "https://wso2-gw.ua.pt/primecore_primecore-ws/1.0.0/"*
Class | Method | HTTP request | Description |
---|---|---|---|
DefaultApi | access_point_count_get | GET /AccessPoint/Count | |
DefaultApi | access_point_get | GET /AccessPoint | |
DefaultApi | access_point_id_get | GET /AccessPoint/{id} | |
DefaultApi | access_point_name_device_type_count_get | GET /AccessPoint/{name}/DeviceTypeCount | |
DefaultApi | access_point_name_total_usernames_get | GET /AccessPoint/{name}/TotalUsernames | |
DefaultApi | building_get | GET /Building | |
DefaultApi | network_metric_building_get | GET /NetworkMetric/{building} | |
DefaultApi | rogue_access_point_alarm_count_get | GET /RogueAccessPointAlarm/Count | |
DefaultApi | rogue_access_point_alarm_get | GET /RogueAccessPointAlarm | |
DefaultApi | rogue_access_point_alarm_id_get | GET /RogueAccessPointAlarm/{id} |
- AccessPointObject
- InlineResponse200
- InlineResponse2001
- InlineResponse2002
- InlineResponse2002DeviceTypeCounts
- InlineResponse2003
- InlineResponse2004
- MetricsObject
- MetricsObjectMetricsData
- MetricsObjectMetricsDataValues
- MetricsObjectMetricsDataXValueProperty
- MetricsObjectMetricsDataYValueProperty
- RogueAccessPointAlarmObject
- RogueAccessPointAlarmObjectRogueApAlarmDetails