Module python_odpt.api.default.busstop_pole_timetable_operations_get_busstop_pole_timetables

Functions

async def asyncio(*,
client: AuthenticatedClient | Client,
aclconsumer_key: str,
id: Unset | str = <python_odpt.types.Unset object>,
owlsame_as: Unset | str = <python_odpt.types.Unset object>,
odptbusstop_pole: Unset | str = <python_odpt.types.Unset object>,
odptbus_direction: Unset | str = <python_odpt.types.Unset object>,
odptbusroute: Unset | str = <python_odpt.types.Unset object>,
odptoperator: Unset | str = <python_odpt.types.Unset object>,
odptcalendar: Unset | str = <python_odpt.types.Unset object>,
dcdate: Unset | str = <python_odpt.types.Unset object>) ‑> Any | List[BusstopPoleTimetable] | None
Expand source code
async def asyncio(
    *,
    client: Union[AuthenticatedClient, Client],
    aclconsumer_key: str,
    id: Union[Unset, str] = UNSET,
    owlsame_as: Union[Unset, str] = UNSET,
    odptbusstop_pole: Union[Unset, str] = UNSET,
    odptbus_direction: Union[Unset, str] = UNSET,
    odptbusroute: Union[Unset, str] = UNSET,
    odptoperator: Union[Unset, str] = UNSET,
    odptcalendar: Union[Unset, str] = UNSET,
    dcdate: Union[Unset, str] = UNSET,
) -> Optional[Union[Any, List["BusstopPoleTimetable"]]]:
    """バス停(標柱)時刻表

    Args:
        aclconsumer_key (str): アクセストークン
        id (Union[Unset, str]): 固有識別子
        owlsame_as (Union[Unset, str]): 固有識別子の別名 多くが`odpt.hoge:fuga`形式
        odptbusstop_pole (Union[Unset, str]): 固有識別子の別名 多くが`odpt.hoge:fuga`形式
        odptbus_direction (Union[Unset, str]):
        odptbusroute (Union[Unset, str]):
        odptoperator (Union[Unset, str]): 固有識別子の別名 多くが`odpt.hoge:fuga`形式
        odptcalendar (Union[Unset, str]): 固有識別子の別名 多くが`odpt.hoge:fuga`形式
        dcdate (Union[Unset, str]): ISO8601 日付時刻形式

    Raises:
        errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
        httpx.TimeoutException: If the request takes longer than Client.timeout.

    Returns:
        Union[Any, List['BusstopPoleTimetable']]
    """

    return (
        await asyncio_detailed(
            client=client,
            aclconsumer_key=aclconsumer_key,
            id=id,
            owlsame_as=owlsame_as,
            odptbusstop_pole=odptbusstop_pole,
            odptbus_direction=odptbus_direction,
            odptbusroute=odptbusroute,
            odptoperator=odptoperator,
            odptcalendar=odptcalendar,
            dcdate=dcdate,
        )
    ).parsed

バス停(標柱)時刻表

Args

aclconsumer_key : str
アクセストークン
id : Union[Unset, str]
固有識別子
owlsame_as : Union[Unset, str]
固有識別子の別名 多くがodpt.hoge:fuga形式
odptbusstop_pole : Union[Unset, str]
固有識別子の別名 多くがodpt.hoge:fuga形式
odptbus_direction (Union[Unset, str]):
odptbusroute (Union[Unset, str]):
odptoperator : Union[Unset, str]
固有識別子の別名 多くがodpt.hoge:fuga形式
odptcalendar : Union[Unset, str]
固有識別子の別名 多くがodpt.hoge:fuga形式
dcdate : Union[Unset, str]
ISO8601 日付時刻形式

Raises

errors.UnexpectedStatus
If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
httpx.TimeoutException
If the request takes longer than Client.timeout.

Returns

Union[Any, List['BusstopPoleTimetable']]

