質問編集履歴
2
挿入できてると思います確認お願いします
test
CHANGED
File without changes
|
test
CHANGED
@@ -23,6 +23,56 @@
|
|
23
23
|
|
24
24
|
|
25
25
|
### 該当のソースコード
|
26
|
+
|
27
|
+
```# Tweepy
|
28
|
+
|
29
|
+
# Copyright 2009-2020 Joshua Roesslein
|
30
|
+
|
31
|
+
# See LICENSE for details.
|
32
|
+
|
33
|
+
|
34
|
+
|
35
|
+
"""
|
36
|
+
|
37
|
+
Tweepy Twitter API library
|
38
|
+
|
39
|
+
"""
|
40
|
+
|
41
|
+
__version__ = '3.10.0'
|
42
|
+
|
43
|
+
__author__ = 'Joshua Roesslein'
|
44
|
+
|
45
|
+
__license__ = 'MIT'
|
46
|
+
|
47
|
+
|
48
|
+
|
49
|
+
from tweepy.api import API
|
50
|
+
|
51
|
+
from tweepy.auth import AppAuthHandler, OAuthHandler
|
52
|
+
|
53
|
+
from tweepy.cache import Cache, FileCache, MemoryCache
|
54
|
+
|
55
|
+
from tweepy.cursor import Cursor
|
56
|
+
|
57
|
+
from tweepy.error import RateLimitError, TweepError
|
58
|
+
|
59
|
+
from tweepy.models import DirectMessage, Friendship, ModelFactory, SavedSearch, SearchResults, Status, User
|
60
|
+
|
61
|
+
from tweepy.streaming import Stream, StreamListener
|
62
|
+
|
63
|
+
|
64
|
+
|
65
|
+
# Global, unauthenticated instance of API
|
66
|
+
|
67
|
+
api = API()
|
68
|
+
|
69
|
+
|
70
|
+
|
71
|
+
def debug(enable=True, level=1):
|
72
|
+
|
73
|
+
from six.moves.http_client import HTTPConnection
|
74
|
+
|
75
|
+
HTTPConnection.debuglevel = level
|
26
76
|
|
27
77
|
# Tweepy
|
28
78
|
|
@@ -73,6 +123,8 @@
|
|
73
123
|
from six.moves.http_client import HTTPConnection
|
74
124
|
|
75
125
|
HTTPConnection.debuglevel = level
|
126
|
+
|
127
|
+
```
|
76
128
|
|
77
129
|
```ここに言語名を入力
|
78
130
|
|
1
ソースコードに書き込みしておきました????♀️
test
CHANGED
File without changes
|
test
CHANGED
@@ -76,7 +76,55 @@
|
|
76
76
|
|
77
77
|
```ここに言語名を入力
|
78
78
|
|
79
|
-
ソースコード
|
79
|
+
ソースコードTweepy
|
80
|
+
|
81
|
+
# Copyright 2009-2020 Joshua Roesslein
|
82
|
+
|
83
|
+
# See LICENSE for details.
|
84
|
+
|
85
|
+
|
86
|
+
|
87
|
+
"""
|
88
|
+
|
89
|
+
Tweepy Twitter API library
|
90
|
+
|
91
|
+
"""
|
92
|
+
|
93
|
+
__version__ = '3.10.0'
|
94
|
+
|
95
|
+
__author__ = 'Joshua Roesslein'
|
96
|
+
|
97
|
+
__license__ = 'MIT'
|
98
|
+
|
99
|
+
|
100
|
+
|
101
|
+
from tweepy.api import API
|
102
|
+
|
103
|
+
from tweepy.auth import AppAuthHandler, OAuthHandler
|
104
|
+
|
105
|
+
from tweepy.cache import Cache, FileCache, MemoryCache
|
106
|
+
|
107
|
+
from tweepy.cursor import Cursor
|
108
|
+
|
109
|
+
from tweepy.error import RateLimitError, TweepError
|
110
|
+
|
111
|
+
from tweepy.models import DirectMessage, Friendship, ModelFactory, SavedSearch, SearchResults, Status, User
|
112
|
+
|
113
|
+
from tweepy.streaming import Stream, StreamListener
|
114
|
+
|
115
|
+
|
116
|
+
|
117
|
+
# Global, unauthenticated instance of API
|
118
|
+
|
119
|
+
api = API()
|
120
|
+
|
121
|
+
|
122
|
+
|
123
|
+
def debug(enable=True, level=1):
|
124
|
+
|
125
|
+
from six.moves.http_client import HTTPConnection
|
126
|
+
|
127
|
+
HTTPConnection.debuglevel = level
|
80
128
|
|
81
129
|
```
|
82
130
|
|