Module python_odpt.api.default.train_timetable_operations_get_train_timetables
Functions
async def asyncio(*, client: Union[AuthenticatedClient, Client], aclconsumer_key: str, id: Union[Unset, str] = <python_odpt.types.Unset object>, owlsame_as: Union[Unset, str] = <python_odpt.types.Unset object>, odpttrain_number: Union[Unset, str] = <python_odpt.types.Unset object>, odptrailway: Union[Unset, str] = <python_odpt.types.Unset object>, odptoperator: Union[Unset, str] = <python_odpt.types.Unset object>, odpttrain_type: Union[Unset, str] = <python_odpt.types.Unset object>, odpttrain: Union[Unset, str] = <python_odpt.types.Unset object>, odptcalendar: Union[Unset, str] = <python_odpt.types.Unset object>) ‑> Union[Any, List[TrainTimetable], None]-
列車時刻表を取得する
Args
aclconsumer_key:str- アクセストークン
id:Union[Unset, str]- 固有識別子
owlsame_as:Union[Unset, str]- 固有識別子の別名 多くが
odpt.hoge:fuga形式 - odpttrain_number (Union[Unset, str]):
odptrailway:Union[Unset, str]- 固有識別子の別名 多くが
odpt.hoge:fuga形式 odptoperator:Union[Unset, str]- 固有識別子の別名 多くが
odpt.hoge:fuga形式 odpttrain_type:Union[Unset, str]- 固有識別子の別名 多くが
odpt.hoge:fuga形式 odpttrain:Union[Unset, str]- 固有識別子の別名 多くが
odpt.hoge:fuga形式 odptcalendar: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['TrainTimetable']]
async def asyncio_detailed(*, client: Union[AuthenticatedClient, Client], aclconsumer_key: str, id: Union[Unset, str] = <python_odpt.types.Unset object>, owlsame_as: Union[Unset, str] = <python_odpt.types.Unset object>, odpttrain_number: Union[Unset, str] = <python_odpt.types.Unset object>, odptrailway: Union[Unset, str] = <python_odpt.types.Unset object>, odptoperator: Union[Unset, str] = <python_odpt.types.Unset object>, odpttrain_type: Union[Unset, str] = <python_odpt.types.Unset object>, odpttrain: Union[Unset, str] = <python_odpt.types.Unset object>, odptcalendar: Union[Unset, str] = <python_odpt.types.Unset object>) ‑> Response[typing.Union[typing.Any, typing.List[TrainTimetable]]]-
列車時刻表を取得する
Args
aclconsumer_key:str- アクセストークン
id:Union[Unset, str]- 固有識別子
owlsame_as:Union[Unset, str]- 固有識別子の別名 多くが
odpt.hoge:fuga形式 - odpttrain_number (Union[Unset, str]):
odptrailway:Union[Unset, str]- 固有識別子の別名 多くが
odpt.hoge:fuga形式 odptoperator:Union[Unset, str]- 固有識別子の別名 多くが
odpt.hoge:fuga形式 odpttrain_type:Union[Unset, str]- 固有識別子の別名 多くが
odpt.hoge:fuga形式 odpttrain:Union[Unset, str]- 固有識別子の別名 多くが
odpt.hoge:fuga形式 odptcalendar: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['TrainTimetable']]]
def sync(*, client: Union[AuthenticatedClient, Client], aclconsumer_key: str, id: Union[Unset, str] = <python_odpt.types.Unset object>, owlsame_as: Union[Unset, str] = <python_odpt.types.Unset object>, odpttrain_number: Union[Unset, str] = <python_odpt.types.Unset object>, odptrailway: Union[Unset, str] = <python_odpt.types.Unset object>, odptoperator: Union[Unset, str] = <python_odpt.types.Unset object>, odpttrain_type: Union[Unset, str] = <python_odpt.types.Unset object>, odpttrain: Union[Unset, str] = <python_odpt.types.Unset object>, odptcalendar: Union[Unset, str] = <python_odpt.types.Unset object>) ‑> Union[Any, List[TrainTimetable], None]-
列車時刻表を取得する
Args
aclconsumer_key:str- アクセストークン
id:Union[Unset, str]- 固有識別子
owlsame_as:Union[Unset, str]- 固有識別子の別名 多くが
odpt.hoge:fuga形式 - odpttrain_number (Union[Unset, str]):
odptrailway:Union[Unset, str]- 固有識別子の別名 多くが
odpt.hoge:fuga形式 odptoperator:Union[Unset, str]- 固有識別子の別名 多くが
odpt.hoge:fuga形式 odpttrain_type:Union[Unset, str]- 固有識別子の別名 多くが
odpt.hoge:fuga形式 odpttrain:Union[Unset, str]- 固有識別子の別名 多くが
odpt.hoge:fuga形式 odptcalendar: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['TrainTimetable']]
def sync_detailed(*, client: Union[AuthenticatedClient, Client], aclconsumer_key: str, id: Union[Unset, str] = <python_odpt.types.Unset object>, owlsame_as: Union[Unset, str] = <python_odpt.types.Unset object>, odpttrain_number: Union[Unset, str] = <python_odpt.types.Unset object>, odptrailway: Union[Unset, str] = <python_odpt.types.Unset object>, odptoperator: Union[Unset, str] = <python_odpt.types.Unset object>, odpttrain_type: Union[Unset, str] = <python_odpt.types.Unset object>, odpttrain: Union[Unset, str] = <python_odpt.types.Unset object>, odptcalendar: Union[Unset, str] = <python_odpt.types.Unset object>) ‑> Response[typing.Union[typing.Any, typing.List[TrainTimetable]]]-
列車時刻表を取得する
Args
aclconsumer_key:str- アクセストークン
id:Union[Unset, str]- 固有識別子
owlsame_as:Union[Unset, str]- 固有識別子の別名 多くが
odpt.hoge:fuga形式 - odpttrain_number (Union[Unset, str]):
odptrailway:Union[Unset, str]- 固有識別子の別名 多くが
odpt.hoge:fuga形式 odptoperator:Union[Unset, str]- 固有識別子の別名 多くが
odpt.hoge:fuga形式 odpttrain_type:Union[Unset, str]- 固有識別子の別名 多くが
odpt.hoge:fuga形式 odpttrain:Union[Unset, str]- 固有識別子の別名 多くが
odpt.hoge:fuga形式 odptcalendar: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['TrainTimetable']]]