https://github.com/matthewoestreich/fmpgo
fmpcloud.io client in golang
https://github.com/matthewoestreich/fmpgo
fmpcloud fmpcloudio stock-api stock-market stock-market-api stocks
Last synced: over 1 year ago
JSON representation
fmpcloud.io client in golang
- Host: GitHub
- URL: https://github.com/matthewoestreich/fmpgo
- Owner: matthewoestreich
- License: mit
- Created: 2021-06-29T21:55:28.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2021-07-01T04:58:36.000Z (about 5 years ago)
- Last Synced: 2025-02-15T14:33:01.207Z (over 1 year ago)
- Topics: fmpcloud, fmpcloudio, stock-api, stock-market, stock-market-api, stocks
- Language: Go
- Homepage: https://mattoestreich.com
- Size: 192 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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](https://fmpcloud.io/documentation).
Consider the following hierarchy...

Each 'category' has 'actions'...

The path above will match up with our API, so it's easy to follow the docs and use this library...
```golang
// Build fmpcloud.io client with your own client (optional)
httpclient := &http.Client{}
fmpclient := fmpgo.NewWithClient(httpclient, "")
// Get quotes
quotes, _ := fmpclient.StockTimeSeries().RealTimeQuote([]string{"ABCD"}) // -> []fmpgo.Quote, error
```