ourskyai_astro_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.
Files changed (65) hide show
  1. ourskyai_astro_api-1.3.1892/PKG-INFO +240 -0
  2. ourskyai_astro_api-1.3.1892/README.md +214 -0
  3. ourskyai_astro_api-1.3.1892/ourskyai_astro_api/__init__.py +85 -0
  4. ourskyai_astro_api-1.3.1892/ourskyai_astro_api/api/__init__.py +5 -0
  5. ourskyai_astro_api-1.3.1892/ourskyai_astro_api/api/default_api.py +4977 -0
  6. ourskyai_astro_api-1.3.1892/ourskyai_astro_api/api_client.py +758 -0
  7. ourskyai_astro_api-1.3.1892/ourskyai_astro_api/api_response.py +25 -0
  8. ourskyai_astro_api-1.3.1892/ourskyai_astro_api/configuration.py +442 -0
  9. ourskyai_astro_api-1.3.1892/ourskyai_astro_api/exceptions.py +166 -0
  10. ourskyai_astro_api-1.3.1892/ourskyai_astro_api/models/__init__.py +68 -0
  11. ourskyai_astro_api-1.3.1892/ourskyai_astro_api/models/asset_file_type.py +44 -0
  12. ourskyai_astro_api-1.3.1892/ourskyai_astro_api/models/asset_type.py +43 -0
  13. ourskyai_astro_api-1.3.1892/ourskyai_astro_api/models/calibration_master_type.py +41 -0
  14. ourskyai_astro_api-1.3.1892/ourskyai_astro_api/models/empty_success.py +71 -0
  15. ourskyai_astro_api-1.3.1892/ourskyai_astro_api/models/filter_type.py +56 -0
  16. ourskyai_astro_api-1.3.1892/ourskyai_astro_api/models/location.py +75 -0
  17. ourskyai_astro_api-1.3.1892/ourskyai_astro_api/models/mount_type.py +40 -0
  18. ourskyai_astro_api-1.3.1892/ourskyai_astro_api/models/node_state.py +44 -0
  19. ourskyai_astro_api-1.3.1892/ourskyai_astro_api/models/optical_tube_type.py +43 -0
  20. ourskyai_astro_api-1.3.1892/ourskyai_astro_api/models/shutter_type.py +40 -0
  21. ourskyai_astro_api-1.3.1892/ourskyai_astro_api/models/successful_create.py +71 -0
  22. ourskyai_astro_api-1.3.1892/ourskyai_astro_api/models/tracking_type.py +40 -0
  23. ourskyai_astro_api-1.3.1892/ourskyai_astro_api/models/v1_astro_project.py +89 -0
  24. ourskyai_astro_api-1.3.1892/ourskyai_astro_api/models/v1_astro_project_asset.py +98 -0
  25. ourskyai_astro_api-1.3.1892/ourskyai_astro_api/models/v1_astro_project_asset_metadata.py +75 -0
  26. ourskyai_astro_api-1.3.1892/ourskyai_astro_api/models/v1_astro_project_asset_metadata_color_combination.py +76 -0
  27. ourskyai_astro_api-1.3.1892/ourskyai_astro_api/models/v1_astro_target.py +81 -0
  28. ourskyai_astro_api-1.3.1892/ourskyai_astro_api/models/v1_calibration_master.py +95 -0
  29. ourskyai_astro_api-1.3.1892/ourskyai_astro_api/models/v1_camera.py +104 -0
  30. ourskyai_astro_api-1.3.1892/ourskyai_astro_api/models/v1_create_astro_project_image_set_request.py +76 -0
  31. ourskyai_astro_api-1.3.1892/ourskyai_astro_api/models/v1_create_astro_project_request.py +82 -0
  32. ourskyai_astro_api-1.3.1892/ourskyai_astro_api/models/v1_create_astro_project_response.py +73 -0
  33. ourskyai_astro_api-1.3.1892/ourskyai_astro_api/models/v1_create_calibration_master_request.py +93 -0
  34. ourskyai_astro_api-1.3.1892/ourskyai_astro_api/models/v1_create_calibration_master_response.py +73 -0
  35. ourskyai_astro_api-1.3.1892/ourskyai_astro_api/models/v1_create_camera_request.py +128 -0
  36. ourskyai_astro_api-1.3.1892/ourskyai_astro_api/models/v1_create_image_set_image_request.py +71 -0
  37. ourskyai_astro_api-1.3.1892/ourskyai_astro_api/models/v1_create_image_set_image_response.py +73 -0
  38. ourskyai_astro_api-1.3.1892/ourskyai_astro_api/models/v1_create_image_set_request.py +81 -0
  39. ourskyai_astro_api-1.3.1892/ourskyai_astro_api/models/v1_create_mount_request.py +76 -0
  40. ourskyai_astro_api-1.3.1892/ourskyai_astro_api/models/v1_create_node_request.py +89 -0
  41. ourskyai_astro_api-1.3.1892/ourskyai_astro_api/models/v1_create_optical_tube_request.py +78 -0
  42. ourskyai_astro_api-1.3.1892/ourskyai_astro_api/models/v1_gain_curve.py +91 -0
  43. ourskyai_astro_api-1.3.1892/ourskyai_astro_api/models/v1_gain_curve_point.py +73 -0
  44. ourskyai_astro_api-1.3.1892/ourskyai_astro_api/models/v1_get_astro_platform_credit_balance_response.py +71 -0
  45. ourskyai_astro_api-1.3.1892/ourskyai_astro_api/models/v1_get_nodes.py +79 -0
  46. ourskyai_astro_api-1.3.1892/ourskyai_astro_api/models/v1_image_set.py +93 -0
  47. ourskyai_astro_api-1.3.1892/ourskyai_astro_api/models/v1_image_set_image.py +115 -0
  48. ourskyai_astro_api-1.3.1892/ourskyai_astro_api/models/v1_job_kind.py +41 -0
  49. ourskyai_astro_api-1.3.1892/ourskyai_astro_api/models/v1_job_log.py +83 -0
  50. ourskyai_astro_api-1.3.1892/ourskyai_astro_api/models/v1_job_status.py +42 -0
  51. ourskyai_astro_api-1.3.1892/ourskyai_astro_api/models/v1_mount.py +73 -0
  52. ourskyai_astro_api-1.3.1892/ourskyai_astro_api/models/v1_node.py +94 -0
  53. ourskyai_astro_api-1.3.1892/ourskyai_astro_api/models/v1_node_with_location.py +81 -0
  54. ourskyai_astro_api-1.3.1892/ourskyai_astro_api/models/v1_optical_tube.py +77 -0
  55. ourskyai_astro_api-1.3.1892/ourskyai_astro_api/models/v1_platform_credit.py +90 -0
  56. ourskyai_astro_api-1.3.1892/ourskyai_astro_api/models/v1_platform_credit_source.py +42 -0
  57. ourskyai_astro_api-1.3.1892/ourskyai_astro_api/models/v1_platform_credit_type.py +39 -0
  58. ourskyai_astro_api-1.3.1892/ourskyai_astro_api/models/v1_platform_credit_unit.py +39 -0
  59. ourskyai_astro_api-1.3.1892/ourskyai_astro_api/models/v1_put_stack_astro_project_request.py +71 -0
  60. ourskyai_astro_api-1.3.1892/ourskyai_astro_api/models/v1_read_noise_point.py +73 -0
  61. ourskyai_astro_api-1.3.1892/ourskyai_astro_api/models/v1_setup_action.py +73 -0
  62. ourskyai_astro_api-1.3.1892/ourskyai_astro_api/models/v1_update_node_request.py +94 -0
  63. ourskyai_astro_api-1.3.1892/ourskyai_astro_api/py.typed +0 -0
  64. ourskyai_astro_api-1.3.1892/ourskyai_astro_api/rest.py +303 -0
  65. ourskyai_astro_api-1.3.1892/pyproject.toml +30 -0
