return results
def update(self, **kwargs):
- return self._api.update_list(self.slug, **kwargs)
+ return self._api.update_list(slug=self.slug, **kwargs)
def destroy(self):
- return self._api.destroy_list(self.slug)
+ return self._api.destroy_list(slug=self.slug)
def timeline(self, **kwargs):
return self._api.list_timeline(
- self.user.screen_name, self.slug, **kwargs
+ owner_screen_name=self.user.screen_name, slug=self.slug, **kwargs
)
def add_member(self, id):
- return self._api.add_list_member(self.slug, id)
+ return self._api.add_list_member(slug=self.slug, user_id=id)
def remove_member(self, id):
- return self._api.remove_list_member(self.slug, id)
+ return self._api.remove_list_member(slug=self.slug, user_id=id)
def members(self, **kwargs):
return self._api.get_list_members(
- self.user.screen_name, self.slug, **kwargs
+ owner_screen_name=self.user.screen_name, slug=self.slug, **kwargs
)
def subscribe(self):
- return self._api.subscribe_list(self.user.screen_name, self.slug)
+ return self._api.subscribe_list(
+ owner_screen_name=self.user.screen_name, slug=self.slug
+ )
def unsubscribe(self):
- return self._api.unsubscribe_list(self.user.screen_name, self.slug)
+ return self._api.unsubscribe_list(
+ owner_screen_name=self.user.screen_name, slug=self.slug
+ )
def subscribers(self, **kwargs):
return self._api.get_list_subscribers(
- self.user.screen_name, self.slug, **kwargs
+ owner_screen_name=self.user.screen_name, slug=self.slug, **kwargs
)