Module python_odpt.api.default.data_retrieve_operations_retrieve

Functions

async def asyncio(data_uri: str, *, client: Union[AuthenticatedClient, Client], aclconsumer_key: str) ‑> Union[Any, List[Union[Calendar, Operator, Station, StationTimetable, TrainTimetable, TrainType, RailDirection, Railway, RailwayFare, PassengerSurvey, BusTimetable, BusroutePattern, BusroutePatternFare, BusstopPole, BusstopPoleTimetable, Airport, AirportTerminal, FlightSchedule, FlightStatus]], None]

データ取得API

Args

data_uri (str):
aclconsumer_key : str
アクセストークン

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[OUTPUT_TYPES]]

async def asyncio_detailed(data_uri: str, *, client: Union[AuthenticatedClient, Client], aclconsumer_key: str) ‑> Response[typing.Union[typing.Any, typing.List[typing.Union[Calendar, Operator, Station, StationTimetable, TrainTimetable, TrainType, RailDirection, Railway, RailwayFare, PassengerSurvey, BusTimetable, BusroutePattern, BusroutePatternFare, BusstopPole, BusstopPoleTimetable, Airport, AirportTerminal, FlightSchedule, FlightStatus]]]]

データ取得API

Args

data_uri (str):
aclconsumer_key : str
アクセストークン

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[OUTPUT_TYPES]]]

def sync(data_uri: str, *, client: Union[AuthenticatedClient, Client], aclconsumer_key: str) ‑> Union[Any, List[Union[Calendar, Operator, Station, StationTimetable, TrainTimetable, TrainType, RailDirection, Railway, RailwayFare, PassengerSurvey, BusTimetable, BusroutePattern, BusroutePatternFare, BusstopPole, BusstopPoleTimetable, Airport, AirportTerminal, FlightSchedule, FlightStatus]], None]

データ取得API

Args

data_uri (str):
aclconsumer_key : str
アクセストークン

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[OUTPUT_TYPES]]

def sync_detailed(data_uri: str, *, client: Union[AuthenticatedClient, Client], aclconsumer_key: str) ‑> Response[typing.Union[typing.Any, typing.List[typing.Union[Calendar, Operator, Station, StationTimetable, TrainTimetable, TrainType, RailDirection, Railway, RailwayFare, PassengerSurvey, BusTimetable, BusroutePattern, BusroutePatternFare, BusstopPole, BusstopPoleTimetable, Airport, AirportTerminal, FlightSchedule, FlightStatus]]]]

データ取得API

Args

data_uri (str):
aclconsumer_key : str
アクセストークン

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[OUTPUT_TYPES]]]