xemwebe / yahoo_finance_api

Simple wrapper to yahoo! finance API to retrieve latest quotes and end-of-day quote histories
Apache License 2.0
64 stars 29 forks source link

Please add api call to get all tickers #8

Closed venil7 closed 3 years ago

venil7 commented 3 years ago

At the moment tickers dont come from API, need to be added manually

is it possible to fetch tickers from API ?

PS: after little research i learned that you can make the following request

https://uk.finance.yahoo.com/_finance_doubledown/api/resource/searchassist;searchTerm={PARTIAL_SYMBOL_HERE}
xemwebe commented 3 years ago

Thanks for the suggestion, that shouldn't be to complicated and would indeed be helpful. I will have closer look at this.

xemwebe commented 3 years ago

I have just pushed a new branch add_ticker_search, which should do just what you requested. I have included as much information from the request response as seems useful, please let me know if something is missing before I merge it to master.

venil7 commented 3 years ago

@xemwebe That looks good to me, thanks for your effort!!

xemwebe commented 3 years ago

I have merged the branch into master and published the crate with version number 1.1.0, therefore I close this issue.