Commit a6e27c9e authored by Joshua Roesslein's avatar Joshua Roesslein
Browse files

Merge pull request #629 from marknca/master

Added full params to .friends()
parents ae1465d3 3ade9e68
......@@ -174,7 +174,7 @@ User methods
:rtype: :class:`User` object
.. method::API.friends([id/user_id/screen_name], [cursor])
.. method::API.friends([id/user_id/screen_name], [cursor], [skip_status], [include_user_entities])
Returns an user's friends ordered in which they were added 100 at a time. If no user is specified it defaults to the authenticated user.
......@@ -182,6 +182,8 @@ User methods
:param user_id: |user_id|
:param screen_name: |screen_name|
:param cursor: |cursor|
:param skip_status: |skip_status|
:param include_user_entities: |include_user_entities|
:rtype: list of :class:`User` objects
......@@ -528,13 +528,13 @@ class API(object):
def friends(self):
""" :reference:
:allowed_param:'id', 'user_id', 'screen_name', 'cursor'
:allowed_param:'id', 'user_id', 'screen_name', 'cursor', 'skip_status', 'include_user_entities'
return bind_api(
payload_type='user', payload_list=True,
allowed_param=['id', 'user_id', 'screen_name', 'cursor']
allowed_param=['id', 'user_id', 'screen_name', 'cursor', 'skip_status', 'include_user_entities']
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