codex

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2026 License: MIT Imports: 11 Imported by: 0

Documentation

Overview

Package codex implements the Codex OAuth API usage provider.

Reads credentials from ~/.codex/auth.json (or $CODEX_HOME/auth.json), hits chatgpt.com/backend-api/wham/usage for session/weekly metrics and credits balance.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Provider

type Provider struct{}

Provider fetches Codex usage data.

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