satismeter

package
v0.11.749 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 4, 2026 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

func NewClient

func NewClient(c Config) (*Client, error)

func (*Client) GetIngestrURI

func (c *Client) GetIngestrURI() (string, error)

type Config

type Config struct {
	// APIKey is the project-scoped SatisMeter API key (Settings > Integrations >
	// API), sent as a bearer token. Required.
	APIKey string
	// ProjectID is the project the key belongs to. Every endpoint is nested under
	// /projects/{projectId}, so it cannot be inferred from the key. Required.
	ProjectID string
}

Config holds the credentials required to connect to the SatisMeter REST API v3.

func (*Config) GetIngestrURI

func (c *Config) GetIngestrURI() (string, error)

GetIngestrURI builds the ingestr source URI for SatisMeter. Format: satismeter://?api_key=<api_key>&project_id=<project_id>

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL