Skip to content

oze4/fmpgo

Repository files navigation

fmpgo

fmpcloud.io client in golang

WORK IN PROGRESS

This repo is a WIP.

API Design

Our API is designed to mirror fmpcloud.io documentation.

Consider the following hierarchy...

fmpcloud_sidebar

Each 'category' has 'actions'...

fmpcloud_stockTimeSeries

The path above will match up with our API, so it's easy to follow the docs and use this library...

// Build fmpcloud.io client with your own client (optional)
httpclient := &http.Client{}
fmpclient := fmpgo.NewWithClient(httpclient, "<your_api_key>")
// Get quotes
quotes, _ := fmpclient.StockTimeSeries().RealTimeQuote([]string{"ABCD"}) // -> []fmpgo.Quote, error