Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/imthaghost/stockapi
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.
https://github.com/imthaghost/stockapi
api go golang restful-api yahoo-finance
Last synced: 15 days ago
JSON representation
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.
- Host: GitHub
- URL: https://github.com/imthaghost/stockapi
- Owner: imthaghost
- Created: 2020-03-03T03:47:46.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-07-23T02:07:26.000Z (over 4 years ago)
- Last Synced: 2023-08-13T07:27:04.972Z (over 1 year ago)
- Topics: api, go, golang, restful-api, yahoo-finance
- Language: Go
- Homepage:
- Size: 9.24 MB
- Stars: 27
- Watchers: 3
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
A Go Restful API that scrapes real-time stock data from Yahoo Finance.
## Table of Contents
- [Installation](#installation)
- [Examples](#examples)
- [License](#license)## 🚀 Quick Start
### Installation
```sh
$ go get https://github.com/imthaghost/stockapi
```### Instantiate API
Create `server.go`
```go
package main
import (
"github.com/imthaghost/stockapi/server"
)
func main() {
s := server.NewServer()
s.Start(":8000")}
```
Start server
```sh
$ go run server.go
```## Examples
![Postman](/docs/media/postman.gif)
## 📝 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](http://choosealicense.com/licenses/mit/) that covers the project. Feel free to contact the maintainers if that's a concern.