{"repo":"phamleduy04/yahoo-stock-api","free":true,"listed":false,"github":"https://github.com/phamleduy04/yahoo-stock-api","clone":"git clone https://github.com/phamleduy04/yahoo-stock-api.git","description":"💰 NPM package to get stock and historical price from finance.yahoo.com","language":"TypeScript","stars":47,"topics":["nodejs","npm","yahoo-finance","scraper","cheerio","stock-prices","hacktoberfest"],"license":"MIT","category":"scrapers-browser-automation","readme_excerpt":"yahoo-stock-api 💰 NPM package to get stock and historical price from finance.yahoo.com ⚠️ Breaking changes ⚠️ v2.0.0 of this package have breaking changes and can affect your code, please review it and change according to the documentation below! ](https://badges.pufler.dev) Installaion npm i yahoo-stock-api or yarn add yahoo-stock-api if you use yarn. API Everything in this API will return Promise so remember to use async/await or callback getHistoricalPrices: async function({ startDate, endDate, symbol, frequency }) - startDate: Date - endDate: Date - symbol: String (stock symbol) - frequency: String ('1d', '1wk' or '1mo' only) - 1d: 1day - 1wk: 1 week - 1mo: 1 month Return Promise Example ### Code ### Response getSymbol({ symbol }) - symbol: String (stock symbol) Return Promise Example ### Code ### Response Test - Clone this Repo (git clone https://github.com/phamleduy04/yahoo-stock-api) - Open Terminal (Command Line) in the folder. - npm i - npm test Contributors ✨ Thanks goes to these wonderful people (emoji key): Duy Pham Le 💻 Rajat 🤔 Tommy Tang 💻 🐛 keiichi 💻 This project follows the all-contributors specification. Contributions of any kind welcome! License","default_branch":null,"files":null,"tree":[],"storefront":"/r/phamleduy04","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/phamleduy04/yahoo-stock-api/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}