async def asyncio_detailed(*,
client: AuthenticatedClient | Client,
aclconsumer_key: str,
id: Unset | str = <python_odpt.types.Unset object>,
owlsame_as: Unset | str = <python_odpt.types.Unset object>,
odptbusstop_pole: Unset | str = <python_odpt.types.Unset object>,
odptbus_direction: Unset | str = <python_odpt.types.Unset object>,
odptbusroute: Unset | str = <python_odpt.types.Unset object>,
odptoperator: Unset | str = <python_odpt.types.Unset object>,
odptcalendar: Unset | str = <python_odpt.types.Unset object>,
dcdate: Unset | str = <python_odpt.types.Unset object>) ‑> Response[Any | List[BusstopPoleTimetable]]
Expand source code
async def asyncio_detailed(
    *,
    client: Union[AuthenticatedClient, Client],
    aclconsumer_key: str,
    id: Union[Unset, str] = UNSET,
    owlsame_as: Union[Unset, str] = UNSET,
    odptbusstop_pole: Union[Unset, str] = UNSET,
    odptbus_direction: Union[Unset, str] = UNSET,
    odptbusroute: Union[Unset, str] = UNSET,
    odptoperator: Union[Unset, str] = UNSET,
    odptcalendar: Union[Unset, str] = UNSET,
    dcdate: Union[Unset, str] = UNSET,
) -> Response[Union[Any, List["BusstopPoleTimetable"]]]:
    """バス停(標柱)時刻表

    Args:
        aclconsumer_key (str): アクセストークン
        id (Union[Unset, str]): 固有識別子
        owlsame_as (Union[Unset, str]): 固有識別子の別名 多くが`odpt.hoge:fuga`形式
        odptbusstop_pole (Union[Unset, str]): 固有識別子の別名 多くが`odpt.hoge:fuga`形式
        odptbus_direction (Union[Unset, str]):
        odptbusroute (Union[Unset, str]):
        odptoperator (Union[Unset, str]): 固有識別子の別名 多くが`odpt.hoge:fuga`形式
        odptcalendar (Union[Unset, str]): 固有識別子の別名 多くが`odpt.hoge:fuga`形式
        dcdate (Union[Unset, str]): ISO8601 日付時刻形式

    Raises:
        errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
        httpx.TimeoutException: If the request takes longer than Client.timeout.

    Returns:
        Response[Union[Any, List['BusstopPoleTimetable']]]
    """

    kwargs = _get_kwargs(
        aclconsumer_key=aclconsumer_key,
        id=id,
        owlsame_as=owlsame_as,
        odptbusstop_pole=odptbusstop_pole,
        odptbus_direction=odptbus_direction,
        odptbusroute=odptbusroute,
        odptoperator=odptoperator,
        odptcalendar=odptcalendar,
        dcdate=dcdate,
    )

    response = await client.get_async_httpx_client().request(**kwargs)

    return _build_response(client=client, response=response)

バス停(標柱)時刻表

Args

aclconsumer_key : str
アクセストークン
id : Union[Unset, str]
固有識別子
owlsame_as : Union[Unset, str]
固有識別子の別名 多くがodpt.hoge:fuga形式
odptbusstop_pole : Union[Unset, str]
固有識別子の別名 多くがodpt.hoge:fuga形式
odptbus_direction (Union[Unset, str]):
odptbusroute (Union[Unset, str]):
odptoperator : Union[Unset, str]
固有識別子の別名 多くがodpt.hoge:fuga形式
odptcalendar : Union[Unset, str]
固有識別子の別名 多くがodpt.hoge:fuga形式
dcdate : Union[Unset, str]
ISO8601 日付時刻形式

Raises

errors.UnexpectedStatus
If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
httpx.TimeoutException
If the request takes longer than Client.timeout.

Returns

Response[Union[Any, List['BusstopPoleTimetable']]]

def sync(*,
client: AuthenticatedClient | Client,
aclconsumer_key: str,
id: Unset | str = <python_odpt.types.Unset object>,
owlsame_as: Unset | str = <python_odpt.types.Unset object>,
odptbusstop_pole: Unset | str = <python_odpt.types.Unset object>,
odptbus_direction: Unset | str = <python_odpt.types.Unset object>,
odptbusroute: Unset | str = <python_odpt.types.Unset object>,
odptoperator: Unset | str = <python_odpt.types.Unset object>,
odptcalendar: Unset | str = <python_odpt.types.Unset object>,
dcdate: Unset | str = <python_odpt.types.Unset object>) ‑> Any | List[BusstopPoleTimetable] | None
Expand source code
def sync(
    *,
    client: Union[AuthenticatedClient, Client],
    aclconsumer_key: str,
    id: Union[Unset, str] = UNSET,
    owlsame_as: Union[Unset, str] = UNSET,
    odptbusstop_pole: Union[Unset, str] = UNSET,
    odptbus_direction: Union[Unset, str] = UNSET,
    odptbusroute: Union[Unset, str] = UNSET,
    odptoperator: Union[Unset, str] = UNSET,
    odptcalendar: Union[Unset, str] = UNSET,
    dcdate: Union[Unset, str] = UNSET,
) -> Optional[Union[Any, List["BusstopPoleTimetable"]]]:
    """バス停(標柱)時刻表

    Args:
        aclconsumer_key (str): アクセストークン
        id (Union[Unset, str]): 固有識別子
        owlsame_as (Union[Unset, str]): 固有識別子の別名 多くが`odpt.hoge:fuga`形式
        odptbusstop_pole (Union[Unset, str]): 固有識別子の別名 多くが`odpt.hoge:fuga`形式
        odptbus_direction (Union[Unset, str]):
        odptbusroute (Union[Unset, str]):
        odptoperator (Union[Unset, str]): 固有識別子の別名 多くが`odpt.hoge:fuga`形式
        odptcalendar (Union[Unset, str]): 固有識別子の別名 多くが`odpt.hoge:fuga`形式
        dcdate (Union[Unset, str]): ISO8601 日付時刻形式

    Raises:
        errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
        httpx.TimeoutException: If the request takes longer than Client.timeout.

    Returns:
        Union[Any, List['BusstopPoleTimetable']]
    """

    return sync_detailed(
        client=client,
        aclconsumer_key=aclconsumer_key,
        id=id,
        owlsame_as=owlsame_as,
        odptbusstop_pole=odptbusstop_pole,
        odptbus_direction=odptbus_direction,
        odptbusroute=odptbusroute,
        odptoperator=odptoperator,
        odptcalendar=odptcalendar,
        dcdate=dcdate,
    ).parsed

