stockapi
stockapi copied to clipboard
Stock data Rest-ful API built in Go. Various endpoints regarding stock data scraped directly from Yahoo Finance. Use this for a quick start regarding stock data.
A Go Restful API that scrapes real-time stock data from Yahoo Finance.
Table of Contents
- Installation
- Examples
- License
🚀 Quick Start
Installation
$ go get https://github.com/imthaghost/stockapi
Instantiate API
Create server.go
package main
import (
"github.com/imthaghost/stockapi/server"
)
func main() {
s := server.NewServer()
s.Start(":8000")
}
Start server
$ go run server.go
Examples
📝 License
By contributing, you agree that your contributions will be licensed under its MIT License.
In short, when you submit code changes, your submissions are understood to be under the same MIT License that covers the project. Feel free to contact the maintainers if that's a concern.