@@ -0,0 +1,240 @@
1
+ Metadata-Version: 2.1
2
+ Name: ourskyai_astro_api
3
+ Version: 1.3.1892
4
+ Summary: OurSky Astro
5
+ Home-page: https://github.com/GIT_USER_ID/GIT_REPO_ID
6
+ License: NoLicense
7
+ Keywords: OpenAPI,OpenAPI-Generator,OurSky Astro
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-astro-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_astro_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_astro_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_astro_api
80
+ from ourskyai_astro_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_astro_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_astro_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_astro_api.ApiClient(configuration) as api_client:
102
+ # Create an instance of the API class
103
+ api_instance = ourskyai_astro_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_create_astro_camera**](docs/DefaultApi.md#v1_create_astro_camera) | **POST** /v1/astro-camera |
130
+ *DefaultApi* | [**v1_create_astro_mount**](docs/DefaultApi.md#v1_create_astro_mount) | **POST** /v1/astro-mount |
131
+ *DefaultApi* | [**v1_create_astro_optical_tube**](docs/DefaultApi.md#v1_create_astro_optical_tube) | **POST** /v1/astro-optical-tube |
132
+ *DefaultApi* | [**v1_create_astro_project**](docs/DefaultApi.md#v1_create_astro_project) | **POST** /v1/astro-project |
133
+ *DefaultApi* | [**v1_create_astro_project_image_set**](docs/DefaultApi.md#v1_create_astro_project_image_set) | **POST** /v1/astro-project-image-set |
134
+ *DefaultApi* | [**v1_create_calibration_master**](docs/DefaultApi.md#v1_create_calibration_master) | **POST** /v1/calibration-master |
135
+ *DefaultApi* | [**v1_create_image_set**](docs/DefaultApi.md#v1_create_image_set) | **POST** /v1/image-set |
136
+ *DefaultApi* | [**v1_create_image_set_image**](docs/DefaultApi.md#v1_create_image_set_image) | **POST** /v1/image-set-image |
137
+ *DefaultApi* | [**v1_create_node**](docs/DefaultApi.md#v1_create_node) | **POST** /v1/node |
138
+ *DefaultApi* | [**v1_get_astro_camera**](docs/DefaultApi.md#v1_get_astro_camera) | **GET** /v1/astro-camera |
139
+ *DefaultApi* | [**v1_get_astro_mount**](docs/DefaultApi.md#v1_get_astro_mount) | **GET** /v1/astro-mount |
140
+ *DefaultApi* | [**v1_get_astro_optical_tube**](docs/DefaultApi.md#v1_get_astro_optical_tube) | **GET** /v1/astro-optical-tube |
141
+ *DefaultApi* | [**v1_get_astro_platform_credit_balance**](docs/DefaultApi.md#v1_get_astro_platform_credit_balance) | **GET** /v1/astro-platform-credit-balance |
142
+ *DefaultApi* | [**v1_get_astro_project**](docs/DefaultApi.md#v1_get_astro_project) | **GET** /v1/astro-project |
143
+ *DefaultApi* | [**v1_get_astro_project_assets**](docs/DefaultApi.md#v1_get_astro_project_assets) | **GET** /v1/astro-project-assets |
144
+ *DefaultApi* | [**v1_get_astro_projects**](docs/DefaultApi.md#v1_get_astro_projects) | **GET** /v1/astro-projects |
145
+ *DefaultApi* | [**v1_get_astro_target**](docs/DefaultApi.md#v1_get_astro_target) | **GET** /v1/astro-target |
146
+ *DefaultApi* | [**v1_get_astro_targets**](docs/DefaultApi.md#v1_get_astro_targets) | **GET** /v1/astro-targets |
147
+ *DefaultApi* | [**v1_get_calibration_masters**](docs/DefaultApi.md#v1_get_calibration_masters) | **GET** /v1/calibration-masters |
148
+ *DefaultApi* | [**v1_get_cameras**](docs/DefaultApi.md#v1_get_cameras) | **GET** /v1/cameras |
149
+ *DefaultApi* | [**v1_get_image_set**](docs/DefaultApi.md#v1_get_image_set) | **GET** /v1/image-set |
150
+ *DefaultApi* | [**v1_get_image_set_image**](docs/DefaultApi.md#v1_get_image_set_image) | **GET** /v1/image-set-image |
151
+ *DefaultApi* | [**v1_get_image_set_images**](docs/DefaultApi.md#v1_get_image_set_images) | **GET** /v1/image-set-images |
152
+ *DefaultApi* | [**v1_get_image_sets**](docs/DefaultApi.md#v1_get_image_sets) | **GET** /v1/image-sets |
153
+ *DefaultApi* | [**v1_get_job_logs**](docs/DefaultApi.md#v1_get_job_logs) | **GET** /v1/job-logs |
154
+ *DefaultApi* | [**v1_get_mounts**](docs/DefaultApi.md#v1_get_mounts) | **GET** /v1/mounts |
155
+ *DefaultApi* | [**v1_get_nodes**](docs/DefaultApi.md#v1_get_nodes) | **GET** /v1/nodes |
156
+ *DefaultApi* | [**v1_get_platform_credits**](docs/DefaultApi.md#v1_get_platform_credits) | **GET** /v1/platform-credits |
157
+ *DefaultApi* | [**v1_match_astro_project**](docs/DefaultApi.md#v1_match_astro_project) | **GET** /v1/astro-project-match |
158
+ *DefaultApi* | [**v1_mount_match**](docs/DefaultApi.md#v1_mount_match) | **GET** /v1/mount-match |
159
+ *DefaultApi* | [**v1_optical_tube_match**](docs/DefaultApi.md#v1_optical_tube_match) | **GET** /v1/optical-tube-match |
160
+ *DefaultApi* | [**v1_put_stack_astro_project**](docs/DefaultApi.md#v1_put_stack_astro_project) | **PUT** /v1/stack-astro-project |
161
+ *DefaultApi* | [**v1_update_node**](docs/DefaultApi.md#v1_update_node) | **PUT** /v1/node |
162
+
163
+
164
+ ## Documentation For Models
165
+
166
+ - [AssetFileType](docs/AssetFileType.md)
167
+ - [AssetType](docs/AssetType.md)
168
+ - [CalibrationMasterType](docs/CalibrationMasterType.md)
169
+ - [EmptySuccess](docs/EmptySuccess.md)
170
+ - [FilterType](docs/FilterType.md)
171
+ - [Location](docs/Location.md)
172
+ - [MountType](docs/MountType.md)
173
+ - [NodeState](docs/NodeState.md)
174
+ - [OpticalTubeType](docs/OpticalTubeType.md)
175
+ - [ShutterType](docs/ShutterType.md)
176
+ - [SuccessfulCreate](docs/SuccessfulCreate.md)
177
+ - [TrackingType](docs/TrackingType.md)
178
+ - [V1AstroProject](docs/V1AstroProject.md)
179
+ - [V1AstroProjectAsset](docs/V1AstroProjectAsset.md)
180
+ - [V1AstroProjectAssetMetadata](docs/V1AstroProjectAssetMetadata.md)
181
+ - [V1AstroProjectAssetMetadataColorCombination](docs/V1AstroProjectAssetMetadataColorCombination.md)
182
+ - [V1AstroTarget](docs/V1AstroTarget.md)
183
+ - [V1CalibrationMaster](docs/V1CalibrationMaster.md)
184
+ - [V1Camera](docs/V1Camera.md)
185
+ - [V1CreateAstroProjectImageSetRequest](docs/V1CreateAstroProjectImageSetRequest.md)
186
+ - [V1CreateAstroProjectRequest](docs/V1CreateAstroProjectRequest.md)
187
+ - [V1CreateAstroProjectResponse](docs/V1CreateAstroProjectResponse.md)
188
+ - [V1CreateCalibrationMasterRequest](docs/V1CreateCalibrationMasterRequest.md)
189
+ - [V1CreateCalibrationMasterResponse](docs/V1CreateCalibrationMasterResponse.md)
190
+ - [V1CreateCameraRequest](docs/V1CreateCameraRequest.md)
191
+ - [V1CreateImageSetImageRequest](docs/V1CreateImageSetImageRequest.md)
192
+ - [V1CreateImageSetImageResponse](docs/V1CreateImageSetImageResponse.md)
193
+ - [V1CreateImageSetRequest](docs/V1CreateImageSetRequest.md)
194
+ - [V1CreateMountRequest](docs/V1CreateMountRequest.md)
195
+ - [V1CreateNodeRequest](docs/V1CreateNodeRequest.md)
196
+ - [V1CreateOpticalTubeRequest](docs/V1CreateOpticalTubeRequest.md)
197
+ - [V1GainCurve](docs/V1GainCurve.md)
198
+ - [V1GainCurvePoint](docs/V1GainCurvePoint.md)
199
+ - [V1GetAstroPlatformCreditBalanceResponse](docs/V1GetAstroPlatformCreditBalanceResponse.md)
200
+ - [V1GetNodes](docs/V1GetNodes.md)
201
+ - [V1ImageSet](docs/V1ImageSet.md)
202
+ - [V1ImageSetImage](docs/V1ImageSetImage.md)
203
+ - [V1JobKind](docs/V1JobKind.md)
204
+ - [V1JobLog](docs/V1JobLog.md)
205
+ - [V1JobStatus](docs/V1JobStatus.md)
206
+ - [V1Mount](docs/V1Mount.md)
207
+ - [V1Node](docs/V1Node.md)
208
+ - [V1NodeWithLocation](docs/V1NodeWithLocation.md)
209
+ - [V1OpticalTube](docs/V1OpticalTube.md)
210
+ - [V1PlatformCredit](docs/V1PlatformCredit.md)
211
+ - [V1PlatformCreditSource](docs/V1PlatformCreditSource.md)
212
+ - [V1PlatformCreditType](docs/V1PlatformCreditType.md)
213
+ - [V1PlatformCreditUnit](docs/V1PlatformCreditUnit.md)
214
+ - [V1PutStackAstroProjectRequest](docs/V1PutStackAstroProjectRequest.md)
215
+ - [V1ReadNoisePoint](docs/V1ReadNoisePoint.md)
216
+ - [V1SetupAction](docs/V1SetupAction.md)
217
+ - [V1UpdateNodeRequest](docs/V1UpdateNodeRequest.md)
218
+
219
+
220
+ <a id="documentation-for-authorization"></a>
221
+ ## Documentation For Authorization
222
+
223
+
224
+ Authentication schemes defined for the API:
225
+ <a id="BearerToken"></a>
226
+ ### BearerToken
227
+
228
+ - **Type**: Bearer authentication
229
+
230
+ <a id="Roles"></a>
231
+ ### Roles
232
+
233
+
234
+
235
+ ## Author
236
+
237
+
238
+
239
+
240
+
@@ -0,0 +1,214 @@
1
+ # ourskyai-astro-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_astro_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_astro_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_astro_api
55
+ from ourskyai_astro_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_astro_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_astro_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_astro_api.ApiClient(configuration) as api_client:
77
+ # Create an instance of the API class
78
+ api_instance = ourskyai_astro_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_create_astro_camera**](docs/DefaultApi.md#v1_create_astro_camera) | **POST** /v1/astro-camera |
105
+ *DefaultApi* | [**v1_create_astro_mount**](docs/DefaultApi.md#v1_create_astro_mount) | **POST** /v1/astro-mount |
106
+ *DefaultApi* | [**v1_create_astro_optical_tube**](docs/DefaultApi.md#v1_create_astro_optical_tube) | **POST** /v1/astro-optical-tube |
107
+ *DefaultApi* | [**v1_create_astro_project**](docs/DefaultApi.md#v1_create_astro_project) | **POST** /v1/astro-project |
108
+ *DefaultApi* | [**v1_create_astro_project_image_set**](docs/DefaultApi.md#v1_create_astro_project_image_set) | **POST** /v1/astro-project-image-set |
109
+ *DefaultApi* | [**v1_create_calibration_master**](docs/DefaultApi.md#v1_create_calibration_master) | **POST** /v1/calibration-master |
110
+ *DefaultApi* | [**v1_create_image_set**](docs/DefaultApi.md#v1_create_image_set) | **POST** /v1/image-set |
111
+ *DefaultApi* | [**v1_create_image_set_image**](docs/DefaultApi.md#v1_create_image_set_image) | **POST** /v1/image-set-image |
112
+ *DefaultApi* | [**v1_create_node**](docs/DefaultApi.md#v1_create_node) | **POST** /v1/node |
113
+ *DefaultApi* | [**v1_get_astro_camera**](docs/DefaultApi.md#v1_get_astro_camera) | **GET** /v1/astro-camera |
114
+ *DefaultApi* | [**v1_get_astro_mount**](docs/DefaultApi.md#v1_get_astro_mount) | **GET** /v1/astro-mount |
115
+ *DefaultApi* | [**v1_get_astro_optical_tube**](docs/DefaultApi.md#v1_get_astro_optical_tube) | **GET** /v1/astro-optical-tube |
116
+ *DefaultApi* | [**v1_get_astro_platform_credit_balance**](docs/DefaultApi.md#v1_get_astro_platform_credit_balance) | **GET** /v1/astro-platform-credit-balance |
117
+ *DefaultApi* | [**v1_get_astro_project**](docs/DefaultApi.md#v1_get_astro_project) | **GET** /v1/astro-project |
118
+ *DefaultApi* | [**v1_get_astro_project_assets**](docs/DefaultApi.md#v1_get_astro_project_assets) | **GET** /v1/astro-project-assets |
119
+ *DefaultApi* | [**v1_get_astro_projects**](docs/DefaultApi.md#v1_get_astro_projects) | **GET** /v1/astro-projects |
120
+ *DefaultApi* | [**v1_get_astro_target**](docs/DefaultApi.md#v1_get_astro_target) | **GET** /v1/astro-target |
121
+ *DefaultApi* | [**v1_get_astro_targets**](docs/DefaultApi.md#v1_get_astro_targets) | **GET** /v1/astro-targets |
122
+ *DefaultApi* | [**v1_get_calibration_masters**](docs/DefaultApi.md#v1_get_calibration_masters) | **GET** /v1/calibration-masters |
123
+ *DefaultApi* | [**v1_get_cameras**](docs/DefaultApi.md#v1_get_cameras) | **GET** /v1/cameras |
124
+ *DefaultApi* | [**v1_get_image_set**](docs/DefaultApi.md#v1_get_image_set) | **GET** /v1/image-set |
125
+ *DefaultApi* | [**v1_get_image_set_image**](docs/DefaultApi.md#v1_get_image_set_image) | **GET** /v1/image-set-image |
126
+ *DefaultApi* | [**v1_get_image_set_images**](docs/DefaultApi.md#v1_get_image_set_images) | **GET** /v1/image-set-images |
127
+ *DefaultApi* | [**v1_get_image_sets**](docs/DefaultApi.md#v1_get_image_sets) | **GET** /v1/image-sets |
128
+ *DefaultApi* | [**v1_get_job_logs**](docs/DefaultApi.md#v1_get_job_logs) | **GET** /v1/job-logs |
129
+ *DefaultApi* | [**v1_get_mounts**](docs/DefaultApi.md#v1_get_mounts) | **GET** /v1/mounts |
130
+ *DefaultApi* | [**v1_get_nodes**](docs/DefaultApi.md#v1_get_nodes) | **GET** /v1/nodes |
131
+ *DefaultApi* | [**v1_get_platform_credits**](docs/DefaultApi.md#v1_get_platform_credits) | **GET** /v1/platform-credits |
132
+ *DefaultApi* | [**v1_match_astro_project**](docs/DefaultApi.md#v1_match_astro_project) | **GET** /v1/astro-project-match |
133
+ *DefaultApi* | [**v1_mount_match**](docs/DefaultApi.md#v1_mount_match) | **GET** /v1/mount-match |
134
+ *DefaultApi* | [**v1_optical_tube_match**](docs/DefaultApi.md#v1_optical_tube_match) | **GET** /v1/optical-tube-match |
135
+ *DefaultApi* | [**v1_put_stack_astro_project**](docs/DefaultApi.md#v1_put_stack_astro_project) | **PUT** /v1/stack-astro-project |
136
+ *DefaultApi* | [**v1_update_node**](docs/DefaultApi.md#v1_update_node) | **PUT** /v1/node |
137
+
138
+
139
+ ## Documentation For Models
140
+
141
+ - [AssetFileType](docs/AssetFileType.md)
142
+ - [AssetType](docs/AssetType.md)
143
+ - [CalibrationMasterType](docs/CalibrationMasterType.md)
144
+ - [EmptySuccess](docs/EmptySuccess.md)
145
+ - [FilterType](docs/FilterType.md)
146
+ - [Location](docs/Location.md)
147
+ - [MountType](docs/MountType.md)
148
+ - [NodeState](docs/NodeState.md)
149
+ - [OpticalTubeType](docs/OpticalTubeType.md)
150
+ - [ShutterType](docs/ShutterType.md)
151
+ - [SuccessfulCreate](docs/SuccessfulCreate.md)
152
+ - [TrackingType](docs/TrackingType.md)
153
+ - [V1AstroProject](docs/V1AstroProject.md)
154
+ - [V1AstroProjectAsset](docs/V1AstroProjectAsset.md)
155
+ - [V1AstroProjectAssetMetadata](docs/V1AstroProjectAssetMetadata.md)
156
+ - [V1AstroProjectAssetMetadataColorCombination](docs/V1AstroProjectAssetMetadataColorCombination.md)
157
+ - [V1AstroTarget](docs/V1AstroTarget.md)
158
+ - [V1CalibrationMaster](docs/V1CalibrationMaster.md)
159
+ - [V1Camera](docs/V1Camera.md)
160
+ - [V1CreateAstroProjectImageSetRequest](docs/V1CreateAstroProjectImageSetRequest.md)
161
+ - [V1CreateAstroProjectRequest](docs/V1CreateAstroProjectRequest.md)
162
+ - [V1CreateAstroProjectResponse](docs/V1CreateAstroProjectResponse.md)
163
+ - [V1CreateCalibrationMasterRequest](docs/V1CreateCalibrationMasterRequest.md)
164
+ - [V1CreateCalibrationMasterResponse](docs/V1CreateCalibrationMasterResponse.md)
165
+ - [V1CreateCameraRequest](docs/V1CreateCameraRequest.md)
166
+ - [V1CreateImageSetImageRequest](docs/V1CreateImageSetImageRequest.md)
167
+ - [V1CreateImageSetImageResponse](docs/V1CreateImageSetImageResponse.md)
168
+ - [V1CreateImageSetRequest](docs/V1CreateImageSetRequest.md)
169
+ - [V1CreateMountRequest](docs/V1CreateMountRequest.md)
170
+ - [V1CreateNodeRequest](docs/V1CreateNodeRequest.md)
171
+ - [V1CreateOpticalTubeRequest](docs/V1CreateOpticalTubeRequest.md)
172
+ - [V1GainCurve](docs/V1GainCurve.md)
173
+ - [V1GainCurvePoint](docs/V1GainCurvePoint.md)
174
+ - [V1GetAstroPlatformCreditBalanceResponse](docs/V1GetAstroPlatformCreditBalanceResponse.md)
175
+ - [V1GetNodes](docs/V1GetNodes.md)
176
+ - [V1ImageSet](docs/V1ImageSet.md)
177
+ - [V1ImageSetImage](docs/V1ImageSetImage.md)
178
+ - [V1JobKind](docs/V1JobKind.md)
179
+ - [V1JobLog](docs/V1JobLog.md)
180
+ - [V1JobStatus](docs/V1JobStatus.md)
181
+ - [V1Mount](docs/V1Mount.md)
182
+ - [V1Node](docs/V1Node.md)
183
+ - [V1NodeWithLocation](docs/V1NodeWithLocation.md)
184
+ - [V1OpticalTube](docs/V1OpticalTube.md)
185
+ - [V1PlatformCredit](docs/V1PlatformCredit.md)
186
+ - [V1PlatformCreditSource](docs/V1PlatformCreditSource.md)
187
+ - [V1PlatformCreditType](docs/V1PlatformCreditType.md)
188
+ - [V1PlatformCreditUnit](docs/V1PlatformCreditUnit.md)
189
+ - [V1PutStackAstroProjectRequest](docs/V1PutStackAstroProjectRequest.md)
190
+ - [V1ReadNoisePoint](docs/V1ReadNoisePoint.md)
191
+ - [V1SetupAction](docs/V1SetupAction.md)
192
+ - [V1UpdateNodeRequest](docs/V1UpdateNodeRequest.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
+
@@ -0,0 +1,85 @@
1
+ # coding: utf-8
2
+
3
+ # flake8: noqa
4
+
5
+ """
6
+ OurSky Astro
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_astro_api.api.default_api import DefaultApi
21
+
22
+ # import ApiClient
23
+ from ourskyai_astro_api.api_response import ApiResponse
24
+ from ourskyai_astro_api.api_client import ApiClient
25
+ from ourskyai_astro_api.configuration import Configuration
26
+ from ourskyai_astro_api.exceptions import OpenApiException
27
+ from ourskyai_astro_api.exceptions import ApiTypeError
28
+ from ourskyai_astro_api.exceptions import ApiValueError
29
+ from ourskyai_astro_api.exceptions import ApiKeyError
30
+ from ourskyai_astro_api.exceptions import ApiAttributeError
31
+ from ourskyai_astro_api.exceptions import ApiException
32
+
33
+ # import models into sdk package
34
+ from ourskyai_astro_api.models.asset_file_type import AssetFileType
35
+ from ourskyai_astro_api.models.asset_type import AssetType
36
+ from ourskyai_astro_api.models.calibration_master_type import CalibrationMasterType
37
+ from ourskyai_astro_api.models.empty_success import EmptySuccess
38
+ from ourskyai_astro_api.models.filter_type import FilterType
39
+ from ourskyai_astro_api.models.location import Location
40
+ from ourskyai_astro_api.models.mount_type import MountType
41
+ from ourskyai_astro_api.models.node_state import NodeState
42
+ from ourskyai_astro_api.models.optical_tube_type import OpticalTubeType
43
+ from ourskyai_astro_api.models.shutter_type import ShutterType
44
+ from ourskyai_astro_api.models.successful_create import SuccessfulCreate
45
+ from ourskyai_astro_api.models.tracking_type import TrackingType
46
+ from ourskyai_astro_api.models.v1_astro_project import V1AstroProject
47
+ from ourskyai_astro_api.models.v1_astro_project_asset import V1AstroProjectAsset
48
+ from ourskyai_astro_api.models.v1_astro_project_asset_metadata import V1AstroProjectAssetMetadata
49
+ from ourskyai_astro_api.models.v1_astro_project_asset_metadata_color_combination import V1AstroProjectAssetMetadataColorCombination
50
+ from ourskyai_astro_api.models.v1_astro_target import V1AstroTarget
51
+ from ourskyai_astro_api.models.v1_calibration_master import V1CalibrationMaster
52
+ from ourskyai_astro_api.models.v1_camera import V1Camera
53
+ from ourskyai_astro_api.models.v1_create_astro_project_image_set_request import V1CreateAstroProjectImageSetRequest
54
+ from ourskyai_astro_api.models.v1_create_astro_project_request import V1CreateAstroProjectRequest
55
+ from ourskyai_astro_api.models.v1_create_astro_project_response import V1CreateAstroProjectResponse
56
+ from ourskyai_astro_api.models.v1_create_calibration_master_request import V1CreateCalibrationMasterRequest
57
+ from ourskyai_astro_api.models.v1_create_calibration_master_response import V1CreateCalibrationMasterResponse
58
+ from ourskyai_astro_api.models.v1_create_camera_request import V1CreateCameraRequest
59
+ from ourskyai_astro_api.models.v1_create_image_set_image_request import V1CreateImageSetImageRequest
60
+ from ourskyai_astro_api.models.v1_create_image_set_image_response import V1CreateImageSetImageResponse
61
+ from ourskyai_astro_api.models.v1_create_image_set_request import V1CreateImageSetRequest
62
+ from ourskyai_astro_api.models.v1_create_mount_request import V1CreateMountRequest
63
+ from ourskyai_astro_api.models.v1_create_node_request import V1CreateNodeRequest
64
+ from ourskyai_astro_api.models.v1_create_optical_tube_request import V1CreateOpticalTubeRequest
65
+ from ourskyai_astro_api.models.v1_gain_curve import V1GainCurve
66
+ from ourskyai_astro_api.models.v1_gain_curve_point import V1GainCurvePoint
67
+ from ourskyai_astro_api.models.v1_get_astro_platform_credit_balance_response import V1GetAstroPlatformCreditBalanceResponse
68
+ from ourskyai_astro_api.models.v1_get_nodes import V1GetNodes
69
+ from ourskyai_astro_api.models.v1_image_set import V1ImageSet
70
+ from ourskyai_astro_api.models.v1_image_set_image import V1ImageSetImage
71
+ from ourskyai_astro_api.models.v1_job_kind import V1JobKind
72
+ from ourskyai_astro_api.models.v1_job_log import V1JobLog
73
+ from ourskyai_astro_api.models.v1_job_status import V1JobStatus
74
+ from ourskyai_astro_api.models.v1_mount import V1Mount
75
+ from ourskyai_astro_api.models.v1_node import V1Node
76
+ from ourskyai_astro_api.models.v1_node_with_location import V1NodeWithLocation
77
+ from ourskyai_astro_api.models.v1_optical_tube import V1OpticalTube
78
+ from ourskyai_astro_api.models.v1_platform_credit import V1PlatformCredit
79
+ from ourskyai_astro_api.models.v1_platform_credit_source import V1PlatformCreditSource
80
+ from ourskyai_astro_api.models.v1_platform_credit_type import V1PlatformCreditType
81
+ from ourskyai_astro_api.models.v1_platform_credit_unit import V1PlatformCreditUnit
82
+ from ourskyai_astro_api.models.v1_put_stack_astro_project_request import V1PutStackAstroProjectRequest
83
+ from ourskyai_astro_api.models.v1_read_noise_point import V1ReadNoisePoint
84
+ from ourskyai_astro_api.models.v1_setup_action import V1SetupAction
85
+ from ourskyai_astro_api.models.v1_update_node_request import V1UpdateNodeRequest
@@ -0,0 +1,5 @@
1
+ # flake8: noqa
2
+
3
+ # import apis into api package
4
+ from ourskyai_astro_api.api.default_api import DefaultApi
5
+