# ourskyai-astro-api
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
- API version: 1.3.5667
- Package version: 1.3.5667
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
## Requirements.
Python 3.7+
## Installation & Usage
### pip install
```sh
pip install ourskyai_astro_api
```
(you may need to run `pip` with root permission: `sudo pip install ourskyai_astro_api`)
### Poetry install
If you manage dependencies with [poetry](https://python-poetry.org/) then you can add the SDK with:
```sh
poetry add ourskyai_astro_api
```
### Import the package
Then import the package:
```python
import ourskyai_astro_api
```
## Getting Started
Please follow the [installation procedure](#installation--usage) and then run the following:
```python
import os
import ourskyai_astro_api
from ourskyai_astro_api.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://api.prod.oursky.ai
# See configuration.py for a list of all supported configuration parameters.
configuration = ourskyai_astro_api.Configuration(
host = "https://api.prod.oursky.ai"
)
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# Configure Bearer authorization: BearerToken
configuration = ourskyai_astro_api.Configuration(
access_token = os.environ["BEARER_TOKEN"]
)
# Enter a context with an instance of the API client
with ourskyai_astro_api.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = ourskyai_astro_api.DefaultApi(api_client)
model = 'model_example' # str | (optional)
pixel_size_microns = 3.4 # float | (optional)
pixels_x = 56 # int | (optional)
pixels_y = 56 # int | (optional)
megapixels = 3.4 # float | (optional)
chilled = True # bool | (optional)
adc_bit_depth = 56 # int | (optional)
is_color = True # bool | (optional)
try:
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)
print("The response of DefaultApi->v1_camera_match:\n")
pprint(api_response)
except ApiException as e:
print("Exception when calling DefaultApi->v1_camera_match: %s\n" % e)
```
## Documentation for API Endpoints
All URIs are relative to *https://api.prod.oursky.ai/docs/astro*
<a id="documentation-for-authorization"></a>
## Documentation For Authorization
Authentication schemes defined for the API:
<a id="BearerToken"></a>
### BearerToken
- **Type**: Bearer authentication
<a id="Roles"></a>
### Roles
## Author
Raw data
{
"_id": null,
"home_page": "https://github.com/GIT_USER_ID/GIT_REPO_ID",
"name": "ourskyai_astro_api",
"maintainer": null,
"docs_url": null,
"requires_python": "<4.0,>=3.7",
"maintainer_email": null,
"keywords": "OpenAPI, OpenAPI-Generator, OurSky Astro",
"author": "OpenAPI Generator Community",
"author_email": "team@openapitools.org",
"download_url": "https://files.pythonhosted.org/packages/d4/f6/981a881e446fa809d1e60bc7df52f53dee2f6de6726d9eb788c966e1ffa7/ourskyai_astro_api-1.3.5667.tar.gz",
"platform": null,
"description": "# ourskyai-astro-api\nNo description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)\n\nThis Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:\n\n- API version: 1.3.5667\n- Package version: 1.3.5667\n- Build package: org.openapitools.codegen.languages.PythonClientCodegen\n\n## Requirements.\n\nPython 3.7+\n\n## Installation & Usage\n### pip install\n\n```sh\npip install ourskyai_astro_api\n```\n(you may need to run `pip` with root permission: `sudo pip install ourskyai_astro_api`)\n\n### Poetry install\nIf you manage dependencies with [poetry](https://python-poetry.org/) then you can add the SDK with:\n\n```sh\npoetry add ourskyai_astro_api\n```\n\n### Import the package\n\nThen import the package:\n```python\nimport ourskyai_astro_api\n```\n\n## Getting Started\n\nPlease follow the [installation procedure](#installation--usage) and then run the following:\n\n```python\n\nimport os\nimport ourskyai_astro_api\nfrom ourskyai_astro_api.rest import ApiException\nfrom pprint import pprint\n\n# Defining the host is optional and defaults to https://api.prod.oursky.ai\n# See configuration.py for a list of all supported configuration parameters.\nconfiguration = ourskyai_astro_api.Configuration(\n host = \"https://api.prod.oursky.ai\"\n)\n\n# The client must configure the authentication and authorization parameters\n# in accordance with the API server security policy.\n# Examples for each auth method are provided below, use the example that\n# satisfies your auth use case.\n\n# Configure Bearer authorization: BearerToken\nconfiguration = ourskyai_astro_api.Configuration(\n access_token = os.environ[\"BEARER_TOKEN\"]\n)\n\n\n# Enter a context with an instance of the API client\nwith ourskyai_astro_api.ApiClient(configuration) as api_client:\n # Create an instance of the API class\n api_instance = ourskyai_astro_api.DefaultApi(api_client)\n model = 'model_example' # str | (optional)\n pixel_size_microns = 3.4 # float | (optional)\n pixels_x = 56 # int | (optional)\n pixels_y = 56 # int | (optional)\n megapixels = 3.4 # float | (optional)\n chilled = True # bool | (optional)\n adc_bit_depth = 56 # int | (optional)\n is_color = True # bool | (optional)\n\n try:\n 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)\n print(\"The response of DefaultApi->v1_camera_match:\\n\")\n pprint(api_response)\n except ApiException as e:\n print(\"Exception when calling DefaultApi->v1_camera_match: %s\\n\" % e)\n\n```\n\n## Documentation for API Endpoints\n\nAll URIs are relative to *https://api.prod.oursky.ai/docs/astro*\n\n<a id=\"documentation-for-authorization\"></a>\n## Documentation For Authorization\n\n\nAuthentication schemes defined for the API:\n<a id=\"BearerToken\"></a>\n### BearerToken\n\n- **Type**: Bearer authentication\n\n<a id=\"Roles\"></a>\n### Roles\n\n\n\n## Author\n\n\n",
"bugtrack_url": null,
"license": "NoLicense",
"summary": "OurSky Astro",
"version": "1.3.5667",
"project_urls": {
"Homepage": "https://github.com/GIT_USER_ID/GIT_REPO_ID",
"Repository": "https://github.com/GIT_USER_ID/GIT_REPO_ID"
},
"split_keywords": [
"openapi",
" openapi-generator",
" oursky astro"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "4a8216e87e75de00bcfb8d9563ff679b1dde5709a8fb10216b8d9ffdc10ae6db",
"md5": "7240a0872732d8345b9b071a5d3fc55a",
"sha256": "20547e9587aad626cd0f9e59ca97b202ee1a6bcb4e7ce566d8046427de5c4c1c"
},
"downloads": -1,
"filename": "ourskyai_astro_api-1.3.5667-py3-none-any.whl",
"has_sig": false,
"md5_digest": "7240a0872732d8345b9b071a5d3fc55a",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<4.0,>=3.7",
"size": 113561,
"upload_time": "2024-12-15T01:00:49",
"upload_time_iso_8601": "2024-12-15T01:00:49.872113Z",
"url": "https://files.pythonhosted.org/packages/4a/82/16e87e75de00bcfb8d9563ff679b1dde5709a8fb10216b8d9ffdc10ae6db/ourskyai_astro_api-1.3.5667-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "d4f6981a881e446fa809d1e60bc7df52f53dee2f6de6726d9eb788c966e1ffa7",
"md5": "9a0a5710f5721b82a5625f0ed783596e",
"sha256": "6c1069a4e28b182439f957523e89de8ebb71118738fcc16fe8d459971450917a"
},
"downloads": -1,
"filename": "ourskyai_astro_api-1.3.5667.tar.gz",
"has_sig": false,
"md5_digest": "9a0a5710f5721b82a5625f0ed783596e",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<4.0,>=3.7",
"size": 47989,
"upload_time": "2024-12-15T01:00:54",
"upload_time_iso_8601": "2024-12-15T01:00:54.316350Z",
"url": "https://files.pythonhosted.org/packages/d4/f6/981a881e446fa809d1e60bc7df52f53dee2f6de6726d9eb788c966e1ffa7/ourskyai_astro_api-1.3.5667.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-12-15 01:00:54",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "GIT_USER_ID",
"github_project": "GIT_REPO_ID",
"github_not_found": true,
"lcname": "ourskyai_astro_api"
}