sstrickx / yahoofinance-api

Java Client API for Yahoo Finance
MIT License
498 stars 219 forks source link

Help to understand how the YF API works #204

Closed kafran closed 1 year ago

kafran commented 1 year ago

I am trying to port this code to Swift. Can you help me to understand how the API works?

My first question is: why/or do we really need to deal with crumb and cookies? I have been sending requests to the following entry points from Insomnia and it seems to work:

Do you know if these entry points have a limit or throttling? Does someone know what these limits are?

I couldn't replicate the pattern to get the crumb and cookie from https://finance.yahoo.com/quote/%5EGSPC/options page. I can't find the form for cookie consent on this page, for example. That's why I asked if it's really necessary.