Commit f60394d1 authored by Josh Roesslein's avatar Josh Roesslein
Browse files

Add Status.retweet, Status.favorite, and Status.retweets methods.

parent 06fa943f
......@@ -18,11 +18,18 @@ during upgrade will be listed here.
Parser updated to handle cursor responses. See above.
+ Fix Status.source_url parsing
+ Fix search result 'source' parsing to properly unescape html and extract source
+ Cursor
Added the Cursor object to help with pagination within the API.
Please see the pagination tutorial for more details (tutorial/t6).
This is the recommended way for using the 'page' and 'cursor' parameters.
+ Models
+ Status: added retweet, favorite and retweets methods
(NOTE: retweet API not live yet on twitter)
+ Update OAuth bundled library.
- Logging removed. Having our own mini-logging system just feels like overkill.
Turns out it was not really needed that much. Simply just exposing the last
HTTPResponse object should be good enough for most debugging.
......@@ -46,7 +46,16 @@ class Status(Model):
def destroy(self):
return self._api.destroy_status(
return self._api.destroy_status(
def retweet(self):
return self._api.retweet(
def retweets(self):
return self._api.retweets(
def favorite(self):
return self._api.create_favorite(
class User(Model):
......@@ -75,10 +84,10 @@ class User(Model):
return self._api.mentions(**kargs)
def friends(self, **kargs):
return self._api.friends(, **kargs)
return self._api.friends(, **kargs)
def followers(self, **kargs):
return self._api.followers(, **kargs)
return self._api.followers(, **kargs)
def follow(self):
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment