-
-
Notifications
You must be signed in to change notification settings - Fork 4.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for COVID-19 stream #1790
Comments
This was originally part of #1472 with support for Labs. I'm not adverse to doing so, but there's the question of how much longer this endpoint will continue to exist. I'm also not sure it would a good idea to advertise support for it, as that might lead to questions about how to obtain access to it. I've reached back out to Twitter about this, and I'm going to wait to hear back before proceeding with anything. |
Hi from @twitterdev - as mentioned above, we're delighted to see the interest in adding this endpoint as formally supported in tweepy, but since there are no plans to provide new access (and this endpoint will in the future be retired, as it was always intended as a point-in-time research tool), and we would not want to set an expectation that this functionality is available to new developers, it might be an idea to leave this as a separate branch rather than part of the core code. Just my 2c. |
@utanashati As part of adding support for streaming with Twitter API v2 with 86244c1, I've refactored |
With the COVID-19 stream endpoint being deprecated, as part of Twitter Developer Labs being deprecated, and set to be retired on October 31, 2022, and with #1791 incomplete, I'm going to close this now. |
Hi! I've been successfully using tweepy for streaming from POST statuses/filter in a research lab. Now I'd like to rewrite the app that streams from the COVID-19 stream with tweepy as well, since it has all the necessary wrappings for Twitter connections. The endpoint is GET /labs/1/tweets/stream/covid19 + partition query (4 partitions total to boost throughput, this is a huge stream with 10mils tweets per day).
I imagine this could easily be done by adding a function like
tweepy.Stream.filter/sample
tostreaming.py
and allowing custom urls intweepy.Stream._connect
. I think adding this feature could help other researchers to stream from the COVID-19 stream easier.The text was updated successfully, but these errors were encountered: