Skip to content

ratings_client

Definitions to help interact with the Ratings API.

RatingsAPIClient

Bases: GenericHordeAPIManualClient

Represent a client specifically configured for the Ratings APi.

Source code in horde_sdk/ratings_api/ratings_client.py
class RatingsAPIClient(GenericHordeAPIManualClient):
    """Represent a client specifically configured for the Ratings APi."""

    def __init__(self) -> None:
        """Create a new instance of the RatingsAPIClient."""
        super().__init__(
            path_fields=RatingsAPIPathFields,
            query_fields=RatingsAPIQueryFields,
        )

__init__

__init__() -> None

Create a new instance of the RatingsAPIClient.

Source code in horde_sdk/ratings_api/ratings_client.py
def __init__(self) -> None:
    """Create a new instance of the RatingsAPIClient."""
    super().__init__(
        path_fields=RatingsAPIPathFields,
        query_fields=RatingsAPIQueryFields,
    )