ex_metra v0.1.0 ExMetra.StopTime

Represents a response from the stop_time API call

Link to this section Summary

Functions

Converts a map that was provided by the Poison library, which represents a JSON object and turns it into a StopTime struct

The specific part of the url that will call the stop time API

Link to this section Types

Link to this type t()
t() :: %ExMetra.StopTime{arrival_time: Time.t(), bikes_allowed: boolean(), center_boarding: boolean(), departure_time: Time.t(), drop_off_type: integer(), notice: boolean(), pickup_type: integer(), south_boarding: boolean(), stop_id: String.t(), stop_sequence: integer(), trip_id: String.t()}

Link to this section Functions

Link to this function from_json(json)
from_json(map()) :: ExMetra.StopTime.t()

Converts a map that was provided by the Poison library, which represents a JSON object and turns it into a StopTime struct

The specific part of the url that will call the stop time API