BlueHive Go API Library

A native Go SDK for building high-performance applications with BlueHive Health. Idiomatic Go patterns with full error handling.

Installation

Terminal
go get github.com/bluehive-health/bluehive-sdk-go
Package: github.com/bluehive-health/bluehive-sdk-goView on pkg.go.dev

Features

  • Idiomatic Go API design
  • Context-based cancellation
  • Automatic retries
  • Pagination support
  • Streaming support
  • Go 1.21+ compatible

Quick Example

Go
package main

import (
  "context"
  "fmt"
  bluehive "github.com/bluehive-health/bluehive-sdk-go"
)

func main() {
  client := bluehive.NewClient(
    bluehive.WithAPIKey("your-api-key"),
  )

  providers, err := client.Providers.Lookup(
    context.TODO(),
    bluehive.ProviderLookupParams{
      ZipCode: bluehive.String("46802"),
    },
  )
  if err != nil {
    panic(err)
  }

  fmt.Println(providers)
}
Chat with Bea