Skip to content

Install

The Poli Page Go SDK ships as the Go module github.com/poli-page/sdk-go. It requires Go 1.25 or later and depends only on the standard library.

Terminal window
go get github.com/poli-page/sdk-go@latest

The constructor lives in the top-level polipage package; functional options live in the option subpackage.

The SDK targets Go 1.25 and tracks the language’s own support window (the latest two minors). See runtime support for the full matrix.

package main
import (
"os"
"github.com/poli-page/sdk-go"
"github.com/poli-page/sdk-go/option"
)
func main() {
_ = polipage.NewClient(
option.WithAPIKey(os.Getenv("POLI_PAGE_API_KEY")),
)
}