バス停(標柱)時刻表

Args

aclconsumer_key : str
アクセストークン
id : Union[Unset, str]
固有識別子
owlsame_as : Union[Unset, str]
固有識別子の別名 多くがodpt.hoge:fuga形式
odptbusstop_pole : Union[Unset, str]
固有識別子の別名 多くがodpt.hoge:fuga形式
odptbus_direction (Union[Unset, str]):
odptbusroute (Union[Unset, str]):
odptoperator : Union[Unset, str]
固有識別子の別名 多くがodpt.hoge:fuga形式
odptcalendar : Union[Unset, str]
固有識別子の別名 多くがodpt.hoge:fuga形式
dcdate : Union[Unset, str]
ISO8601 日付時刻形式

Raises

errors.UnexpectedStatus
If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
httpx.TimeoutException
If the request takes longer than Client.timeout.

Returns

Union[Any, List['BusstopPoleTimetable']]

def sync_detailed(*,
client: AuthenticatedClient | Client,
aclconsumer_key: str,
id: Unset | str = <python_odpt.types.Unset object>,
owlsame_as: Unset | str = <python_odpt.types.Unset object>,
odptbusstop_pole: Unset | str = <python_odpt.types.Unset object>,
odptbus_direction: Unset | str = <python_odpt.types.Unset object>,
odptbusroute: Unset | str = <python_odpt.types.Unset object>,
odptoperator: Unset | str = <python_odpt.types.Unset object>,
odptcalendar: Unset | str = <python_odpt.types.Unset object>,
dcdate: Unset | str = <python_odpt.types.Unset object>) ‑> Response[Any | List[BusstopPoleTimetable]]
Expand source code
def sync_detailed(
    *,
    client: Union[AuthenticatedClient, Client],
    aclconsumer_key: str,
    id: Union[Unset, str] = UNSET,
    owlsame_as: Union[Unset, str] = UNSET,
    odptbusstop_pole: Union[Unset, str] = UNSET,
    odptbus_direction: Union[Unset, str] = UNSET,
    odptbusroute: Union[Unset, str] = UNSET,
    odptoperator: Union[Unset, str] = UNSET,
    odptcalendar: Union[Unset, str] = UNSET,
    dcdate: Union[Unset, str] = UNSET,
) -> Response[Union[Any, List["BusstopPoleTimetable"]]]:
    """バス停(標柱)時刻表

    Args:
        aclconsumer_key (str): アクセストークン
        id (Union[Unset, str]): 固有識別子
        owlsame_as (Union[Unset, str]): 固有識別子の別名 多くが`odpt.hoge:fuga`形式
        odptbusstop_pole (Union[Unset, str]): 固有識別子の別名 多くが`odpt.hoge:fuga`形式
        odptbus_direction (Union[Unset, str]):
        odptbusroute (Union[Unset, str]):
        odptoperator (Union[Unset, str]): 固有識別子の別名 多くが`odpt.hoge:fuga`形式
        odptcalendar (Union[Unset, str]): 固有識別子の別名 多くが`odpt.hoge:fuga`形式
        dcdate (Union[Unset, str]): ISO8601 日付時刻形式

    Raises:
        errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
        httpx.TimeoutException: If the request takes longer than Client.timeout.

    Returns:
        Response[Union[Any, List['BusstopPoleTimetable']]]
    """

    kwargs = _get_kwargs(
        aclconsumer_key=aclconsumer_key,
        id=id,
        owlsame_as=owlsame_as,
        odptbusstop_pole=odptbusstop_pole,
        odptbus_direction=odptbus_direction,
        odptbusroute=odptbusroute,
        odptoperator=odptoperator,
        odptcalendar=odptcalendar,
        dcdate=dcdate,
    )

    response = client.get_httpx_client().request(
        **kwargs,
    )

    return _build_response(client=client, response=response)

バス停(標柱)時刻表

Args

aclconsumer_key : str
アクセストークン
id : Union[Unset, str]
固有識別子
owlsame_as : Union[Unset, str]
固有識別子の別名 多くがodpt.hoge:fuga形式
odptbusstop_pole : Union[Unset, str]
固有識別子の別名 多くがodpt.hoge:fuga形式
odptbus_direction (Union[Unset, str]):
odptbusroute (Union[Unset, str]):
odptoperator : Union[Unset, str]
固有識別子の別名 多くがodpt.hoge:fuga形式
odptcalendar : Union[Unset, str]
固有識別子の別名 多くがodpt.hoge:fuga形式
dcdate : Union[Unset, str]
ISO8601 日付時刻形式

Raises

errors.UnexpectedStatus
If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
httpx.TimeoutException
If the request takes longer than Client.timeout.

Returns

Response[Union[Any, List['BusstopPoleTimetable']]]