A detailed description of the operation.
This Python package is automatically generated by the OpenAPI Generator project:
- API version: 5.1.0
- Package version: 1.0.0
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
Python >=3.6
If the python package is hosted on a repository, you can install directly using:
pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git
(you may need to run pip
with root permission: sudo pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git
)
Then import the package:
import cdi_sdn_py
Install via Setuptools.
python setup.py install --user
(or sudo python setup.py install
to install the package for all users)
Then import the package:
import cdi_sdn_py
Please follow the installation procedure and then run the following:
import time
import cdi_sdn_py
from pprint import pprint
from cdi_sdn_py.api import info_api
from cdi_sdn_py.model.errors_return import ErrorsReturn
# Defining the host is optional and defaults to https://seadatanet-buffer5.maris.nl/api_v5.1
# See configuration.py for a list of all supported configuration parameters.
configuration = cdi_sdn_py.Configuration(
host = "https://seadatanet-buffer5.maris.nl/api_v5.1"
)
# 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): bearerAuth
configuration = cdi_sdn_py.Configuration(
access_token = 'YOUR_BEARER_TOKEN'
)
# Enter a context with an instance of the API client
with cdi_sdn_py.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = info_api.InfoApi(api_client)
output_type = "html" # str |
try:
# Reference_list
api_instance.reference_list_output_type_get(output_type)
except cdi_sdn_py.ApiException as e:
print("Exception when calling InfoApi->reference_list_output_type_get: %s\n" % e)
All URIs are relative to https://seadatanet-buffer5.maris.nl/api_v5.1
Class | Method | HTTP request | Description |
---|---|---|---|
InfoApi | reference_list_output_type_get | GET /reference_list/{outputType} | Reference_list |
InfoApi | status_get | GET /status | Status |
MetadataApi | metadata_query_post | POST /metadata/query | Make a query and get the metadata back |
OrdersApi | order_download_csv_order_number_restriction_get | GET /order/download/csv/{orderNumber}/{restriction} | Download metadata CSV for this order |
OrdersApi | order_order_number_get | GET /order/{orderNumber} | Find order by Ordernumber |
OrdersApi | order_query_post | POST /order/query | Make an order by query |
OrdersApi | orderlist_get | GET /orderlist | Show all your relevant orders from 30 days or less |
SecurityApi | login_post | POST /login | Normal login |
- ErrorsReturn
- Login
- LoginPost200Response
- MetadataQuery
- MetadataQueryReturn
- MetadataQueryReturnFacetSearchInner
- MetadataQueryReturnFacetSearchInnerFacetField1
- MetadataQueryReturnFacetSearchInnerFacetField1StepsInner
- MetadataQueryReturnResultInner
- MetadataQueryReturnYouSearchForTranslationInner
- MetadataQueryReturnYouSearchForTranslationInnerQueryField1
- MetadataQueryReturnYouSearchForTranslationInnerQueryField2
- OrderDetailsReturn
- OrderDetailsReturnDownload
- OrderDetailsReturnDownloadCsv
- OrderDetailsReturnDownloadData
- OrderDetailsReturnDownloadDataUnrestricted
- OrderListReturn
- OrderListReturnOrdersInner
- OrderListReturnOrdersInnerOrderNumber
- OrderQuery
- OrderQueryQueryFields
- OrderQueryReturn
- OrderQueryReturnWarnings
- Type: Bearer authentication (bearerToken)
If the OpenAPI document is large, imports in cdi_sdn_py.apis and cdi_sdn_py.models may fail with a RecursionError indicating the maximum recursion limit has been exceeded. In that case, there are a couple of solutions:
Solution 1: Use specific imports for apis and models like:
from cdi_sdn_py.api.default_api import DefaultApi
from cdi_sdn_py.model.pet import Pet
Solution 2: Before importing the package, adjust the maximum recursion limit as shown below:
import sys
sys.setrecursionlimit(1500)
import cdi_sdn_py
from cdi_sdn_py.apis import *
from cdi_sdn_py.models import *