This is an unofficial API integration of the doctor- and therapist search of kvberlin. If you want to use this library, you'll need to ask them for permission.
go get github.com/Vector-Hector/kvberlin
package main
import (
"fmt"
"github.com/Vector-Hector/kvberlin"
)
func main() {
session, err := kvberlin.NewSession()
if err != nil {
panic(err)
}
doctors, err := session.Search(&kvberlin.DoctorSearchRequest{
Dist: 6,
Lon: "13.3778446",
Lat: "52.5162857",
TargetGroup: "E",
})
if err != nil {
panic(err)
}
for _, doctor := range doctors {
fmt.Println("Found doctor", doctor.Name)
}
}I publish my own contribution under the MIT license. Kvberlin may have intellectual property associated with the API format itself, so ask them if you want to use this library.