How to make the async requests?


I’m developing the async application with uvicorn. One of the schedular function need to make more than 400 http request and it takes around 3 minutes to complete.

It will be great requests library officially support async but it’s not, may be in the near future. And I see the requests-thread in github page. I tried that it gave me error and I can’t able to make it work.

Can you please give me suggestion how do I proceed with async requests in apistar


Use ‘aiorequests’

Version 3 of ‘requests’ will support async usage too, it’s possible that that’s already in a usable state.


I see two aiorequests in github. You mean this ? or ?


Sorry, misremembered the name. aiohttp


you can also use gevent !