Module python_odpt.api.default.busroute_pattern_fare_operations_get_busroute_pattern_fares
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>,
odptoperator: Unset | str = <python_odpt.types.Unset object>,
odptfrom_busstop_pole: Unset | str = <python_odpt.types.Unset object>,
odptto_busstop_pole: Unset | str = <python_odpt.types.Unset object>,
odptticket_fare: Unset | int = <python_odpt.types.Unset object>,
odptchild_ticket_fare: Unset | int = <python_odpt.types.Unset object>,
odptic_card_fare: Unset | int = <python_odpt.types.Unset object>,
odptchild_ic_card_fare: Unset | int = <python_odpt.types.Unset object>) ‑> Any | List[BusroutePatternFare] | 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, odptoperator: Union[Unset, str] = UNSET, odptfrom_busstop_pole: Union[Unset, str] = UNSET, odptto_busstop_pole: Union[Unset, str] = UNSET, odptticket_fare: Union[Unset, int] = UNSET, odptchild_ticket_fare: Union[Unset, int] = UNSET, odptic_card_fare: Union[Unset, int] = UNSET, odptchild_ic_card_fare: Union[Unset, int] = UNSET, ) -> Optional[Union[Any, List["BusroutePatternFare"]]]: """運賃情報 Args: aclconsumer_key (str): アクセストークン id (Union[Unset, str]): 固有識別子 owlsame_as (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`形式 odptticket_fare (Union[Unset, int]): odptchild_ticket_fare (Union[Unset, int]): odptic_card_fare (Union[Unset, int]): odptchild_ic_card_fare (Union[Unset, int]): 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['BusroutePatternFare']] """ return ( await asyncio_detailed( client=client, aclconsumer_key=aclconsumer_key, id=id, owlsame_as=owlsame_as, odptoperator=odptoperator, odptfrom_busstop_pole=odptfrom_busstop_pole, odptto_busstop_pole=odptto_busstop_pole, odptticket_fare=odptticket_fare, odptchild_ticket_fare=odptchild_ticket_fare, odptic_card_fare=odptic_card_fare, odptchild_ic_card_fare=odptchild_ic_card_fare, ) ).parsed
運賃情報
Args
aclconsumer_key
:str
- アクセストークン
id
:Union[Unset, str]
- 固有識別子
owlsame_as
: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
形式
odptticket_fare (Union[Unset, int]): odptchild_ticket_fare (Union[Unset, int]): odptic_card_fare (Union[Unset, int]): odptchild_ic_card_fare (Union[Unset, int]):
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['BusroutePatternFare']]
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>,
odptoperator: Unset | str = <python_odpt.types.Unset object>,
odptfrom_busstop_pole: Unset | str = <python_odpt.types.Unset object>,
odptto_busstop_pole: Unset | str = <python_odpt.types.Unset object>,
odptticket_fare: Unset | int = <python_odpt.types.Unset object>,
odptchild_ticket_fare: Unset | int = <python_odpt.types.Unset object>,
odptic_card_fare: Unset | int = <python_odpt.types.Unset object>,
odptchild_ic_card_fare: Unset | int = <python_odpt.types.Unset object>) ‑> Response[Any | List[BusroutePatternFare]]-
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, odptoperator: Union[Unset, str] = UNSET, odptfrom_busstop_pole: Union[Unset, str] = UNSET, odptto_busstop_pole: Union[Unset, str] = UNSET, odptticket_fare: Union[Unset, int] = UNSET, odptchild_ticket_fare: Union[Unset, int] = UNSET, odptic_card_fare: Union[Unset, int] = UNSET, odptchild_ic_card_fare: Union[Unset, int] = UNSET, ) -> Response[Union[Any, List["BusroutePatternFare"]]]: """運賃情報 Args: aclconsumer_key (str): アクセストークン id (Union[Unset, str]): 固有識別子 owlsame_as (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`形式 odptticket_fare (Union[Unset, int]): odptchild_ticket_fare (Union[Unset, int]): odptic_card_fare (Union[Unset, int]): odptchild_ic_card_fare (Union[Unset, int]): 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['BusroutePatternFare']]] """ kwargs = _get_kwargs( aclconsumer_key=aclconsumer_key, id=id, owlsame_as=owlsame_as, odptoperator=odptoperator, odptfrom_busstop_pole=odptfrom_busstop_pole, odptto_busstop_pole=odptto_busstop_pole, odptticket_fare=odptticket_fare, odptchild_ticket_fare=odptchild_ticket_fare, odptic_card_fare=odptic_card_fare, odptchild_ic_card_fare=odptchild_ic_card_fare, ) 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
形式 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
形式
odptticket_fare (Union[Unset, int]): odptchild_ticket_fare (Union[Unset, int]): odptic_card_fare (Union[Unset, int]): odptchild_ic_card_fare (Union[Unset, int]):
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['BusroutePatternFare']]]
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>,
odptoperator: Unset | str = <python_odpt.types.Unset object>,
odptfrom_busstop_pole: Unset | str = <python_odpt.types.Unset object>,
odptto_busstop_pole: Unset | str = <python_odpt.types.Unset object>,
odptticket_fare: Unset | int = <python_odpt.types.Unset object>,
odptchild_ticket_fare: Unset | int = <python_odpt.types.Unset object>,
odptic_card_fare: Unset | int = <python_odpt.types.Unset object>,
odptchild_ic_card_fare: Unset | int = <python_odpt.types.Unset object>) ‑> Any | List[BusroutePatternFare] | None-
Expand source code
def sync( *, client: Union[AuthenticatedClient, Client], aclconsumer_key: str, id: Union[Unset, str] = UNSET, owlsame_as: Union[Unset, str] = UNSET, odptoperator: Union[Unset, str] = UNSET, odptfrom_busstop_pole: Union[Unset, str] = UNSET, odptto_busstop_pole: Union[Unset, str] = UNSET, odptticket_fare: Union[Unset, int] = UNSET, odptchild_ticket_fare: Union[Unset, int] = UNSET, odptic_card_fare: Union[Unset, int] = UNSET, odptchild_ic_card_fare: Union[Unset, int] = UNSET, ) -> Optional[Union[Any, List["BusroutePatternFare"]]]: """運賃情報 Args: aclconsumer_key (str): アクセストークン id (Union[Unset, str]): 固有識別子 owlsame_as (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`形式 odptticket_fare (Union[Unset, int]): odptchild_ticket_fare (Union[Unset, int]): odptic_card_fare (Union[Unset, int]): odptchild_ic_card_fare (Union[Unset, int]): 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['BusroutePatternFare']] """ return sync_detailed( client=client, aclconsumer_key=aclconsumer_key, id=id, owlsame_as=owlsame_as, odptoperator=odptoperator, odptfrom_busstop_pole=odptfrom_busstop_pole, odptto_busstop_pole=odptto_busstop_pole, odptticket_fare=odptticket_fare, odptchild_ticket_fare=odptchild_ticket_fare, odptic_card_fare=odptic_card_fare, odptchild_ic_card_fare=odptchild_ic_card_fare, ).parsed
運賃情報
Args
aclconsumer_key
:str
- アクセストークン
id
:Union[Unset, str]
- 固有識別子
owlsame_as
: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
形式
odptticket_fare (Union[Unset, int]): odptchild_ticket_fare (Union[Unset, int]): odptic_card_fare (Union[Unset, int]): odptchild_ic_card_fare (Union[Unset, int]):
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['BusroutePatternFare']]
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>,
odptoperator: Unset | str = <python_odpt.types.Unset object>,
odptfrom_busstop_pole: Unset | str = <python_odpt.types.Unset object>,
odptto_busstop_pole: Unset | str = <python_odpt.types.Unset object>,
odptticket_fare: Unset | int = <python_odpt.types.Unset object>,
odptchild_ticket_fare: Unset | int = <python_odpt.types.Unset object>,
odptic_card_fare: Unset | int = <python_odpt.types.Unset object>,
odptchild_ic_card_fare: Unset | int = <python_odpt.types.Unset object>) ‑> Response[Any | List[BusroutePatternFare]]-
Expand source code
def sync_detailed( *, client: Union[AuthenticatedClient, Client], aclconsumer_key: str, id: Union[Unset, str] = UNSET, owlsame_as: Union[Unset, str] = UNSET, odptoperator: Union[Unset, str] = UNSET, odptfrom_busstop_pole: Union[Unset, str] = UNSET, odptto_busstop_pole: Union[Unset, str] = UNSET, odptticket_fare: Union[Unset, int] = UNSET, odptchild_ticket_fare: Union[Unset, int] = UNSET, odptic_card_fare: Union[Unset, int] = UNSET, odptchild_ic_card_fare: Union[Unset, int] = UNSET, ) -> Response[Union[Any, List["BusroutePatternFare"]]]: """運賃情報 Args: aclconsumer_key (str): アクセストークン id (Union[Unset, str]): 固有識別子 owlsame_as (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`形式 odptticket_fare (Union[Unset, int]): odptchild_ticket_fare (Union[Unset, int]): odptic_card_fare (Union[Unset, int]): odptchild_ic_card_fare (Union[Unset, int]): 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['BusroutePatternFare']]] """ kwargs = _get_kwargs( aclconsumer_key=aclconsumer_key, id=id, owlsame_as=owlsame_as, odptoperator=odptoperator, odptfrom_busstop_pole=odptfrom_busstop_pole, odptto_busstop_pole=odptto_busstop_pole, odptticket_fare=odptticket_fare, odptchild_ticket_fare=odptchild_ticket_fare, odptic_card_fare=odptic_card_fare, odptchild_ic_card_fare=odptchild_ic_card_fare, ) 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
形式 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
形式
odptticket_fare (Union[Unset, int]): odptchild_ticket_fare (Union[Unset, int]): odptic_card_fare (Union[Unset, int]): odptchild_ic_card_fare (Union[Unset, int]):
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['BusroutePatternFare']]]