Replies: 1 comment 1 reply
-
I'm considering changing For now, as a workaround, with #1997, which resulted from a conversation about this in the Tweepy Discord server, you can use a |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello folks,
From what I know, when returning the response object, we don't have information about headers and I find it restrictive.
Ok, when instantiating the client (I'm using the v2 client) we can specify
requests.Response
asreturn_type
but we lose all the advantages thetweepy.Response
gives.The issue here is that I want to know how many more requests I can make in the reserved window. I think I saw in another thread that there is a method we can call to have this issue, but... it is another network call.
My solution is to add
headers
information (response headers) to the response data structure. What do you think?Beta Was this translation helpful? Give feedback.
All reactions