1.0.3 • Published 2 years ago

@anthony16t/yahoo-data v1.0.3

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

Scrape data from yahoo finance

--------- Use for leaning only ---------

import YahooData from "@anthony16t/yahoo-data";
const yahooData = new YahooData()

All functions return false or api data, alway check to see if returned value is not false.

Get symbol (stock) website url return false | string(url)

const webUrl = await yahooData.symbolSite('FB')

Get symbols quotes

const quotes = await yahooData.quotes(['FB',"TSLA"])

Get symbols logo from tradingView

const logo = await yahooData.symbolLogo('FB')

------- MODULE NOT FINISHED YET -------