Our great sponsors
-
asyncpraw
Async PRAW, an abbreviation for "Asynchronous Python Reddit API Wrapper", is a python package that allows for simple access to Reddit's API.
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
If you check out the documentation https://github.com/praw-dev/asyncpraw there are a few examples. If I had to guess, the problem lies with the for loop / Asunción.sleep. You should do something like ‘await subreddit.new(limit=1)’ and not ‘await Asunción.sleep(10)’. I don’t actually have any experience with the async praw wrapper, but typically you need to wait for the action to be complete and not just waiting an arbitrary amount of time