I have a link with some data link to the json file. I want in python to make a script who get the id value.
Can someone help me, I have done that but it keep saying that { "response": "Too many requests" }
My code :
response_API = requests.get('https://api.scratch.mit.edu/users/FlyPhoenix/') data = response_API.text print(data)
2
Answers
This solution might work for you:
print() will display the ID you want.
About
{ "response": "Too many requests" }
:Obviously, your rate of requests has been too high and the server is not willing to accept this.
You should not seek to "dodge" this, or even try to circumvent server security settings by trying to spoof your IP, you should simply respect the server’s answer by not sending too many requests. (as says in How to avoid HTTP error 429 (Too Many Requests) python)
Additional solution: