Package blue. starry. penicillin. endpoints. lists
Types
Represents list mode. For example, "Private" means protected list, and is invisible to unfollowed users.
Functions
Add a member to a list. The authenticated user must own the list to be able to add members to it. Note that lists cannot have more than 5,000 members.
Adds multiple members to a list, by specifying a comma-separated list of member ids or screen names. The authenticated user must own the list to be able to add members to it. Note that lists can't have more than 5,000 members, and you are limited to adding up to 100 members to a list at a time with this method. Please note that there can be issues with lists that rapidly remove and add memberships. Take care when using these methods such that you are not too rapidly switching between removals and adds on the same list.
Adds multiple members to a list, by specifying a comma-separated list of member ids or screen names. The authenticated user must own the list to be able to add members to it. Note that lists can't have more than 5,000 members, and you are limited to adding up to 100 members to a list at a time with this method. Please note that there can be issues with lists that rapidly remove and add memberships. Take care when using these methods such that you are not too rapidly switching between removals and adds on the same list.
Creates a new list for the authenticated user. Note that you can create up to 1000 lists per account.
Deletes the specified list. The authenticated user must own the list to be able to destroy it.
Deletes the specified list. The authenticated user must own the list to be able to destroy it.
Deletes the specified list. The authenticated user must own the list to be able to destroy it.
Returns all lists the authenticating or specified user subscribes to, including their own. The user is specified using the user_id or screen_name parameters. If no user is given, the authenticating user is used. A maximum of 100 results will be returned by this call. Subscribed lists are returned first, followed by owned lists. This means that if a user subscribes to 90 lists and owns 20 lists, this method returns 90 subscriptions and 10 owned lists. The reverse method returns owned lists first, so with reverse=true, 20 owned lists and 80 subscriptions would be returned. If your goal is to obtain every list a user owns or subscribes to, use GET lists/ownerships and/or GET lists/subscriptions instead.
Check if the specified user is a member of the specified list.
Returns the members of the specified list. Private list members will only be shown if the authenticated user owns the specified list.
Returns the members of the specified list. Private list members will only be shown if the authenticated user owns the specified list.
Returns the members of the specified list. Private list members will only be shown if the authenticated user owns the specified list.
Returns the lists the specified user has been added to. If user_id or screen_name are not provided, the memberships for the authenticating user are returned.
Returns the lists the specified user has been added to. If user_id or screen_name are not provided, the memberships for the authenticating user are returned.
Returns the lists the specified user has been added to. If user_id or screen_name are not provided, the memberships for the authenticating user are returned.
Returns the lists owned by the specified Twitter user. Private lists will only be shown if the authenticated user is also the owner of the lists.
Returns the lists owned by the specified Twitter user. Private lists will only be shown if the authenticated user is also the owner of the lists.
Removes the specified member from the list. The authenticated user must be the list's owner to remove members from the list.
Removes multiple members from a list, by specifying a comma-separated list of member ids or screen names. The authenticated user must own the list to be able to remove members from it. Note that lists can't have more than 500 members, and you are limited to removing up to 100 members to a list at a time with this method. Please note that there can be issues with lists that rapidly remove and add memberships. Take care when using these methods such that you are not too rapidly switching between removals and adds on the same list.
Removes multiple members from a list, by specifying a comma-separated list of member ids or screen names. The authenticated user must own the list to be able to remove members from it. Note that lists can't have more than 500 members, and you are limited to removing up to 100 members to a list at a time with this method. Please note that there can be issues with lists that rapidly remove and add memberships. Take care when using these methods such that you are not too rapidly switching between removals and adds on the same list.
Returns the specified list. Private lists will only be shown if the authenticated user owns the specified list.
Returns the specified list. Private lists will only be shown if the authenticated user owns the specified list.
Returns the specified list. Private lists will only be shown if the authenticated user owns the specified list.
Subscribes the authenticated user to the specified list.
Subscribes the authenticated user to the specified list.
Subscribes the authenticated user to the specified list.
Check if the specified user is a subscriber of the specified list. Returns the user if they are a subscriber.
Returns the subscribers of the specified list. Private list subscribers will only be shown if the authenticated user owns the specified list.
Returns the subscribers of the specified list. Private list subscribers will only be shown if the authenticated user owns the specified list.
Returns the subscribers of the specified list. Private list subscribers will only be shown if the authenticated user owns the specified list.
Obtain a collection of the lists the specified user is subscribed to, 20 lists per page by default. Does not include the user's own lists.
Obtain a collection of the lists the specified user is subscribed to, 20 lists per page by default. Does not include the user's own lists.
Obtain a collection of the lists the specified user is subscribed to, 20 lists per page by default. Does not include the user's own lists.
Unsubscribes the authenticated user from the specified list.
Unsubscribes the authenticated user from the specified list.
Unsubscribes the authenticated user from the specified list.
Updates the specified list. The authenticated user must own the list to be able to update it.
Updates the specified list. The authenticated user must own the list to be able to update it.
Properties
Shorthand property to Lists.list.
Shorthand property to Lists.memberships.
Shorthand property to Lists.ownerships.
Shorthand property to Lists.subscriptions.