ds_provider_powerofficego_py_lib.endpoint_info

File: endpoint_info.py Region: ds_provider_powerofficego_py_lib/endpoint_info

This module contains classes and functions related to endpoint information for the PowerOfficeGo provider.

Attributes

ENDPOINTS

Classes

EndpointInfo

Class representing information about an API endpoint for the PowerOfficeGo provider.

Module Contents

class ds_provider_powerofficego_py_lib.endpoint_info.EndpointInfo(name: str, endpoint: str)[source]

Class representing information about an API endpoint for the PowerOfficeGo provider.

name
endpoint
static get_endpoint_for_product(data_product: str) str[source]

Get the endpoint for a given data product. If the data product is not found in the ENDPOINTS mapping, it returns the data product name as endpoint.

Parameters:

data_product (str) – The name of the data product.

Returns:

The endpoint URL if found, otherwise the data product name as endpoint.

Return type:

str

ds_provider_powerofficego_py_lib.endpoint_info.ENDPOINTS