projects
/
tweepy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c78f9a8
)
Changing the path for report_spam.json according to API 1.1 docs
author
Oire
<andre@oire.org>
Fri, 15 Mar 2013 13:08:17 +0000
(15:08 +0200)
committer
Oire
<andre@oire.org>
Fri, 15 Mar 2013 13:08:17 +0000
(15:08 +0200)
tweepy/api.py
patch
|
blob
|
blame
|
history
diff --git
a/tweepy/api.py
b/tweepy/api.py
index b0fbb905777e40711bf6bbac7a68ab0c5d76ffbd..1eaaf9102a174bbbc83fe66f4f6fbbbfa8bc42a4 100644
(file)
--- a/
tweepy/api.py
+++ b/
tweepy/api.py
@@
-451,10
+451,10
@@
class API(object):
""" report_spam """
report_spam = bind_api(
- path = '/report_spam.json',
+ path = '/
users/
report_spam.json',
method = 'POST',
payload_type = 'user',
- allowed_param = ['
id', '
user_id', 'screen_name'],
+ allowed_param = ['user_id', 'screen_name'],
require_auth = True
)