Package: ourskyai_sda_api
ourskyai-sda-apiThe basic flow for a new organization is as follows:View the available satellite targets with thesatellite targetsendpoint. Copy the id of the target you want to observe.Create an organization target with theorganization targetendpoint. Use the id copied from above.Create a webhook with thewebhookendpoint to receive TDMs automatically (preferred) or use thetdmsendpoint to poll for TDMs.This Python package is automatically generated by theOpenAPI Generatorproject:API version: 1.3.2765Package version: 1.3.2765Build package: org.openapitools.codegen.languages.PythonClientCodegenRequirements.Python 3.7+Installation & Usagepip installpipinstallourskyai_sda_api(you may need to runpipwith root permission:sudo pip install ourskyai_sda_api)Poetry installIf you manage dependencies withpoetrythen you can add the SDK with:poetryaddourskyai_sda_apiImport the packageThen import the package:importourskyai_sda_apiGetting StartedPlease follow theinstallation procedureand then run the following:importosimportourskyai_sda_apifromourskyai_sda_api.restimportApiExceptionfrompprintimportpprint# 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: BearerTokenconfiguration=ourskyai_sda_api.Configuration(access_token=os.environ["BEARER_TOKEN"])# Enter a context with an instance of the API clientwithourskyai_sda_api.ApiClient(configuration)asapi_client:# Create an instance of the API classapi_instance=ourskyai_sda_api.DefaultApi(api_client)v1_create_image_set_request=ourskyai_sda_api.V1CreateImageSetRequest()# V1CreateImageSetRequest |try:api_response=api_instance.v1_create_image_set(v1_create_image_set_request)print("The response of DefaultApi->v1_create_image_set:\n")pprint(api_response)exceptApiExceptionase:print("Exception when calling DefaultApi->v1_create_image_set:%s\n"%e)Documentation for API EndpointsAll URIs are relative tohttps://api.prod.oursky.aiClassMethodHTTP requestDescriptionDefaultApiv1_create_image_setPOST/v1/image-setDefaultApiv1_create_image_set_imagePOST/v1/image-set-imageDefaultApiv1_create_organization_targetPOST/v1/organization-targetDefaultApiv1_create_satellite_targetPOST/v1/satellite-targetDefaultApiv1_create_search_taskPOST/v1/search-instructionDefaultApiv1_create_webhook_configurationPOST/v1/communications/webhookDefaultApiv1_delete_image_setDELETE/v1/image-setDefaultApiv1_delete_image_set_imageDELETE/v1/image-set-imageDefaultApiv1_delete_organization_targetDELETE/v1/organization-targetDefaultApiv1_delete_webhook_configurationDELETE/v1/communications/webhookDefaultApiv1_get_image_setGET/v1/image-setDefaultApiv1_get_image_set_imageGET/v1/image-set-imageDefaultApiv1_get_image_set_imagesGET/v1/image-set-imagesDefaultApiv1_get_image_setsGET/v1/image-setsDefaultApiv1_get_node_propertiesGET/v1/node-propertiesDefaultApiv1_get_observation_sequence_resultsGET/v1/observation-sequence-resultsDefaultApiv1_get_organization_targetsGET/v1/organization-targetsDefaultApiv1_get_satellite_potentialsGET/v1/satellite-target-potentialsDefaultApiv1_get_satellite_targetsGET/v1/satellite-targetsDefaultApiv1_get_tdmGET/v1/tdmDefaultApiv1_get_tdmsGET/v1/tdmsDefaultApiv1_get_webhook_configurationsGET/v1/communications/webhooksDefaultApiv1_update_email_configurationPUT/v1/communications/emailDefaultApiv1_update_satellite_targetPUT/v1/satellite-targetDocumentation For ModelsAstrometricOffsetsEmptySuccessFilterTypeLocationMountTypeObservationBoundingBoxObservationFeatureObservationQualityObservationResultOrbitTypeSatelliteTargetTrackingStatusShutterTypeSuccessfulCreateTargetCorrelationTrackingTypeV1CreateImageSetImageRequestV1CreateImageSetImageResponseV1CreateImageSetRequestV1CreateOrganizationTargetRequestV1CreateSatelliteTargetRequestV1CreateSearchTaskRequestV1CreateSearchTaskRequestStepsInnerV1GetSatelliteTargetsResponseV1GroundStationParticipantV1ImageSetV1ImageSetImageV1ObservationSequenceResultV1ObservationSequenceResultImageSetsInnerV1OrganizationTargetV1SatellitePotentialV1SatelliteTargetV1TdmV1UpdateEmailConfigurationRequestV1UpdateSatelliteTargetRequestV1UpdateWebhookConfigurationRequestV1WebhookConfigurationWebhookAuthTypeWebhookEventDocumentation For AuthorizationAuthentication schemes defined for the API:BearerTokenType: Bearer authenticationRolesAuthor