Creates a new list for the authenticated user.
Note that you can create up to 1000 lists per account.
- :param name: The name of the new list.
- :param mode: |list_mode|
- :param description: The description of the list you are creating.
+ Parameters
+ ----------
+ name
+ The name of the new list.
+ mode
+ |list_mode|
+ description
+ The description of the list you are creating.
- :rtype: :class:`List` object
+ Returns
+ -------
+ :class:`~tweepy.models.List`
- :reference: https://developer.twitter.com/en/docs/twitter-api/v1/accounts-and-users/create-manage-lists/api-reference/post-lists-create
+ References
+ ----------
+ https://developer.twitter.com/en/docs/twitter-api/v1/accounts-and-users/create-manage-lists/api-reference/post-lists-create
"""
return self.request(
'POST', 'lists/create', endpoint_parameters=(