cnndotcom

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Referer              = "https://money.cnn.com"
	FearAndGreedIndexUrl = "https://money.cnn.com/data/fear-and-greed/"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	Referer string
}

func New

func New() *Client

Constructor

func (*Client) GetChartImgBase64

func (c *Client) GetChartImgBase64(ticker string) (string, error)

Get base64 encoded bytes for chart image by security ticker

Jump to

Keyboard shortcuts

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