ourskyai_platform_api 1.3.1892__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- ourskyai_platform_api-1.3.1892/PKG-INFO +215 -0
- ourskyai_platform_api-1.3.1892/README.md +189 -0
- ourskyai_platform_api-1.3.1892/ourskyai_platform_api/__init__.py +73 -0
- ourskyai_platform_api-1.3.1892/ourskyai_platform_api/api/__init__.py +5 -0
- ourskyai_platform_api-1.3.1892/ourskyai_platform_api/api/default_api.py +3125 -0
- ourskyai_platform_api-1.3.1892/ourskyai_platform_api/api_client.py +758 -0
- ourskyai_platform_api-1.3.1892/ourskyai_platform_api/api_response.py +25 -0
- ourskyai_platform_api-1.3.1892/ourskyai_platform_api/configuration.py +442 -0
- ourskyai_platform_api-1.3.1892/ourskyai_platform_api/exceptions.py +166 -0
- ourskyai_platform_api-1.3.1892/ourskyai_platform_api/models/__init__.py +56 -0
- ourskyai_platform_api-1.3.1892/ourskyai_platform_api/models/camera_mode.py +40 -0
- ourskyai_platform_api-1.3.1892/ourskyai_platform_api/models/empty_success.py +71 -0
- ourskyai_platform_api-1.3.1892/ourskyai_platform_api/models/filter_type.py +56 -0
- ourskyai_platform_api-1.3.1892/ourskyai_platform_api/models/location.py +75 -0
- ourskyai_platform_api-1.3.1892/ourskyai_platform_api/models/metric_type.py +40 -0
- ourskyai_platform_api-1.3.1892/ourskyai_platform_api/models/mount_type.py +40 -0
- ourskyai_platform_api-1.3.1892/ourskyai_platform_api/models/node_state.py +44 -0
- ourskyai_platform_api-1.3.1892/ourskyai_platform_api/models/optical_tube_type.py +43 -0
- ourskyai_platform_api-1.3.1892/ourskyai_platform_api/models/shutter_type.py +40 -0
- ourskyai_platform_api-1.3.1892/ourskyai_platform_api/models/successful_create.py +71 -0
- ourskyai_platform_api-1.3.1892/ourskyai_platform_api/models/tracking_type.py +40 -0
- ourskyai_platform_api-1.3.1892/ourskyai_platform_api/models/v1_camera.py +104 -0
- ourskyai_platform_api-1.3.1892/ourskyai_platform_api/models/v1_complete_observation_request.py +71 -0
- ourskyai_platform_api-1.3.1892/ourskyai_platform_api/models/v1_create_image_set_image_request.py +71 -0
- ourskyai_platform_api-1.3.1892/ourskyai_platform_api/models/v1_create_image_set_image_response.py +73 -0
- ourskyai_platform_api-1.3.1892/ourskyai_platform_api/models/v1_create_image_set_request.py +81 -0
- ourskyai_platform_api-1.3.1892/ourskyai_platform_api/models/v1_create_mount_request.py +76 -0
- ourskyai_platform_api-1.3.1892/ourskyai_platform_api/models/v1_create_node_diagnostic_request.py +83 -0
- ourskyai_platform_api-1.3.1892/ourskyai_platform_api/models/v1_create_optical_tube_request.py +78 -0
- ourskyai_platform_api-1.3.1892/ourskyai_platform_api/models/v1_gain_curve.py +91 -0
- ourskyai_platform_api-1.3.1892/ourskyai_platform_api/models/v1_gain_curve_point.py +73 -0
- ourskyai_platform_api-1.3.1892/ourskyai_platform_api/models/v1_get_nodes.py +79 -0
- ourskyai_platform_api-1.3.1892/ourskyai_platform_api/models/v1_ground_station_participant.py +99 -0
- ourskyai_platform_api-1.3.1892/ourskyai_platform_api/models/v1_image_set.py +93 -0
- ourskyai_platform_api-1.3.1892/ourskyai_platform_api/models/v1_image_set_image.py +115 -0
- ourskyai_platform_api-1.3.1892/ourskyai_platform_api/models/v1_metric.py +80 -0
- ourskyai_platform_api-1.3.1892/ourskyai_platform_api/models/v1_mount.py +73 -0
- ourskyai_platform_api-1.3.1892/ourskyai_platform_api/models/v1_node.py +94 -0
- ourskyai_platform_api-1.3.1892/ourskyai_platform_api/models/v1_node_component_type.py +41 -0
- ourskyai_platform_api-1.3.1892/ourskyai_platform_api/models/v1_node_diagnostic_type.py +44 -0
- ourskyai_platform_api-1.3.1892/ourskyai_platform_api/models/v1_node_with_location.py +81 -0
- ourskyai_platform_api-1.3.1892/ourskyai_platform_api/models/v1_optical_tube.py +77 -0
- ourskyai_platform_api-1.3.1892/ourskyai_platform_api/models/v1_read_noise_point.py +73 -0
- ourskyai_platform_api-1.3.1892/ourskyai_platform_api/models/v1_setup_action.py +73 -0
- ourskyai_platform_api-1.3.1892/ourskyai_platform_api/models/v1_update_node_components_request.py +89 -0
- ourskyai_platform_api-1.3.1892/ourskyai_platform_api/models/v1_update_node_components_request_camera.py +128 -0
- ourskyai_platform_api-1.3.1892/ourskyai_platform_api/models/v1_update_node_components_request_mount.py +76 -0
- ourskyai_platform_api-1.3.1892/ourskyai_platform_api/models/v1_update_node_components_request_optical_tube.py +78 -0
- ourskyai_platform_api-1.3.1892/ourskyai_platform_api/models/v1_update_node_metrics_request.py +91 -0
- ourskyai_platform_api-1.3.1892/ourskyai_platform_api/models/v2_get_observation_response.py +105 -0
- ourskyai_platform_api-1.3.1892/ourskyai_platform_api/py.typed +0 -0
- ourskyai_platform_api-1.3.1892/ourskyai_platform_api/rest.py +303 -0
- ourskyai_platform_api-1.3.1892/pyproject.toml +30 -0
|
@@ -0,0 +1,215 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: ourskyai_platform_api
|
|
3
|
+
Version: 1.3.1892
|
|
4
|
+
Summary: OurSky Platform
|
|
5
|
+
Home-page: https://github.com/GIT_USER_ID/GIT_REPO_ID
|
|
6
|
+
License: NoLicense
|
|
7
|
+
Keywords: OpenAPI,OpenAPI-Generator,OurSky Platform
|
|
8
|
+
Author: OpenAPI Generator Community
|
|
9
|
+
Author-email: team@openapitools.org
|
|
10
|
+
Requires-Python: >=3.7,<4.0
|
|
11
|
+
Classifier: License :: Other/Proprietary License
|
|
12
|
+
Classifier: Programming Language :: Python :: 3
|
|
13
|
+
Classifier: Programming Language :: Python :: 3.7
|
|
14
|
+
Classifier: Programming Language :: Python :: 3.8
|
|
15
|
+
Classifier: Programming Language :: Python :: 3.9
|
|
16
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
18
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
19
|
+
Requires-Dist: aenum (>=3.1.11)
|
|
20
|
+
Requires-Dist: pydantic (>=1.10.5,<2.0.0)
|
|
21
|
+
Requires-Dist: python-dateutil (>=2.8.2)
|
|
22
|
+
Requires-Dist: urllib3 (>=1.25.3)
|
|
23
|
+
Project-URL: Repository, https://github.com/GIT_USER_ID/GIT_REPO_ID
|
|
24
|
+
Description-Content-Type: text/markdown
|
|
25
|
+
|
|
26
|
+
# ourskyai-platform-api
|
|
27
|
+
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
28
|
+
|
|
29
|
+
This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
|
30
|
+
|
|
31
|
+
- API version: 1.3.1892
|
|
32
|
+
- Package version: 1.3.1892
|
|
33
|
+
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
|
|
34
|
+
|
|
35
|
+
## Requirements.
|
|
36
|
+
|
|
37
|
+
Python 3.7+
|
|
38
|
+
|
|
39
|
+
## Installation & Usage
|
|
40
|
+
### pip install
|
|
41
|
+
|
|
42
|
+
If the python package is hosted on a repository, you can install directly using:
|
|
43
|
+
|
|
44
|
+
```sh
|
|
45
|
+
pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git
|
|
46
|
+
```
|
|
47
|
+
(you may need to run `pip` with root permission: `sudo pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git`)
|
|
48
|
+
|
|
49
|
+
Then import the package:
|
|
50
|
+
```python
|
|
51
|
+
import ourskyai_platform_api
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
### Setuptools
|
|
55
|
+
|
|
56
|
+
Install via [Setuptools](http://pypi.python.org/pypi/setuptools).
|
|
57
|
+
|
|
58
|
+
```sh
|
|
59
|
+
python setup.py install --user
|
|
60
|
+
```
|
|
61
|
+
(or `sudo python setup.py install` to install the package for all users)
|
|
62
|
+
|
|
63
|
+
Then import the package:
|
|
64
|
+
```python
|
|
65
|
+
import ourskyai_platform_api
|
|
66
|
+
```
|
|
67
|
+
|
|
68
|
+
### Tests
|
|
69
|
+
|
|
70
|
+
Execute `pytest` to run the tests.
|
|
71
|
+
|
|
72
|
+
## Getting Started
|
|
73
|
+
|
|
74
|
+
Please follow the [installation procedure](#installation--usage) and then run the following:
|
|
75
|
+
|
|
76
|
+
```python
|
|
77
|
+
|
|
78
|
+
import time
|
|
79
|
+
import ourskyai_platform_api
|
|
80
|
+
from ourskyai_platform_api.rest import ApiException
|
|
81
|
+
from pprint import pprint
|
|
82
|
+
|
|
83
|
+
# Defining the host is optional and defaults to https://api.prod.oursky.ai
|
|
84
|
+
# See configuration.py for a list of all supported configuration parameters.
|
|
85
|
+
configuration = ourskyai_platform_api.Configuration(
|
|
86
|
+
host = "https://api.prod.oursky.ai"
|
|
87
|
+
)
|
|
88
|
+
|
|
89
|
+
# The client must configure the authentication and authorization parameters
|
|
90
|
+
# in accordance with the API server security policy.
|
|
91
|
+
# Examples for each auth method are provided below, use the example that
|
|
92
|
+
# satisfies your auth use case.
|
|
93
|
+
|
|
94
|
+
# Configure Bearer authorization: BearerToken
|
|
95
|
+
configuration = ourskyai_platform_api.Configuration(
|
|
96
|
+
access_token = os.environ["BEARER_TOKEN"]
|
|
97
|
+
)
|
|
98
|
+
|
|
99
|
+
|
|
100
|
+
# Enter a context with an instance of the API client
|
|
101
|
+
with ourskyai_platform_api.ApiClient(configuration) as api_client:
|
|
102
|
+
# Create an instance of the API class
|
|
103
|
+
api_instance = ourskyai_platform_api.DefaultApi(api_client)
|
|
104
|
+
model = 'model_example' # str | (optional)
|
|
105
|
+
pixel_size_microns = 3.4 # float | (optional)
|
|
106
|
+
pixels_x = 56 # int | (optional)
|
|
107
|
+
pixels_y = 56 # int | (optional)
|
|
108
|
+
megapixels = 3.4 # float | (optional)
|
|
109
|
+
chilled = True # bool | (optional)
|
|
110
|
+
adc_bit_depth = 56 # int | (optional)
|
|
111
|
+
is_color = True # bool | (optional)
|
|
112
|
+
|
|
113
|
+
try:
|
|
114
|
+
api_response = api_instance.v1_camera_match(model=model, pixel_size_microns=pixel_size_microns, pixels_x=pixels_x, pixels_y=pixels_y, megapixels=megapixels, chilled=chilled, adc_bit_depth=adc_bit_depth, is_color=is_color)
|
|
115
|
+
print("The response of DefaultApi->v1_camera_match:\n")
|
|
116
|
+
pprint(api_response)
|
|
117
|
+
except ApiException as e:
|
|
118
|
+
print("Exception when calling DefaultApi->v1_camera_match: %s\n" % e)
|
|
119
|
+
|
|
120
|
+
```
|
|
121
|
+
|
|
122
|
+
## Documentation for API Endpoints
|
|
123
|
+
|
|
124
|
+
All URIs are relative to *https://api.prod.oursky.ai*
|
|
125
|
+
|
|
126
|
+
Class | Method | HTTP request | Description
|
|
127
|
+
------------ | ------------- | ------------- | -------------
|
|
128
|
+
*DefaultApi* | [**v1_camera_match**](docs/DefaultApi.md#v1_camera_match) | **GET** /v1/camera-match |
|
|
129
|
+
*DefaultApi* | [**v1_complete_observation**](docs/DefaultApi.md#v1_complete_observation) | **PUT** /v1/observation-complete |
|
|
130
|
+
*DefaultApi* | [**v1_create_image_set**](docs/DefaultApi.md#v1_create_image_set) | **POST** /v1/image-set |
|
|
131
|
+
*DefaultApi* | [**v1_create_image_set_image**](docs/DefaultApi.md#v1_create_image_set_image) | **POST** /v1/image-set-image |
|
|
132
|
+
*DefaultApi* | [**v1_create_metrics**](docs/DefaultApi.md#v1_create_metrics) | **POST** /v1/metrics |
|
|
133
|
+
*DefaultApi* | [**v1_create_mount**](docs/DefaultApi.md#v1_create_mount) | **POST** /v1/mount |
|
|
134
|
+
*DefaultApi* | [**v1_create_node_diagnostics**](docs/DefaultApi.md#v1_create_node_diagnostics) | **POST** /v1/node-diagnostics |
|
|
135
|
+
*DefaultApi* | [**v1_create_optical_tube**](docs/DefaultApi.md#v1_create_optical_tube) | **POST** /v1/optical-tube |
|
|
136
|
+
*DefaultApi* | [**v1_get_cameras**](docs/DefaultApi.md#v1_get_cameras) | **GET** /v1/cameras |
|
|
137
|
+
*DefaultApi* | [**v1_get_image_set**](docs/DefaultApi.md#v1_get_image_set) | **GET** /v1/image-set |
|
|
138
|
+
*DefaultApi* | [**v1_get_image_set_image**](docs/DefaultApi.md#v1_get_image_set_image) | **GET** /v1/image-set-image |
|
|
139
|
+
*DefaultApi* | [**v1_get_mount**](docs/DefaultApi.md#v1_get_mount) | **GET** /v1/mount |
|
|
140
|
+
*DefaultApi* | [**v1_get_node_diagnostic_tasks**](docs/DefaultApi.md#v1_get_node_diagnostic_tasks) | **GET** /v1/node-diagnostic-tasks |
|
|
141
|
+
*DefaultApi* | [**v1_get_node_properties**](docs/DefaultApi.md#v1_get_node_properties) | **GET** /v1/node-properties |
|
|
142
|
+
*DefaultApi* | [**v1_get_nodes**](docs/DefaultApi.md#v1_get_nodes) | **GET** /v1/nodes |
|
|
143
|
+
*DefaultApi* | [**v1_get_optical_tube**](docs/DefaultApi.md#v1_get_optical_tube) | **GET** /v1/optical-tube |
|
|
144
|
+
*DefaultApi* | [**v1_mount_match**](docs/DefaultApi.md#v1_mount_match) | **GET** /v1/mount-match |
|
|
145
|
+
*DefaultApi* | [**v1_optical_tube_match**](docs/DefaultApi.md#v1_optical_tube_match) | **GET** /v1/optical-tube-match |
|
|
146
|
+
*DefaultApi* | [**v1_update_node_components**](docs/DefaultApi.md#v1_update_node_components) | **PUT** /v1/node-components |
|
|
147
|
+
*DefaultApi* | [**v1_update_node_metrics**](docs/DefaultApi.md#v1_update_node_metrics) | **PUT** /v1/node-metrics |
|
|
148
|
+
*DefaultApi* | [**v2_get_observation**](docs/DefaultApi.md#v2_get_observation) | **GET** /v2/observation |
|
|
149
|
+
|
|
150
|
+
|
|
151
|
+
## Documentation For Models
|
|
152
|
+
|
|
153
|
+
- [CameraMode](docs/CameraMode.md)
|
|
154
|
+
- [EmptySuccess](docs/EmptySuccess.md)
|
|
155
|
+
- [FilterType](docs/FilterType.md)
|
|
156
|
+
- [Location](docs/Location.md)
|
|
157
|
+
- [MetricType](docs/MetricType.md)
|
|
158
|
+
- [MountType](docs/MountType.md)
|
|
159
|
+
- [NodeState](docs/NodeState.md)
|
|
160
|
+
- [OpticalTubeType](docs/OpticalTubeType.md)
|
|
161
|
+
- [ShutterType](docs/ShutterType.md)
|
|
162
|
+
- [SuccessfulCreate](docs/SuccessfulCreate.md)
|
|
163
|
+
- [TrackingType](docs/TrackingType.md)
|
|
164
|
+
- [V1Camera](docs/V1Camera.md)
|
|
165
|
+
- [V1CompleteObservationRequest](docs/V1CompleteObservationRequest.md)
|
|
166
|
+
- [V1CreateImageSetImageRequest](docs/V1CreateImageSetImageRequest.md)
|
|
167
|
+
- [V1CreateImageSetImageResponse](docs/V1CreateImageSetImageResponse.md)
|
|
168
|
+
- [V1CreateImageSetRequest](docs/V1CreateImageSetRequest.md)
|
|
169
|
+
- [V1CreateMountRequest](docs/V1CreateMountRequest.md)
|
|
170
|
+
- [V1CreateNodeDiagnosticRequest](docs/V1CreateNodeDiagnosticRequest.md)
|
|
171
|
+
- [V1CreateOpticalTubeRequest](docs/V1CreateOpticalTubeRequest.md)
|
|
172
|
+
- [V1GainCurve](docs/V1GainCurve.md)
|
|
173
|
+
- [V1GainCurvePoint](docs/V1GainCurvePoint.md)
|
|
174
|
+
- [V1GetNodes](docs/V1GetNodes.md)
|
|
175
|
+
- [V1GroundStationParticipant](docs/V1GroundStationParticipant.md)
|
|
176
|
+
- [V1ImageSet](docs/V1ImageSet.md)
|
|
177
|
+
- [V1ImageSetImage](docs/V1ImageSetImage.md)
|
|
178
|
+
- [V1Metric](docs/V1Metric.md)
|
|
179
|
+
- [V1Mount](docs/V1Mount.md)
|
|
180
|
+
- [V1Node](docs/V1Node.md)
|
|
181
|
+
- [V1NodeComponentType](docs/V1NodeComponentType.md)
|
|
182
|
+
- [V1NodeDiagnosticType](docs/V1NodeDiagnosticType.md)
|
|
183
|
+
- [V1NodeWithLocation](docs/V1NodeWithLocation.md)
|
|
184
|
+
- [V1OpticalTube](docs/V1OpticalTube.md)
|
|
185
|
+
- [V1ReadNoisePoint](docs/V1ReadNoisePoint.md)
|
|
186
|
+
- [V1SetupAction](docs/V1SetupAction.md)
|
|
187
|
+
- [V1UpdateNodeComponentsRequest](docs/V1UpdateNodeComponentsRequest.md)
|
|
188
|
+
- [V1UpdateNodeComponentsRequestCamera](docs/V1UpdateNodeComponentsRequestCamera.md)
|
|
189
|
+
- [V1UpdateNodeComponentsRequestMount](docs/V1UpdateNodeComponentsRequestMount.md)
|
|
190
|
+
- [V1UpdateNodeComponentsRequestOpticalTube](docs/V1UpdateNodeComponentsRequestOpticalTube.md)
|
|
191
|
+
- [V1UpdateNodeMetricsRequest](docs/V1UpdateNodeMetricsRequest.md)
|
|
192
|
+
- [V2GetObservationResponse](docs/V2GetObservationResponse.md)
|
|
193
|
+
|
|
194
|
+
|
|
195
|
+
<a id="documentation-for-authorization"></a>
|
|
196
|
+
## Documentation For Authorization
|
|
197
|
+
|
|
198
|
+
|
|
199
|
+
Authentication schemes defined for the API:
|
|
200
|
+
<a id="BearerToken"></a>
|
|
201
|
+
### BearerToken
|
|
202
|
+
|
|
203
|
+
- **Type**: Bearer authentication
|
|
204
|
+
|
|
205
|
+
<a id="Roles"></a>
|
|
206
|
+
### Roles
|
|
207
|
+
|
|
208
|
+
|
|
209
|
+
|
|
210
|
+
## Author
|
|
211
|
+
|
|
212
|
+
|
|
213
|
+
|
|
214
|
+
|
|
215
|
+
|
|
@@ -0,0 +1,189 @@
|
|
|
1
|
+
# ourskyai-platform-api
|
|
2
|
+
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
3
|
+
|
|
4
|
+
This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
|
5
|
+
|
|
6
|
+
- API version: 1.3.1892
|
|
7
|
+
- Package version: 1.3.1892
|
|
8
|
+
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
|
|
9
|
+
|
|
10
|
+
## Requirements.
|
|
11
|
+
|
|
12
|
+
Python 3.7+
|
|
13
|
+
|
|
14
|
+
## Installation & Usage
|
|
15
|
+
### pip install
|
|
16
|
+
|
|
17
|
+
If the python package is hosted on a repository, you can install directly using:
|
|
18
|
+
|
|
19
|
+
```sh
|
|
20
|
+
pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git
|
|
21
|
+
```
|
|
22
|
+
(you may need to run `pip` with root permission: `sudo pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git`)
|
|
23
|
+
|
|
24
|
+
Then import the package:
|
|
25
|
+
```python
|
|
26
|
+
import ourskyai_platform_api
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
### Setuptools
|
|
30
|
+
|
|
31
|
+
Install via [Setuptools](http://pypi.python.org/pypi/setuptools).
|
|
32
|
+
|
|
33
|
+
```sh
|
|
34
|
+
python setup.py install --user
|
|
35
|
+
```
|
|
36
|
+
(or `sudo python setup.py install` to install the package for all users)
|
|
37
|
+
|
|
38
|
+
Then import the package:
|
|
39
|
+
```python
|
|
40
|
+
import ourskyai_platform_api
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
### Tests
|
|
44
|
+
|
|
45
|
+
Execute `pytest` to run the tests.
|
|
46
|
+
|
|
47
|
+
## Getting Started
|
|
48
|
+
|
|
49
|
+
Please follow the [installation procedure](#installation--usage) and then run the following:
|
|
50
|
+
|
|
51
|
+
```python
|
|
52
|
+
|
|
53
|
+
import time
|
|
54
|
+
import ourskyai_platform_api
|
|
55
|
+
from ourskyai_platform_api.rest import ApiException
|
|
56
|
+
from pprint import pprint
|
|
57
|
+
|
|
58
|
+
# Defining the host is optional and defaults to https://api.prod.oursky.ai
|
|
59
|
+
# See configuration.py for a list of all supported configuration parameters.
|
|
60
|
+
configuration = ourskyai_platform_api.Configuration(
|
|
61
|
+
host = "https://api.prod.oursky.ai"
|
|
62
|
+
)
|
|
63
|
+
|
|
64
|
+
# The client must configure the authentication and authorization parameters
|
|
65
|
+
# in accordance with the API server security policy.
|
|
66
|
+
# Examples for each auth method are provided below, use the example that
|
|
67
|
+
# satisfies your auth use case.
|
|
68
|
+
|
|
69
|
+
# Configure Bearer authorization: BearerToken
|
|
70
|
+
configuration = ourskyai_platform_api.Configuration(
|
|
71
|
+
access_token = os.environ["BEARER_TOKEN"]
|
|
72
|
+
)
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
# Enter a context with an instance of the API client
|
|
76
|
+
with ourskyai_platform_api.ApiClient(configuration) as api_client:
|
|
77
|
+
# Create an instance of the API class
|
|
78
|
+
api_instance = ourskyai_platform_api.DefaultApi(api_client)
|
|
79
|
+
model = 'model_example' # str | (optional)
|
|
80
|
+
pixel_size_microns = 3.4 # float | (optional)
|
|
81
|
+
pixels_x = 56 # int | (optional)
|
|
82
|
+
pixels_y = 56 # int | (optional)
|
|
83
|
+
megapixels = 3.4 # float | (optional)
|
|
84
|
+
chilled = True # bool | (optional)
|
|
85
|
+
adc_bit_depth = 56 # int | (optional)
|
|
86
|
+
is_color = True # bool | (optional)
|
|
87
|
+
|
|
88
|
+
try:
|
|
89
|
+
api_response = api_instance.v1_camera_match(model=model, pixel_size_microns=pixel_size_microns, pixels_x=pixels_x, pixels_y=pixels_y, megapixels=megapixels, chilled=chilled, adc_bit_depth=adc_bit_depth, is_color=is_color)
|
|
90
|
+
print("The response of DefaultApi->v1_camera_match:\n")
|
|
91
|
+
pprint(api_response)
|
|
92
|
+
except ApiException as e:
|
|
93
|
+
print("Exception when calling DefaultApi->v1_camera_match: %s\n" % e)
|
|
94
|
+
|
|
95
|
+
```
|
|
96
|
+
|
|
97
|
+
## Documentation for API Endpoints
|
|
98
|
+
|
|
99
|
+
All URIs are relative to *https://api.prod.oursky.ai*
|
|
100
|
+
|
|
101
|
+
Class | Method | HTTP request | Description
|
|
102
|
+
------------ | ------------- | ------------- | -------------
|
|
103
|
+
*DefaultApi* | [**v1_camera_match**](docs/DefaultApi.md#v1_camera_match) | **GET** /v1/camera-match |
|
|
104
|
+
*DefaultApi* | [**v1_complete_observation**](docs/DefaultApi.md#v1_complete_observation) | **PUT** /v1/observation-complete |
|
|
105
|
+
*DefaultApi* | [**v1_create_image_set**](docs/DefaultApi.md#v1_create_image_set) | **POST** /v1/image-set |
|
|
106
|
+
*DefaultApi* | [**v1_create_image_set_image**](docs/DefaultApi.md#v1_create_image_set_image) | **POST** /v1/image-set-image |
|
|
107
|
+
*DefaultApi* | [**v1_create_metrics**](docs/DefaultApi.md#v1_create_metrics) | **POST** /v1/metrics |
|
|
108
|
+
*DefaultApi* | [**v1_create_mount**](docs/DefaultApi.md#v1_create_mount) | **POST** /v1/mount |
|
|
109
|
+
*DefaultApi* | [**v1_create_node_diagnostics**](docs/DefaultApi.md#v1_create_node_diagnostics) | **POST** /v1/node-diagnostics |
|
|
110
|
+
*DefaultApi* | [**v1_create_optical_tube**](docs/DefaultApi.md#v1_create_optical_tube) | **POST** /v1/optical-tube |
|
|
111
|
+
*DefaultApi* | [**v1_get_cameras**](docs/DefaultApi.md#v1_get_cameras) | **GET** /v1/cameras |
|
|
112
|
+
*DefaultApi* | [**v1_get_image_set**](docs/DefaultApi.md#v1_get_image_set) | **GET** /v1/image-set |
|
|
113
|
+
*DefaultApi* | [**v1_get_image_set_image**](docs/DefaultApi.md#v1_get_image_set_image) | **GET** /v1/image-set-image |
|
|
114
|
+
*DefaultApi* | [**v1_get_mount**](docs/DefaultApi.md#v1_get_mount) | **GET** /v1/mount |
|
|
115
|
+
*DefaultApi* | [**v1_get_node_diagnostic_tasks**](docs/DefaultApi.md#v1_get_node_diagnostic_tasks) | **GET** /v1/node-diagnostic-tasks |
|
|
116
|
+
*DefaultApi* | [**v1_get_node_properties**](docs/DefaultApi.md#v1_get_node_properties) | **GET** /v1/node-properties |
|
|
117
|
+
*DefaultApi* | [**v1_get_nodes**](docs/DefaultApi.md#v1_get_nodes) | **GET** /v1/nodes |
|
|
118
|
+
*DefaultApi* | [**v1_get_optical_tube**](docs/DefaultApi.md#v1_get_optical_tube) | **GET** /v1/optical-tube |
|
|
119
|
+
*DefaultApi* | [**v1_mount_match**](docs/DefaultApi.md#v1_mount_match) | **GET** /v1/mount-match |
|
|
120
|
+
*DefaultApi* | [**v1_optical_tube_match**](docs/DefaultApi.md#v1_optical_tube_match) | **GET** /v1/optical-tube-match |
|
|
121
|
+
*DefaultApi* | [**v1_update_node_components**](docs/DefaultApi.md#v1_update_node_components) | **PUT** /v1/node-components |
|
|
122
|
+
*DefaultApi* | [**v1_update_node_metrics**](docs/DefaultApi.md#v1_update_node_metrics) | **PUT** /v1/node-metrics |
|
|
123
|
+
*DefaultApi* | [**v2_get_observation**](docs/DefaultApi.md#v2_get_observation) | **GET** /v2/observation |
|
|
124
|
+
|
|
125
|
+
|
|
126
|
+
## Documentation For Models
|
|
127
|
+
|
|
128
|
+
- [CameraMode](docs/CameraMode.md)
|
|
129
|
+
- [EmptySuccess](docs/EmptySuccess.md)
|
|
130
|
+
- [FilterType](docs/FilterType.md)
|
|
131
|
+
- [Location](docs/Location.md)
|
|
132
|
+
- [MetricType](docs/MetricType.md)
|
|
133
|
+
- [MountType](docs/MountType.md)
|
|
134
|
+
- [NodeState](docs/NodeState.md)
|
|
135
|
+
- [OpticalTubeType](docs/OpticalTubeType.md)
|
|
136
|
+
- [ShutterType](docs/ShutterType.md)
|
|
137
|
+
- [SuccessfulCreate](docs/SuccessfulCreate.md)
|
|
138
|
+
- [TrackingType](docs/TrackingType.md)
|
|
139
|
+
- [V1Camera](docs/V1Camera.md)
|
|
140
|
+
- [V1CompleteObservationRequest](docs/V1CompleteObservationRequest.md)
|
|
141
|
+
- [V1CreateImageSetImageRequest](docs/V1CreateImageSetImageRequest.md)
|
|
142
|
+
- [V1CreateImageSetImageResponse](docs/V1CreateImageSetImageResponse.md)
|
|
143
|
+
- [V1CreateImageSetRequest](docs/V1CreateImageSetRequest.md)
|
|
144
|
+
- [V1CreateMountRequest](docs/V1CreateMountRequest.md)
|
|
145
|
+
- [V1CreateNodeDiagnosticRequest](docs/V1CreateNodeDiagnosticRequest.md)
|
|
146
|
+
- [V1CreateOpticalTubeRequest](docs/V1CreateOpticalTubeRequest.md)
|
|
147
|
+
- [V1GainCurve](docs/V1GainCurve.md)
|
|
148
|
+
- [V1GainCurvePoint](docs/V1GainCurvePoint.md)
|
|
149
|
+
- [V1GetNodes](docs/V1GetNodes.md)
|
|
150
|
+
- [V1GroundStationParticipant](docs/V1GroundStationParticipant.md)
|
|
151
|
+
- [V1ImageSet](docs/V1ImageSet.md)
|
|
152
|
+
- [V1ImageSetImage](docs/V1ImageSetImage.md)
|
|
153
|
+
- [V1Metric](docs/V1Metric.md)
|
|
154
|
+
- [V1Mount](docs/V1Mount.md)
|
|
155
|
+
- [V1Node](docs/V1Node.md)
|
|
156
|
+
- [V1NodeComponentType](docs/V1NodeComponentType.md)
|
|
157
|
+
- [V1NodeDiagnosticType](docs/V1NodeDiagnosticType.md)
|
|
158
|
+
- [V1NodeWithLocation](docs/V1NodeWithLocation.md)
|
|
159
|
+
- [V1OpticalTube](docs/V1OpticalTube.md)
|
|
160
|
+
- [V1ReadNoisePoint](docs/V1ReadNoisePoint.md)
|
|
161
|
+
- [V1SetupAction](docs/V1SetupAction.md)
|
|
162
|
+
- [V1UpdateNodeComponentsRequest](docs/V1UpdateNodeComponentsRequest.md)
|
|
163
|
+
- [V1UpdateNodeComponentsRequestCamera](docs/V1UpdateNodeComponentsRequestCamera.md)
|
|
164
|
+
- [V1UpdateNodeComponentsRequestMount](docs/V1UpdateNodeComponentsRequestMount.md)
|
|
165
|
+
- [V1UpdateNodeComponentsRequestOpticalTube](docs/V1UpdateNodeComponentsRequestOpticalTube.md)
|
|
166
|
+
- [V1UpdateNodeMetricsRequest](docs/V1UpdateNodeMetricsRequest.md)
|
|
167
|
+
- [V2GetObservationResponse](docs/V2GetObservationResponse.md)
|
|
168
|
+
|
|
169
|
+
|
|
170
|
+
<a id="documentation-for-authorization"></a>
|
|
171
|
+
## Documentation For Authorization
|
|
172
|
+
|
|
173
|
+
|
|
174
|
+
Authentication schemes defined for the API:
|
|
175
|
+
<a id="BearerToken"></a>
|
|
176
|
+
### BearerToken
|
|
177
|
+
|
|
178
|
+
- **Type**: Bearer authentication
|
|
179
|
+
|
|
180
|
+
<a id="Roles"></a>
|
|
181
|
+
### Roles
|
|
182
|
+
|
|
183
|
+
|
|
184
|
+
|
|
185
|
+
## Author
|
|
186
|
+
|
|
187
|
+
|
|
188
|
+
|
|
189
|
+
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
# flake8: noqa
|
|
4
|
+
|
|
5
|
+
"""
|
|
6
|
+
OurSky Platform
|
|
7
|
+
|
|
8
|
+
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
9
|
+
|
|
10
|
+
The version of the OpenAPI document: 1.3.1892
|
|
11
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
12
|
+
|
|
13
|
+
Do not edit the class manually.
|
|
14
|
+
""" # noqa: E501
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
__version__ = "1.3.1892"
|
|
18
|
+
|
|
19
|
+
# import apis into sdk package
|
|
20
|
+
from ourskyai_platform_api.api.default_api import DefaultApi
|
|
21
|
+
|
|
22
|
+
# import ApiClient
|
|
23
|
+
from ourskyai_platform_api.api_response import ApiResponse
|
|
24
|
+
from ourskyai_platform_api.api_client import ApiClient
|
|
25
|
+
from ourskyai_platform_api.configuration import Configuration
|
|
26
|
+
from ourskyai_platform_api.exceptions import OpenApiException
|
|
27
|
+
from ourskyai_platform_api.exceptions import ApiTypeError
|
|
28
|
+
from ourskyai_platform_api.exceptions import ApiValueError
|
|
29
|
+
from ourskyai_platform_api.exceptions import ApiKeyError
|
|
30
|
+
from ourskyai_platform_api.exceptions import ApiAttributeError
|
|
31
|
+
from ourskyai_platform_api.exceptions import ApiException
|
|
32
|
+
|
|
33
|
+
# import models into sdk package
|
|
34
|
+
from ourskyai_platform_api.models.camera_mode import CameraMode
|
|
35
|
+
from ourskyai_platform_api.models.empty_success import EmptySuccess
|
|
36
|
+
from ourskyai_platform_api.models.filter_type import FilterType
|
|
37
|
+
from ourskyai_platform_api.models.location import Location
|
|
38
|
+
from ourskyai_platform_api.models.metric_type import MetricType
|
|
39
|
+
from ourskyai_platform_api.models.mount_type import MountType
|
|
40
|
+
from ourskyai_platform_api.models.node_state import NodeState
|
|
41
|
+
from ourskyai_platform_api.models.optical_tube_type import OpticalTubeType
|
|
42
|
+
from ourskyai_platform_api.models.shutter_type import ShutterType
|
|
43
|
+
from ourskyai_platform_api.models.successful_create import SuccessfulCreate
|
|
44
|
+
from ourskyai_platform_api.models.tracking_type import TrackingType
|
|
45
|
+
from ourskyai_platform_api.models.v1_camera import V1Camera
|
|
46
|
+
from ourskyai_platform_api.models.v1_complete_observation_request import V1CompleteObservationRequest
|
|
47
|
+
from ourskyai_platform_api.models.v1_create_image_set_image_request import V1CreateImageSetImageRequest
|
|
48
|
+
from ourskyai_platform_api.models.v1_create_image_set_image_response import V1CreateImageSetImageResponse
|
|
49
|
+
from ourskyai_platform_api.models.v1_create_image_set_request import V1CreateImageSetRequest
|
|
50
|
+
from ourskyai_platform_api.models.v1_create_mount_request import V1CreateMountRequest
|
|
51
|
+
from ourskyai_platform_api.models.v1_create_node_diagnostic_request import V1CreateNodeDiagnosticRequest
|
|
52
|
+
from ourskyai_platform_api.models.v1_create_optical_tube_request import V1CreateOpticalTubeRequest
|
|
53
|
+
from ourskyai_platform_api.models.v1_gain_curve import V1GainCurve
|
|
54
|
+
from ourskyai_platform_api.models.v1_gain_curve_point import V1GainCurvePoint
|
|
55
|
+
from ourskyai_platform_api.models.v1_get_nodes import V1GetNodes
|
|
56
|
+
from ourskyai_platform_api.models.v1_ground_station_participant import V1GroundStationParticipant
|
|
57
|
+
from ourskyai_platform_api.models.v1_image_set import V1ImageSet
|
|
58
|
+
from ourskyai_platform_api.models.v1_image_set_image import V1ImageSetImage
|
|
59
|
+
from ourskyai_platform_api.models.v1_metric import V1Metric
|
|
60
|
+
from ourskyai_platform_api.models.v1_mount import V1Mount
|
|
61
|
+
from ourskyai_platform_api.models.v1_node import V1Node
|
|
62
|
+
from ourskyai_platform_api.models.v1_node_component_type import V1NodeComponentType
|
|
63
|
+
from ourskyai_platform_api.models.v1_node_diagnostic_type import V1NodeDiagnosticType
|
|
64
|
+
from ourskyai_platform_api.models.v1_node_with_location import V1NodeWithLocation
|
|
65
|
+
from ourskyai_platform_api.models.v1_optical_tube import V1OpticalTube
|
|
66
|
+
from ourskyai_platform_api.models.v1_read_noise_point import V1ReadNoisePoint
|
|
67
|
+
from ourskyai_platform_api.models.v1_setup_action import V1SetupAction
|
|
68
|
+
from ourskyai_platform_api.models.v1_update_node_components_request import V1UpdateNodeComponentsRequest
|
|
69
|
+
from ourskyai_platform_api.models.v1_update_node_components_request_camera import V1UpdateNodeComponentsRequestCamera
|
|
70
|
+
from ourskyai_platform_api.models.v1_update_node_components_request_mount import V1UpdateNodeComponentsRequestMount
|
|
71
|
+
from ourskyai_platform_api.models.v1_update_node_components_request_optical_tube import V1UpdateNodeComponentsRequestOpticalTube
|
|
72
|
+
from ourskyai_platform_api.models.v1_update_node_metrics_request import V1UpdateNodeMetricsRequest
|
|
73
|
+
from ourskyai_platform_api.models.v2_get_observation_response import V2GetObservationResponse
|