From: Josh Roesslein Date: Mon, 6 Jul 2009 00:38:46 +0000 (-0500) Subject: Added mensions endpoint. X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=5f31944d42fec441096e4809c21e99e105015c75;p=tweepy.git Added mensions endpoint. --- diff --git a/api.py b/api.py index 3933623..9c48d0a 100644 --- a/api.py +++ b/api.py @@ -40,4 +40,12 @@ class API(object): 'max_id', 'count', 'page'] ) + """Get mentions""" + mentions = bind_api( + path = '/statuses/mentions.json', + parser = parse_statuses, + allowed_param = ['since_id', 'max_id', 'count', 'page'], + require_auth = True + ) + api = API('jitterapp', 'josh1987')