kimik2

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2026 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

Package kimik2 implements the Kimi K2 credits provider.

Auth: KIMI_K2_API_KEY (or KIMI_API_KEY / KIMI_KEY) environment variable. Endpoint: GET https://kimi-k2.ai/api/user/credits

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Provider

type Provider struct{}

Provider fetches Kimi K2 usage data.

func (Provider) BrandBg added in v0.3.0

func (Provider) BrandBg() string

func (Provider) BrandColor

func (Provider) BrandColor() string

func (Provider) Fetch

func (Provider) ID

func (Provider) ID() string

func (Provider) MetricIDs

func (Provider) MetricIDs() []string

func (Provider) Name

func (Provider) Name() string

Jump to

Keyboard shortcuts

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