PtvTimetable (ptv_timetable v0.1.0)

Copy Markdown View Source

PtvTimetable provides a low-level API client to Transport Victoria's Timetable API.

Summary

Functions

Returns a specification to start this module under a supervisor.

Functions

child_spec(init_arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

request(arg, query)

@spec request(String.t(), Keyword.t()) ::
  {:ok, Finch.Response.t()} | {:error, Finch.error()}

start_link(args)