Crates.io | yahoo_tick_grabber |
lib.rs | yahoo_tick_grabber |
version | 0.1.7 |
source | src |
created_at | 2024-05-25 07:07:55.48524 |
updated_at | 2024-07-14 06:29:43.116879 |
description | A wrapper API around reqwest library that as of currently returns a string containing the information about a ticker off Yahoo Finance |
homepage | https://github.com/marcusasdgg |
repository | https://github.com/marcusasdgg/yahoo_test |
max_upload_size | |
id | 1251772 |
size | 52,763 |
This is a package meant to simplify the grabbing of data off a given ticker. Written using the Reqwest library. It provides a struct object called YahooConnect which is a thread safe object which stores the cookie and "crumb" needed to access the Yahoo website and grab the data off it. the get_ticker method with argument &str will return a struct containing all fields of the JSON that yahoo provides. the implementation of the struct is an array of JSONS which each refer to a single stock request, allowing you to combine multiple stock requests into a single YAHOOCONNECT request by separating with a Comma, i.e AAPL,TSLA.