Documentation ¶
Overview ¶
Package place provides a client for Ordnance Survey's Places API.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Address ¶
type AddressDetails ¶ added in v0.1280.0
type AddressDetails struct { Address string `json:"ADDRESS"` SubBuildingName string `json:"SUB_BUILDING_NAME"` BuildingName string `json:"BUILDING_NAME"` BuildingNumber string `json:"BUILDING_NUMBER"` ThoroughFareName string `json:"THOROUGHFARE_NAME"` DependentLocality string `json:"DEPENDENT_LOCALITY"` Town string `json:"POST_TOWN"` Postcode string `json:"POSTCODE"` }
func (*AddressDetails) TransformToAddress ¶ added in v0.1280.0
func (ad *AddressDetails) TransformToAddress() Address
type BadRequestError ¶
func (BadRequestError) Error ¶
func (b BadRequestError) Error() string
type ResultSet ¶
type ResultSet struct {
AddressDetails AddressDetails `json:"DPA"`
}
Click to show internal directories.
Click to hide internal directories.