Python: How can i send more requests as fast as possible?

Viewed 53

i am currently working on a program which sends post requests to a API to change the username of an account.

Using multithreading i can reach around 20 requests in 0.72 seconds, But what i need to be able to do is to send around 1000+ in 1 second.

post request:

snipe = requests.post('https://api.mojang.com/user/profile/private/name', headers= {'Authorization': f"Bearer {token}"}, json= auth)

any help will be appreciated

0 Answers
Related