Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 17 days 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 (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-07-01T04:58:36.000Z (over 3 years ago)
- Last Synced: 2024-11-21T06:18:52.378Z (about 2 months 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...
![fmpcloud_sidebar](https://raw.githubusercontent.com/oze4/fmpgo/main/.github/docs/img/sidebar.png)
Each 'category' has 'actions'...
![fmpcloud_stockTimeSeries](https://raw.githubusercontent.com/oze4/fmpgo/main/.github/docs/img/stockTimeSeries_Sidebar.png)
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
```