Structures
- Coordinates
-
A set of WGS84 coordinates used to specify a location.
- DataPoint
-
A collection of lot data point that were collected together.
- GeoJson
- GeoJson.Feature
- GeoJson.Feature.Geometry
- Lot
-
A place where cars can be left to do whatever cars do when no one's around.
- Lot.Pricing
- Lot.OpeningHours
- Warning
Enumerations
- DateFormat
-
Pre-defined date format values for use with
String.date(withFormat:)
. - OpenParkingError
-
A general error type indicating failure during the loading or decoding of data.
- LotError
-
An error indicating that aggregating of data for a specific lot has failed. This is primary for use in
LotResult
. - Lot.Available
- Lot.State
- Lot.LotType
Protocols
- Datasource
Typealiases
- LotResult
Functions
- get(url:headers:session:completion:)
-
Send an asynchronous
GET
request to a specified URL with optional headers. - get(url:headers:session:)
-
Send a synchronous
GET
request to a specified URL with optional headers. Encountered errors will be thrown directly. - post(url:headers:body:session:completion:)
-
Send an asynchronous
POST
request to a specified URL with optional headers and body. - post(url:headers:body:session:)
-
Send a synchronous
POST
request to a specified URL with optional headers and body. Encountered errors will be thrown directly. - warning(_:lotName:source:)
-
Send a warning upstream that there is a potential incosistency in the data that should be investigated but was not severe enough to stop data collection for this lot.