Package: nomad-pilot-cli
nomad-pilot-cliThis is the API descriptor for the Nomad Pilot API, responsible for shipping and logistics processing. Developed bySamarkand Globalin partnership withSF Express,eSinotrans,sto. Read the documentation online atNomad API Suite.Install for node withnpm install nomad_pilot_cliInstall for python withpip install nomad-pilot-cliInstall for Maven usersgroupId, com.gitlab.samarkand-nomad; artifactId, nomad-pilot-cliThis Python package is automatically generated by theOpenAPI Generatorproject:API version: 1.53.0Package version: 1.53.0Build package: org.openapitools.codegen.languages.PythonClientCodegenRequirements.Python 2.7 and 3.4+Installation & Usagepip installIf the python package is hosted on a repository, you can install directly using:pipinstallgit+https://github.com/GIT_USER_ID/GIT_REPO_ID.git(you may need to runpipwith root permission:sudo pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git)Then import the package:importnomad_pilot_cliSetuptoolsInstall viaSetuptools.pythonsetup.pyinstall--user(orsudo python setup.py installto install the package for all users)Then import the package:importnomad_pilot_cliGetting StartedPlease follow theinstallation procedureand then run the following:from__future__importprint_functionimporttimeimportnomad_pilot_clifromnomad_pilot_cli.restimportApiExceptionfrompprintimportpprintconfiguration=nomad_pilot_cli.Configuration()# Configure API key authorization: ca_keyconfiguration.api_key['x-ca-key']='YOUR_API_KEY'# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed# configuration.api_key_prefix['x-ca-key'] = 'Bearer'# Defining host is optional and default to https://nomad.samarkand-global.cn/pilotconfiguration.host="https://nomad.samarkand-global.cn/pilot"# Enter a context with an instance of the API clientwithnomad_pilot_cli.ApiClient(configuration)asapi_client:# Create an instance of the API classapi_instance=nomad_pilot_cli.BatchApi(api_client)carrier='carrier_example'# str | The carrier namebatch_id='batch_id_example'# str | The batch name returned from the create batch methodinline_object=nomad_pilot_cli.InlineObject()# InlineObject |try:# batchapi_response=api_instance.add_parcel(carrier,batch_id,inline_object)pprint(api_response)exceptApiExceptionase:print("Exception when calling BatchApi->add_parcel:%s\n"%e)Documentation for API EndpointsAll URIs are relative tohttps://nomad.samarkand-global.cn/pilotClassMethodHTTP requestDescriptionBatchApiadd_parcelPOST/ship/{carrier}/batch/{batch_id}/add-to-batchbatchBatchApicreate_batchPOST/ship/{carrier}/create-batchbatchBatchApiremove_parcelPOST/ship/{carrier}/batch/{batch_id}/remove-from-batchbatchBatchApiscan_batchPOST/ship/{carrier}/batch/{batch_id}/create-scan-formbatchCallbackApicallbackPOST/callback/{store}callbackCarriersApiquery_carrierGET/carriers/queryCarrierFreightForwardApifreight_forwardPOST/freight-forward/{carrier}freightForwardFreightForwardApiput_freight_forward_productPUT/freight-forward/product/{carrier}freightForwardFreightForwardApiquery_freight_forwardGET/freight-forward/{carrier}queryFreightForwardInventoryApiget_inventory_productGET/inventory/product/{carrier}inventoryInventoryApipost_inventory_productPOST/inventory/product/{carrier}inventoryInventoryApiput_inventory_productPUT/inventory/product/{carrier}inventoryInventoryPurchaseApidelete_inventory_purchaseDELETE/inventory/purchase/{carrier}inventory_purchaseInventoryPurchaseApiget_inventory_purchaseGET/inventory/purchase/{carrier}inventory_purchaseInventoryPurchaseApipost_inventory_purchasePOST/inventory/purchase/{carrier}inventory_purchaseQuickShipApiquick_shipPOST/quick-ship/{carrier}quickShipShipApicancel_shipDELETE/ship/{carrier}/order/{seller_order_ref}cancelShipShipApiput_shipPUT/ship/{carrier}shipShipApiquery_shipGET/ship/{carrier}/order/{seller_order_ref}queryShipShipApishipPOST/ship/{carrier}shipShipConfirmApiship_confirmPOST/ship/{carrier}/confirmshipConfirmDocumentation For ModelsAddressAddressRequiredAddressShipApiResponseApiResponseCallbackApiResponseConnectorResponseApiResponseDataApiResponseGeneralApiResponseInventoryCallbackBodyDeliveryStatusDimensionGoldjetHaikuDeliveryOrderInlineObjectInlineObject1InventoryBaseInventoryProductInventoryPurchaseInventoryPurchaseItemInventoryResponseProductInventoryResponsePurchasePackPackBasedPackagePackageFreightPackageItemPackageItemQuickPackageItemsPackageItemsQuickPackagePutPackagePutRequiredPackageQuickPackageRequiredPackageUpdatePackageUpdateRequiredProductFreightDocumentation For Authorizationca_keyType: API keyAPI key parameter name: x-ca-keyLocation: HTTP headerca_stageType: API keyAPI key parameter name: x-ca-stageLocation: HTTP headerAuthorpaul@samarkand.global