Telnyx Seti Go

Access SETI (Space Exploration Telecommunications Infrastructure) APIs. This skill provides Go SDK examples.

team-telnyx Updated

File contents

Telnyx Seti - Go

Installation

go get github.com/team-telnyx/telnyx-go

Setup

import (
  "context"
  "fmt"
  "os"

  "github.com/team-telnyx/telnyx-go"
  "github.com/team-telnyx/telnyx-go/option"
)

client := telnyx.NewClient(
  option.WithAPIKey(os.Getenv("TELNYX_API_KEY")),
)

All examples below assume client is already initialized as shown above.

Retrieve Black Box Test Results

Returns the results of the various black box tests

GET /seti/black_box_test_results

	response, err := client.Seti.GetBlackBoxTestResults(context.TODO(), telnyx.SetiGetBlackBoxTestResultsParams{})
	if err != nil {
		panic(err.Error())
	}
	fmt.Printf("%+v\n", response.Data)

team-telnyx/telnyx-toolkit/tree/main/api/go/telnyx-seti-go commit 06e99f8e33

Frequently asked questions

npx skillmds@latest add team-telnyx/telnyx-seti-go