Versions in this module Expand all Collapse all v0 v0.2.0 Jul 27, 2023 v0.1.0 Dec 16, 2020 Changes in this version + type Accessibility int + const Accessibility_CellularPhone + const Accessibility_Open + const Accessibility_Other + const Accessibility_Payment + const Accessibility_Rfid + const Accessibility_StandardKey + func (a Accessibility) String() string + type Attribute struct + ID AttributeID + Name string + Translation string + Value interface{} + ValueID string + type AttributeID string + const AttributeID_Accessibility + const AttributeID_AuxTypeId + const AttributeID_Availability + const AttributeID_ChargeMode + const AttributeID_ChargerId + const AttributeID_ChargingCapacity + const AttributeID_Connector + const AttributeID_ConnectorErrorStatus + const AttributeID_ConnectorSensorStatus + const AttributeID_ConnectorStatus + const AttributeID_EnergyCarrier + const AttributeID_Evseid + const AttributeID_FixedCable + const AttributeID_LastUsage + const AttributeID_Location + const AttributeID_Manufacturer + const AttributeID_MeterValue + const AttributeID_Open24h + const AttributeID_ParkingFee + const AttributeID_PaymentMethod + const AttributeID_PowerConsumption + const AttributeID_PublicFunding + const AttributeID_RealTimeInformation + const AttributeID_Reservable + const AttributeID_TimeLimit + const AttributeID_Timestamp + const AttributeID_VehicleType + const AttributeID_Voltage + type Availability int + const Availability_ByAppointment + const Availability_Employees + const Availability_Public + const Availability_Residents + const Availability_Visitors + func (a Availability) String() string + type ChargeMode int + const ChargeMode_Mode1 + const ChargeMode_Mode2 + const ChargeMode_Mode3 + const ChargeMode_Mode4 + func (a ChargeMode) String() string + type ChargingCapacity int + const ChargingCapacity_100KW500vdcMax200a + const ChargingCapacity_11KW400v3PhaseMax16a + const ChargingCapacity_135KW480vdcMax270a + const ChargingCapacity_150KWDc + const ChargingCapacity_20KW500vdcMax50a + const ChargingCapacity_22KW400v3PhaseMax32a + const ChargingCapacity_230v3PhaseMax16a + const ChargingCapacity_230v3PhaseMax32a + const ChargingCapacity_230v3PhaseMax63a + const ChargingCapacity_350Bar + const ChargingCapacity_350KWDc + const ChargingCapacity_3point6KW230v1PhaseMax16a + const ChargingCapacity_43KW400v3PhaseMax63a + const ChargingCapacity_50KW400vdcMax125a + const ChargingCapacity_50KW500vdcMax100a + const ChargingCapacity_700Bar + const ChargingCapacity_7point4KW230v1PhaseMax32a + const ChargingCapacity_BatteryExchange + const ChargingCapacity_LessThen100KWAnd22KW500vdcMax50aAnd400v3PhaseMax32a + const ChargingCapacity_LessThen100KWAnd43KW500vdcMax200aAnd400v3PhaseMax63a + const ChargingCapacity_Unspecified + func (a ChargingCapacity) String() string + type ChargingStation struct + Attributes map[AttributeID]*Attribute + Availability Availability + AvailableChargingPointCount int + ChargingPointCount int + City string + Connections []*Connection + ContactInfo string + County string + CountyID string + CreateTime time.Time + Description string + HouseNumber string + ID int + Image string + InternationalID string + LandCode string + Location Location + Municipality string + MunicipalityID string + Name string + Open24h Open24h + Owner string + ParkingFee ParkingFee + Position LatLng + PublicFunding PublicFunding + RealTimeInformation RealTimeInformation + StationStatus int + Street string + TimeLimit TimeLimit + UpdateTime time.Time + UserComment string + ZipCode string + func (c *ChargingStation) CSVHeader() []string + func (c *ChargingStation) CSVRecord() []string + type Client struct + func NewClient(apiKey string) *Client + func (c *Client) Dump(ctx context.Context, request *DumpRequest) (_ io.ReadCloser, err error) + func (c *Client) SearchNear(ctx context.Context, request *SearchNearRequest) (_ *SearchNearResponse, err error) + func (c *Client) SearchRectangle(ctx context.Context, request *SearchRectangleRequest) (_ *SearchRectangleResponse, err error) + func (c *Client) SetDumpURL(dumpURL string) + func (c *Client) SetHTTPClient(httpClient *http.Client) + func (c *Client) SetSearchURL(searchURL string) + type Connection struct + Accessibility Accessibility + Attributes map[AttributeID]*Attribute + ChargeMode ChargeMode + ChargingCapacity ChargingCapacity + Connector Connector + ConnectorErrorStatus ConnectorErrorStatus + ConnectorSensorStatus ConnectorSensorStatus + ConnectorStatus ConnectorStatus + EVSEID string + EnergyCarrier EnergyCarrier + FixedCable FixedCable + ID string + Manufacturer string + PaymentMethod PaymentMethod + Reservable Reservable + VehicleType VehicleType + func (c *Connection) CSVHeader() []string + func (c *Connection) CSVRecord() []string + type Connector int + const Connector_BlueIndustrial3Pin + const Connector_BlueIndustrial4Pin + const Connector_CcsCombo + const Connector_ChadeMo + const Connector_ChadeMoAndComboAndAcType2 + const Connector_ChadeMoAndType2 + const Connector_ComboAndChadeMo + const Connector_Hydrogen + const Connector_RedIndustrial5Pin + const Connector_Schuko + const Connector_TeslaConnectorModel + const Connector_TeslaConnectorRoadster + const Connector_Type1 + const Connector_Type1Type2 + const Connector_Type2 + const Connector_Type2AndDanishSection1072D1 + const Connector_Type2AndSchuko + func (a Connector) String() string + type ConnectorErrorStatus int + const ConnectorErrorStatus_ErrorOutOfService + const ConnectorErrorStatus_InService + func (a ConnectorErrorStatus) String() string + type ConnectorSensorStatus int + const ConnectorSensorStatus_BusyCharging + const ConnectorSensorStatus_Vacant + func (a ConnectorSensorStatus) String() string + type ConnectorStatus int + const ConnectorStatus_BusyCharging + const ConnectorStatus_Reserved + const ConnectorStatus_Vacant + func (a ConnectorStatus) String() string + type Date struct + Day int + Month time.Month + Year int + func (d *Date) MarshalJSON() ([]byte, error) + func (d *Date) UnmarshalString(s string) error + func (d Date) String() string + type DumpRequest struct + CountryCode string + Format Format + FromDate Date + NoRealTimeChargers bool + NoRealTimeUpdates bool + type EnergyCarrier int + const EnergyCarrier_Electricity + const EnergyCarrier_Hydrogen + func (a EnergyCarrier) String() string + type FixedCable int + const FixedCable_No + const FixedCable_Yes + func (a FixedCable) String() string + type Format string + const FormatJSON + const FormatXML + type JSONScanner struct + func NewJSONScanner(r io.Reader) *JSONScanner + func (s *JSONScanner) ChargingStation() *ChargingStation + func (s *JSONScanner) Err() error + func (s *JSONScanner) Scan() bool + type LatLng struct + Latitude float64 + Longitude float64 + func (l *LatLng) UnmarshalJSON(b []byte) error + func (l *LatLng) UnmarshalString(s string) (err error) + func (l LatLng) MarshalJSON() ([]byte, error) + func (l LatLng) String() string + type Location int + const Location_Airport + const Location_CarPark + const Location_EnergyStation + const Location_HotelsAndRestaurants + const Location_ShoppingCenter + const Location_Street + const Location_TransportHub + func (a Location) String() string + type Open24h int + const Open24h_No + const Open24h_Yes + func (a Open24h) String() string + type ParkingFee int + const ParkingFee_No + const ParkingFee_Yes + func (a ParkingFee) String() string + type PaymentMethod int + const PaymentMethod_AmericanExpress + const PaymentMethod_CellularPhone + const PaymentMethod_CellularPhoneChargingCard + const PaymentMethod_CoinMachine + const PaymentMethod_Diners + const PaymentMethod_MastercardVisa + const PaymentMethod_Miscellaneous + const PaymentMethod_MiscellaneousCards + const PaymentMethod_OtherCards + const PaymentMethod_Subscription + const PaymentMethod_VisaMastercard + const PaymentMethod_VisaMastercardChargingCard + func (a PaymentMethod) String() string + type PublicFunding int + const PublicFunding_ClimateStep + const PublicFunding_None + const PublicFunding_OsloKommune + const PublicFunding_Other + const PublicFunding_Transnova + func (a PublicFunding) String() string + type RealTimeInformation int + const RealTimeInformation_No + const RealTimeInformation_Yes + func (a RealTimeInformation) String() string + type Reservable int + const Reservable_No + const Reservable_Yes + func (a Reservable) String() string + type SearchNearRequest struct + Coordinate LatLng + DistanceMetres int + Limit int + type SearchNearResponse struct + Raw json.RawMessage + Results []*SearchNearResult + type SearchNearResult struct + ChargingStation *ChargingStation + DistanceMetres int + type SearchRectangleRequest struct + ExistingIDs []string + NorthEast LatLng + SouthWest LatLng + type SearchRectangleResponse struct + ChargingStations []*ChargingStation + Raw json.RawMessage + type TimeLimit int + const TimeLimit_No + const TimeLimit_Yes + func (a TimeLimit) String() string + type VehicleType int + const VehicleType_AllVehicleHydrogen + const VehicleType_AllVehicles + const VehicleType_ElectricBikes + const VehicleType_HydrogenCar + const VehicleType_HydrogenTruck + const VehicleType_PluginHybrids + const VehicleType_ShortVehicles + const VehicleType_TwoWheelMopedsMotorcycles + const VehicleType_Van + func (a VehicleType) String() string