Skip to content

models

Models for acr-client.

GetBmCsProjectsResultsParams

Bases: TypedDict

Parameters for getting BM projects custom streams results.

Source code in acrclient/models.py
class GetBmCsProjectsResultsParams(TypedDict):  # pragma: no cover
    """Parameters for getting BM projects custom streams results."""

    type: str
    """last: get the last results, day: get the day results, Default is day"""
    date: str
    """Get all the results on this date. The format is YYYYmmdd (E.g. 20210201)"""
    min_duration: NotRequired[int | None]
    """Return the results of played_duration >= min_duration seconds (default: 0)"""
    max_duration: NotRequired[int | None]
    """Return results with played_duration <= max_duration seconds (default: 3600)"""
    isrc_country: NotRequired[str | None]
    """Only return results that match the isrc country code (E.g. DE, FR, IT, US)"""

date: str instance-attribute

Get all the results on this date. The format is YYYYmmdd (E.g. 20210201)

isrc_country: NotRequired[str | None] instance-attribute

Only return results that match the isrc country code (E.g. DE, FR, IT, US)

max_duration: NotRequired[int | None] instance-attribute

Return results with played_duration <= max_duration seconds (default: 3600)

min_duration: NotRequired[int | None] instance-attribute

Return the results of played_duration >= min_duration seconds (default: 0)

type: str instance-attribute

last: get the last results, day: get the day results, Default is day