Yahoo Finance API file_get_contents 429 Слишком много запросовPhp

Кемеровские программисты php общаются здесь
Ответить
Anonymous
 Yahoo Finance API file_get_contents 429 Слишком много запросов

Сообщение Anonymous »


I am using Yahoo Finance's API at https://query1.finance.yahoo.com/v8/fin ... art/Ticker with php's file_get_contents and getting "failed to open stream: HTTP request failed! HTTP/1.0 429 Too Many Requests" but when I use curl to the same URL from the command line of the server I get an actual response! I verified that both of the requests are coming from the same IP.

I am not sending many requests - I sent maybe 40 get requests last night and then my first request today failed. My question is - has anyone seen the same type of problem? I read that the limit was 100 requests per hour - which I was well under!

Any advice would be appreciated.


Источник: https://stackoverflow.com/questions/781 ... y-requests
Ответить

Быстрый ответ

Изменение регистра текста: 
Смайлики
:) :( :oops: :roll: :wink: :muza: :clever: :sorry: :angel: :read: *x)
Ещё смайлики…
   
К этому ответу прикреплено по крайней мере одно вложение.

Если вы не хотите добавлять вложения, оставьте поля пустыми.

Максимально разрешённый размер вложения: 15 МБ.

Вернуться в «Php»