Module python_odpt.api.default.bus_operation_get_buses

Functions

async def asyncio(*, client: Union[AuthenticatedClientClient], aclconsumer_key: str, id: Union[Unset, str] = <python_odpt.types.Unset object>, owlsame_as: Union[Unset, str] = <python_odpt.types.Unset object>, odptbusroute_pattern: Union[Unset, str] = <python_odpt.types.Unset object>, odptoperator: Union[Unset, str] = <python_odpt.types.Unset object>, odptfrom_busstop_pole: Union[Unset, str] = <python_odpt.types.Unset object>, odptto_busstop_pole: Union[Unset, str] = <python_odpt.types.Unset object>) ‑> Union[Any, List[Bus], None]

バス車両の運行情報

Args

aclconsumer_key : str
アクセストークン
id : Union[Unset, str]
固有識別子
owlsame_as : Union[Unset, str]
固有識別子の別名 多くがodpt.hoge:fuga形式
odptbusroute_pattern : Union[Unset, str]
固有識別子の別名 多くがodpt.hoge:fuga形式
odptoperator : Union[Unset, str]
固有識別子の別名 多くがodpt.hoge:fuga形式
odptfrom_busstop_pole : Union[Unset, str]
固有識別子の別名 多くがodpt.hoge:fuga形式
odptto_busstop_pole : Union[Unset, str]
固有識別子の別名 多くがodpt.hoge:fuga形式

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['Bus']]

async def asyncio_detailed(*, client: Union[AuthenticatedClientClient], aclconsumer_key: str, id: Union[Unset, str] = <python_odpt.types.Unset object>, owlsame_as: Union[Unset, str] = <python_odpt.types.Unset object>, odptbusroute_pattern: Union[Unset, str] = <python_odpt.types.Unset object>, odptoperator: Union[Unset, str] = <python_odpt.types.Unset object>, odptfrom_busstop_pole: Union[Unset, str] = <python_odpt.types.Unset object>, odptto_busstop_pole: Union[Unset, str] = <python_odpt.types.Unset object>) ‑> Response[typing.Union[typing.Any, typing.List[Bus]]]

バス車両の運行情報

Args

aclconsumer_key : str
アクセストークン
id : Union[Unset, str]
固有識別子
owlsame_as : Union[Unset, str]
固有識別子の別名 多くがodpt.hoge:fuga形式
odptbusroute_pattern : Union[Unset, str]
固有識別子の別名 多くがodpt.hoge:fuga形式
odptoperator : Union[Unset, str]
固有識別子の別名 多くがodpt.hoge:fuga形式
odptfrom_busstop_pole : Union[Unset, str]
固有識別子の別名 多くがodpt.hoge:fuga形式
odptto_busstop_pole : Union[Unset, str]
固有識別子の別名 多くがodpt.hoge:fuga形式

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['Bus']]]

def sync(*, client: Union[AuthenticatedClientClient], aclconsumer_key: str, id: Union[Unset, str] = <python_odpt.types.Unset object>, owlsame_as: Union[Unset, str] = <python_odpt.types.Unset object>, odptbusroute_pattern: Union[Unset, str] = <python_odpt.types.Unset object>, odptoperator: Union[Unset, str] = <python_odpt.types.Unset object>, odptfrom_busstop_pole: Union[Unset, str] = <python_odpt.types.Unset object>, odptto_busstop_pole: Union[Unset, str] = <python_odpt.types.Unset object>) ‑> Union[Any, List[Bus], None]

バス車両の運行情報

Args

aclconsumer_key : str
アクセストークン
id : Union[Unset, str]
固有識別子
owlsame_as : Union[Unset, str]
固有識別子の別名 多くがodpt.hoge:fuga形式
odptbusroute_pattern : Union[Unset, str]
固有識別子の別名 多くがodpt.hoge:fuga形式
odptoperator : Union[Unset, str]
固有識別子の別名 多くがodpt.hoge:fuga形式
odptfrom_busstop_pole : Union[Unset, str]
固有識別子の別名 多くがodpt.hoge:fuga形式
odptto_busstop_pole : Union[Unset, str]
固有識別子の別名 多くがodpt.hoge:fuga形式

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['Bus']]

def sync_detailed(*, client: Union[AuthenticatedClientClient], aclconsumer_key: str, id: Union[Unset, str] = <python_odpt.types.Unset object>, owlsame_as: Union[Unset, str] = <python_odpt.types.Unset object>, odptbusroute_pattern: Union[Unset, str] = <python_odpt.types.Unset object>, odptoperator: Union[Unset, str] = <python_odpt.types.Unset object>, odptfrom_busstop_pole: Union[Unset, str] = <python_odpt.types.Unset object>, odptto_busstop_pole: Union[Unset, str] = <python_odpt.types.Unset object>) ‑> Response[typing.Union[typing.Any, typing.List[Bus]]]

バス車両の運行情報

Args

aclconsumer_key : str
アクセストークン
id : Union[Unset, str]
固有識別子
owlsame_as : Union[Unset, str]
固有識別子の別名 多くがodpt.hoge:fuga形式
odptbusroute_pattern : Union[Unset, str]
固有識別子の別名 多くがodpt.hoge:fuga形式
odptoperator : Union[Unset, str]
固有識別子の別名 多くがodpt.hoge:fuga形式
odptfrom_busstop_pole : Union[Unset, str]
固有識別子の別名 多くがodpt.hoge:fuga形式
odptto_busstop_pole : Union[Unset, str]
固有識別子の別名 多くがodpt.hoge:fuga形式

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['Bus']]]