Name | netilion-lab-tab-api JSON |
Version |
1.2.2
JSON |
| download |
home_page | |
Summary | Client for accessing Lab part of Netilion cloud |
upload_time | 2023-05-14 16:19:18 |
maintainer | |
docs_url | None |
author | |
requires_python | >=3.4 |
license | Copyright (c) 2018 The Python Packaging Authority Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
keywords |
netilion
cloud
iiot
automation
e+h
endress+hauser
lab
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# netilion-lab-tab-api
This is a python client to acccess [Netilion](https://netilion.endress.com/) REST API.
Swagger UI can be found at [Staging API](https://api.staging-env.netilion.endress.com/doc/v1/)
IMPORTANT: this library is for Lab part of API!
Please visit our developer portal for further instructions and information: https://developer.netilion.endress.com/
This Python package is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project.
## Requirements.
Python 3.4+
## Usage
```python
import netilion_lab_tab_api
from netilion_lab_tab_api.rest import ApiException
configuration = netilion_lab_tab_api.Configuration()
configuration.host = 'https://api.staging-env.iiot.endress.com/v1'
# FOR BASIC AUTH
configuration.api_key['API-Key'] = 'YOUR_BASIC_API_KEY'
configuration.username = 'YOUR_USERNAME'
configuration.password = 'YOUR_PASSWORD'
# !OR!
# FOR OAUTH 2 PASSWORD GRANT
configuration.auth_type = netilion_lab_tab_api.AuthType.OAUTH_PASSWORD_GRANT
configuration.oauth_password_grant = netilion_lab_tab_api.OAuthPasswordGrant(username="YOUR_USERNAME",
password="YOUR_PASSWORD",
api_key="YOUR_OAUTH_API_KEY", # sometimes referred also as client id
api_secret="YOUR_OAUTH_API_SECRET", # sometimes referred also as client secret
oauth_token_url="https://api.staging-env.netilion.endress.com/oauth/token")
# create an instance of the API class
api_lab_instance_batch = netilion_lab_tab_api.BatchApi(netilion_lab_tab_api.ApiClient(configuration))
try:
api_response = api_lab_instance_batch.get_batches();
print(api_response)
except ApiException as e:
print("Exception: %s\n" % e)
```
Raw data
{
"_id": null,
"home_page": "",
"name": "netilion-lab-tab-api",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.4",
"maintainer_email": "",
"keywords": "Netilion,Cloud,IIoT,Automation,E+H,Endress+Hauser,Lab",
"author": "",
"author_email": "Andrey Dodonov <Andrey.Dodonov@endress.com>",
"download_url": "https://files.pythonhosted.org/packages/73/5b/9a4d552ceaf5a5a66db1d9f419ccc488a105a7b9d96e5d8f395cf0ec13c8/netilion_lab_tab_api-1.2.2.tar.gz",
"platform": null,
"description": "# netilion-lab-tab-api\r\n\r\nThis is a python client to acccess [Netilion](https://netilion.endress.com/) REST API.\r\n\r\nSwagger UI can be found at [Staging API](https://api.staging-env.netilion.endress.com/doc/v1/) \r\nIMPORTANT: this library is for Lab part of API!\r\n\r\nPlease visit our developer portal for further instructions and information: https://developer.netilion.endress.com/ \r\n\r\nThis Python package is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project.\r\n\r\n## Requirements.\r\n\r\nPython 3.4+\r\n\r\n## Usage\r\n\r\n```python\r\nimport netilion_lab_tab_api\r\nfrom netilion_lab_tab_api.rest import ApiException\r\n\r\nconfiguration = netilion_lab_tab_api.Configuration()\r\nconfiguration.host = 'https://api.staging-env.iiot.endress.com/v1'\r\n\r\n# FOR BASIC AUTH\r\nconfiguration.api_key['API-Key'] = 'YOUR_BASIC_API_KEY'\r\nconfiguration.username = 'YOUR_USERNAME'\r\nconfiguration.password = 'YOUR_PASSWORD'\r\n\r\n# !OR!\r\n\r\n# FOR OAUTH 2 PASSWORD GRANT\r\nconfiguration.auth_type = netilion_lab_tab_api.AuthType.OAUTH_PASSWORD_GRANT\r\nconfiguration.oauth_password_grant = netilion_lab_tab_api.OAuthPasswordGrant(username=\"YOUR_USERNAME\",\r\n password=\"YOUR_PASSWORD\",\r\n api_key=\"YOUR_OAUTH_API_KEY\", # sometimes referred also as client id\r\n api_secret=\"YOUR_OAUTH_API_SECRET\", # sometimes referred also as client secret\r\n oauth_token_url=\"https://api.staging-env.netilion.endress.com/oauth/token\")\r\n\r\n# create an instance of the API class\r\napi_lab_instance_batch = netilion_lab_tab_api.BatchApi(netilion_lab_tab_api.ApiClient(configuration))\r\n\r\ntry:\r\n api_response = api_lab_instance_batch.get_batches();\r\n print(api_response)\r\nexcept ApiException as e:\r\n print(\"Exception: %s\\n\" % e)\r\n\r\n```\r\n",
"bugtrack_url": null,
"license": "Copyright (c) 2018 The Python Packaging Authority Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.",
"summary": "Client for accessing Lab part of Netilion cloud",
"version": "1.2.2",
"project_urls": {
"API": "https://api.staging-env.netilion.endress.com/doc/v1/",
"Homepage": "https://staging-env.netilion.endress.com/"
},
"split_keywords": [
"netilion",
"cloud",
"iiot",
"automation",
"e+h",
"endress+hauser",
"lab"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "0f60b9684c6a4112a22b651247c89d3c6c55f47ebc0d88d16b7d926827d83c2d",
"md5": "2b54b0e3ec986d84d9a6bb5d8432df50",
"sha256": "362a5ec1d0b2b669de4738efd700fb16c209829d65c4a1d7674e6cd272eeb1a4"
},
"downloads": -1,
"filename": "netilion_lab_tab_api-1.2.2-py3-none-any.whl",
"has_sig": false,
"md5_digest": "2b54b0e3ec986d84d9a6bb5d8432df50",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.4",
"size": 295723,
"upload_time": "2023-05-14T16:19:16",
"upload_time_iso_8601": "2023-05-14T16:19:16.262237Z",
"url": "https://files.pythonhosted.org/packages/0f/60/b9684c6a4112a22b651247c89d3c6c55f47ebc0d88d16b7d926827d83c2d/netilion_lab_tab_api-1.2.2-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "735b9a4d552ceaf5a5a66db1d9f419ccc488a105a7b9d96e5d8f395cf0ec13c8",
"md5": "41daea0e772ed559868ece3d06c57394",
"sha256": "ff727446816b8d7d874434521db1ebe19bb8d89861fda388470edc523fc5701a"
},
"downloads": -1,
"filename": "netilion_lab_tab_api-1.2.2.tar.gz",
"has_sig": false,
"md5_digest": "41daea0e772ed559868ece3d06c57394",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.4",
"size": 112963,
"upload_time": "2023-05-14T16:19:18",
"upload_time_iso_8601": "2023-05-14T16:19:18.006774Z",
"url": "https://files.pythonhosted.org/packages/73/5b/9a4d552ceaf5a5a66db1d9f419ccc488a105a7b9d96e5d8f395cf0ec13c8/netilion_lab_tab_api-1.2.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-05-14 16:19:18",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "netilion-lab-tab-api"
}