Skip to content

Go API integration for kvberlin's doctor and therapist search

Notifications You must be signed in to change notification settings

Vector-Hector/kvberlin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kvberlin Go Integration

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.

Usage

go get github.com/Vector-Hector/kvberlin

Example

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)
	}
}

License

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.

About

Go API integration for kvberlin's doctor and therapist search

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages