+------------------------------------------+--------------------------------------+
| .. centered:: |Post, retrieve, and engage with Tweets|_ |
+------------------------------------------+--------------------------------------+
- | `GET favorites/list`_ | :meth:`API.favorites` |
+ | `GET favorites/list`_ | :meth:`API.get_favorites` |
+------------------------------------------+--------------------------------------+
| `GET statuses/lookup`_ | :meth:`API.lookup_statuses` |
+------------------------------------------+--------------------------------------+
Post, retrieve, and engage with Tweets
--------------------------------------
-.. automethod:: API.favorites
+.. automethod:: API.get_favorites
.. automethod:: API.lookup_statuses
if k == 'email': continue
self.assertEqual(getattr(updated, k), v)
- @tape.use_cassette('testfavorites.json')
- def testfavorites(self):
- self.api.favorites()
+ @tape.use_cassette('testgetfavorites.json')
+ def testgetfavorites(self):
+ self.api.get_favorites()
@tape.use_cassette('testcreatedestroyfavorite.json')
def testcreatedestroyfavorite(self):
@pagination(mode='id')
@payload('status', list=True)
- def favorites(self, **kwargs):
- """favorites(*, user_id, screen_name, count, since_id, max_id, \
+ def get_favorites(self, **kwargs):
+ """get_favorites(*, user_id, screen_name, count, since_id, max_id, \
include_entities)
Returns the favorite statuses for the authenticating user or user