rapidapi

package module
v0.0.0-...-af28fef Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const StockSummaryURI = "https://apidojo-yahoo-finance-v1.p.rapidapi.com/stock/v2/get-summary?region=US&symbol=%s"
View Source
const (
	USDCOP = "COP%3DX"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type RapidAPI

type RapidAPI struct {
	Uri    string
	Header struct {
		Key  string `json:"key"`
		Host string `json:"host"`
	}
}

func (*RapidAPI) GetCredentialsFromFile

func (api *RapidAPI) GetCredentialsFromFile(filename string) error

func (*RapidAPI) GetCurrentValue

func (api *RapidAPI) GetCurrentValue(symbol string) (float64, error)

Jump to

Keyboard shortcuts

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