Help us shape the future of Go! Take the 2026 Go Developer Survey

polymarket

package
v0.11.792 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2026 License: Apache-2.0 Imports: 1 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 {
	Order            string `yaml:"order,omitempty" json:"order,omitempty" mapstructure:"order"`
	Ascending        string `yaml:"ascending,omitempty" json:"ascending,omitempty" mapstructure:"ascending"`
	Slug             string `yaml:"slug,omitempty" json:"slug,omitempty" mapstructure:"slug"`
	Closed           string `yaml:"closed,omitempty" json:"closed,omitempty" mapstructure:"closed"`
	Live             string `yaml:"live,omitempty" json:"live,omitempty" mapstructure:"live"`
	Active           string `yaml:"active,omitempty" json:"active,omitempty" mapstructure:"active"`
	Archived         string `yaml:"archived,omitempty" json:"archived,omitempty" mapstructure:"archived"`
	Featured         string `yaml:"featured,omitempty" json:"featured,omitempty" mapstructure:"featured"`
	TagID            string `yaml:"tag_id,omitempty" json:"tag_id,omitempty" mapstructure:"tag_id"`
	TagSlug          string `yaml:"tag_slug,omitempty" json:"tag_slug,omitempty" mapstructure:"tag_slug"`
	SeriesID         string `yaml:"series_id,omitempty" json:"series_id,omitempty" mapstructure:"series_id"`
	IncludeChat      string `yaml:"include_chat,omitempty" json:"include_chat,omitempty" mapstructure:"include_chat"`
	IncludeTemplate  string `yaml:"include_template,omitempty" json:"include_template,omitempty" mapstructure:"include_template"`
	IncludeMarkets   string `yaml:"include_markets,omitempty" json:"include_markets,omitempty" mapstructure:"include_markets"`
	ClobTokenIDs     string `yaml:"clob_token_ids,omitempty" json:"clob_token_ids,omitempty" mapstructure:"clob_token_ids"`
	ConditionIDs     string `yaml:"condition_ids,omitempty" json:"condition_ids,omitempty" mapstructure:"condition_ids"`
	QuestionIDs      string `yaml:"question_ids,omitempty" json:"question_ids,omitempty" mapstructure:"question_ids"`
	RelatedTags      string `yaml:"related_tags,omitempty" json:"related_tags,omitempty" mapstructure:"related_tags"`
	IncludeTag       string `yaml:"include_tag,omitempty" json:"include_tag,omitempty" mapstructure:"include_tag"`
	RFQEnabled       string `yaml:"rfq_enabled,omitempty" json:"rfq_enabled,omitempty" mapstructure:"rfq_enabled"`
	Limit            string `yaml:"limit,omitempty" json:"limit,omitempty" mapstructure:"limit"`
	Offset           string `yaml:"offset,omitempty" json:"offset,omitempty" mapstructure:"offset"`
	ParentEntityID   string `yaml:"parent_entity_id,omitempty" json:"parent_entity_id,omitempty" mapstructure:"parent_entity_id"`
	ParentEntityType string `yaml:"parent_entity_type,omitempty" json:"parent_entity_type,omitempty" mapstructure:"parent_entity_type"`
	Market           string `yaml:"market,omitempty" json:"market,omitempty" mapstructure:"market"`
	User             string `yaml:"user,omitempty" json:"user,omitempty" mapstructure:"user"`
	Q                string `yaml:"q,omitempty" json:"q,omitempty" mapstructure:"q"`
	EventsStatus     string `yaml:"events_status,omitempty" json:"events_status,omitempty" mapstructure:"events_status"`
	MarketsStatus    string `yaml:"markets_status,omitempty" json:"markets_status,omitempty" mapstructure:"markets_status"`
	TokenID          string `yaml:"token_id,omitempty" json:"token_id,omitempty" mapstructure:"token_id"`
	Side             string `yaml:"side,omitempty" json:"side,omitempty" mapstructure:"side"`
	Interval         string `yaml:"interval,omitempty" json:"interval,omitempty" mapstructure:"interval"`
	Fidelity         string `yaml:"fidelity,omitempty" json:"fidelity,omitempty" mapstructure:"fidelity"`
	TakerOnly        string `yaml:"taker_only,omitempty" json:"taker_only,omitempty" mapstructure:"taker_only"`
	FilterType       string `yaml:"filter_type,omitempty" json:"filter_type,omitempty" mapstructure:"filter_type"`
	FilterAmount     string `yaml:"filter_amount,omitempty" json:"filter_amount,omitempty" mapstructure:"filter_amount"`
	EventID          string `yaml:"event_id,omitempty" json:"event_id,omitempty" mapstructure:"event_id"`
	Type             string `yaml:"type,omitempty" json:"type,omitempty" mapstructure:"type"`
}

func (Config) GetIngestrURI

func (c Config) GetIngestrURI() string

Jump to

Keyboard shortcuts

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