https://github.com/zackify/stock-api
get latest stock price data using puppeteer and google
https://github.com/zackify/stock-api
Last synced: 12 months ago
JSON representation
get latest stock price data using puppeteer and google
- Host: GitHub
- URL: https://github.com/zackify/stock-api
- Owner: zackify
- Created: 2021-02-07T01:12:14.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2021-02-07T01:20:42.000Z (about 5 years ago)
- Last Synced: 2025-03-17T02:48:42.702Z (12 months ago)
- Language: JavaScript
- Homepage:
- Size: 10.7 KB
- Stars: 8
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
### Setup
```
npm i
npm start
```
### Usage
```
request /stock/:symbol
ex: /stock/gme
```
First time you request it, it waits for the price to come through, after that it will return immediately and update in the background.
You can optionally request the data on an interval (i have it commented out) in case you want to auto update in the background without making an api request