mirror of
https://github.com/kevin-DL/m3o-go.git
synced 2026-01-12 02:45:11 +00:00
17 lines
359 B
Go
Executable File
17 lines
359 B
Go
Executable File
package main
|
|
|
|
import (
|
|
"fmt"
|
|
"os"
|
|
|
|
"go.m3o.com/evchargers"
|
|
)
|
|
|
|
// Retrieve reference data as used by this API and in conjunction with the Search endpoint
|
|
func main() {
|
|
evchargersService := evchargers.NewEvchargersService(os.Getenv("M3O_API_TOKEN"))
|
|
rsp, err := evchargersService.ReferenceData(&evchargers.ReferenceDataRequest{})
|
|
fmt.Println(rsp, err)
|
|
|
|
}
|