# ourskyai-sda-api
The basic flow for a new organization is as follows:
1. View the available satellite targets with the [satellite targets](#tag/satellite-targets/GET/v1/satellite-targets) endpoint. Copy the id of the target you want to observe.
2. Create an organization target with the [organization target](#tag/organization-targets/GET/v1/organization-targets) endpoint. Use the id copied from above.
3. Create a webhook with the [webhook](#tag/webhooks/POST/v1/communications/webhook) endpoint to receive OSRs automatically (preferred) or use the [OSRs](#tag/observation-sequence-results/GET/v1/observation-sequence-results) endpoint to poll for OSRs.
Check out our [examples](https://github.com/ourskyai/oursky-examples) repository to see usage in each language.
This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
- API version: 1.3.8106
- Package version: 1.3.8106
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
## Requirements.
Python 3.7+
## Installation & Usage
### pip install
```sh
pip install ourskyai_sda_api
```
(you may need to run `pip` with root permission: `sudo pip install ourskyai_sda_api`)
### Poetry install
If you manage dependencies with [poetry](https://python-poetry.org/) then you can add the SDK with:
```sh
poetry add ourskyai_sda_api
```
### Import the package
Then import the package:
```python
import ourskyai_sda_api
```
## Getting Started
Please follow the [installation procedure](#installation--usage) and then run the following:
```python
import os
import ourskyai_sda_api
from ourskyai_sda_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_sda_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_sda_api.Configuration(
access_token = os.environ["BEARER_TOKEN"]
)
# Enter a context with an instance of the API client
with ourskyai_sda_api.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = ourskyai_sda_api.DefaultApi(api_client)
after = '2013-10-20T19:20:30+01:00' # datetime | The timestamp to get the next page of results. Defaults to the 1 day prior to the current UTC time. (optional)
try:
# Get uncorrelated tracks collected by the network.
api_response = api_instance.get_uncorrelated_tracks(after=after)
print("The response of DefaultApi->get_uncorrelated_tracks:\n")
pprint(api_response)
except ApiException as e:
print("Exception when calling DefaultApi->get_uncorrelated_tracks: %s\n" % e)
```
## Documentation for API Endpoints
All URIs are relative to *https://api.prod.oursky.ai/docs/sda*
<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_sda_api",
"maintainer": null,
"docs_url": null,
"requires_python": "<4.0,>=3.7",
"maintainer_email": null,
"keywords": "OpenAPI, OpenAPI-Generator, OurSky SDA",
"author": "OpenAPI Generator Community",
"author_email": "team@openapitools.org",
"download_url": "https://files.pythonhosted.org/packages/8a/da/e0dbb22e5aec0353234b7fcf186ad135f4138c2de8d0f6213536eedf9f04/ourskyai_sda_api-1.3.8106.tar.gz",
"platform": null,
"description": "# ourskyai-sda-api\nThe basic flow for a new organization is as follows:\n1. View the available satellite targets with the [satellite targets](#tag/satellite-targets/GET/v1/satellite-targets) endpoint. Copy the id of the target you want to observe.\n2. Create an organization target with the [organization target](#tag/organization-targets/GET/v1/organization-targets) endpoint. Use the id copied from above.\n3. Create a webhook with the [webhook](#tag/webhooks/POST/v1/communications/webhook) endpoint to receive OSRs automatically (preferred) or use the [OSRs](#tag/observation-sequence-results/GET/v1/observation-sequence-results) endpoint to poll for OSRs.\n\nCheck out our [examples](https://github.com/ourskyai/oursky-examples) repository to see usage in each language.\n\nThis Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:\n\n- API version: 1.3.8106\n- Package version: 1.3.8106\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_sda_api\n```\n(you may need to run `pip` with root permission: `sudo pip install ourskyai_sda_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_sda_api\n```\n\n### Import the package\n\nThen import the package:\n```python\nimport ourskyai_sda_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_sda_api\nfrom ourskyai_sda_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_sda_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_sda_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_sda_api.ApiClient(configuration) as api_client:\n # Create an instance of the API class\n api_instance = ourskyai_sda_api.DefaultApi(api_client)\n after = '2013-10-20T19:20:30+01:00' # datetime | The timestamp to get the next page of results. Defaults to the 1 day prior to the current UTC time. (optional)\n\n try:\n # Get uncorrelated tracks collected by the network.\n api_response = api_instance.get_uncorrelated_tracks(after=after)\n print(\"The response of DefaultApi->get_uncorrelated_tracks:\\n\")\n pprint(api_response)\n except ApiException as e:\n print(\"Exception when calling DefaultApi->get_uncorrelated_tracks: %s\\n\" % e)\n\n```\n\n## Documentation for API Endpoints\n\nAll URIs are relative to *https://api.prod.oursky.ai/docs/sda*\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 SDA",
"version": "1.3.8106",
"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 sda"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "51d8ba18f4a550cc56250560e1d98653bd5c0d0cb4202bda05b50552bedb146c",
"md5": "e66d182eec9f8aa5215bd6409dc5cf81",
"sha256": "e83abf7a908add580ca95ea19cdf406b3b5fa6ddc763bf9d3d153ff20b95c690"
},
"downloads": -1,
"filename": "ourskyai_sda_api-1.3.8106-py3-none-any.whl",
"has_sig": false,
"md5_digest": "e66d182eec9f8aa5215bd6409dc5cf81",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<4.0,>=3.7",
"size": 145319,
"upload_time": "2025-09-12T05:01:28",
"upload_time_iso_8601": "2025-09-12T05:01:28.394188Z",
"url": "https://files.pythonhosted.org/packages/51/d8/ba18f4a550cc56250560e1d98653bd5c0d0cb4202bda05b50552bedb146c/ourskyai_sda_api-1.3.8106-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "8adae0dbb22e5aec0353234b7fcf186ad135f4138c2de8d0f6213536eedf9f04",
"md5": "f7c5ba029ddbb767ae9e4c65cdb0bbc2",
"sha256": "958de9641bc5d59f8673fa9d138498588326d369e83351c04a59f30c24dd3402"
},
"downloads": -1,
"filename": "ourskyai_sda_api-1.3.8106.tar.gz",
"has_sig": false,
"md5_digest": "f7c5ba029ddbb767ae9e4c65cdb0bbc2",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<4.0,>=3.7",
"size": 73930,
"upload_time": "2025-09-12T05:01:29",
"upload_time_iso_8601": "2025-09-12T05:01:29.624008Z",
"url": "https://files.pythonhosted.org/packages/8a/da/e0dbb22e5aec0353234b7fcf186ad135f4138c2de8d0f6213536eedf9f04/ourskyai_sda_api-1.3.8106.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-09-12 05:01:29",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "GIT_USER_ID",
"github_project": "GIT_REPO_ID",
"github_not_found": true,
"lcname": "ourskyai_sda_api"
}