Page:
classes.Client
Pages
Home
Raw Functions
classes.BoardArrival
classes.BoardDeparture
classes.Channel
classes.Client.board_arrival
classes.Client.board_departure
classes.Client.him_search
classes.Client.journey_detail
classes.Client
classes.Client.stop_by_coords
classes.Client.stop_by_id
classes.Client.stop_by_name
classes.Client.trip_find
classes.Client.trip_recon
classes.Gis
classes.Journey
classes.Leg
classes.LineArrival
classes.LineDeparture
classes.Message
classes.Stop
classes.StopTrip
classes.Ticket
classes.Trip
classes.Url
Table of Contents
This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
Client
You are now viewing the main class of the module, all available higher-level methods can be found here.
This page is about the Client class, which exposes high-level methods for an easy access to the API.
from pyrmv import Client
client = Client("SampleAPIKey")
print(client.stop_by_id("A=1@O=Offenbach (Main)-Zentrum Marktplatz\/Frankf. Straße@X=8764456@Y=50105181@U=80@L=3002510@"))
Details
Parameters
- access_key (
str
) – Access ID for identifying the requesting client. Get your key on RMV website.
Methods
- board_arrival ->
BoardArrival
- board_departure ->
BoardDeparture
- him_search ->
List[Message]
- journey_detail ->
Journey
- stop_by_coords ->
List[Stop]
- stop_by_id ->
Union[Stop, None]
- stop_by_name ->
List[Stop]
- trip_find ->
List[Trip]
- trip_recon ->
List[Trip]
Home
Classes
Methods
- board_arrival
- board_departure
- him_search
- journey_detail
- stop_by_coords
- stop_by_id
- stop_by_name
- trip_find
- trip_recon