From cbfec150dfffb63abae8c0e6edd137d02a0fe417 Mon Sep 17 00:00:00 2001 From: Ryan McGrath Date: Thu, 2 Apr 2020 23:28:35 -0700 Subject: [PATCH] Close #486 - given how long ago this was deprecated I'll assume it's not even used --- twython/streaming/types.py | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/twython/streaming/types.py b/twython/streaming/types.py index 81c5c07..27c9ea8 100644 --- a/twython/streaming/types.py +++ b/twython/streaming/types.py @@ -20,26 +20,6 @@ class TwythonStreamerTypes(object): self.streamer = streamer self.statuses = TwythonStreamerTypesStatuses(streamer) - def user(self, **params): - """Stream user - - Accepted params found at: - https://dev.twitter.com/docs/api/1.1/get/user - """ - url = 'https://userstream.twitter.com/%s/user.json' \ - % self.streamer.api_version - self.streamer._request(url, params=params) - - def site(self, **params): - """Stream site - - Accepted params found at: - https://dev.twitter.com/docs/api/1.1/get/site - """ - url = 'https://sitestream.twitter.com/%s/site.json' \ - % self.streamer.api_version - self.streamer._request(url, params=params) - class TwythonStreamerTypesStatuses(object): """Class for different statuses endpoints