From 1026afd5d564dd49f29262212b0ec560c4e17347 Mon Sep 17 00:00:00 2001 From: Aaron Hill Date: Sat, 5 Nov 2016 17:28:24 -0400 Subject: [PATCH] Update API for removal for 'account/update_profile_colors' --- tweepy/api.py | 20 +------------------- 1 file changed, 1 insertion(+), 19 deletions(-) diff --git a/tweepy/api.py b/tweepy/api.py index b925da3..b409d39 100644 --- a/tweepy/api.py +++ b/tweepy/api.py @@ -661,24 +661,6 @@ class API(object): require_auth=True ) - @property - def update_profile_colors(self): - """ :reference: https://dev.twitter.com/docs/api/1.1/post/account/update_profile_colors - :allowed_param:'profile_background_color', 'profile_text_color', - 'profile_link_color', 'profile_sidebar_fill_color', - 'profile_sidebar_border_color'], - """ - return bind_api( - api=self, - path='/account/update_profile_colors.json', - method='POST', - payload_type='user', - allowed_param=['profile_background_color', 'profile_text_color', - 'profile_link_color', 'profile_sidebar_fill_color', - 'profile_sidebar_border_color'], - require_auth=True - ) - def update_profile_image(self, filename, file_=None): """ :reference: https://dev.twitter.com/rest/reference/post/account/update_profile_image :allowed_param:'include_entities', 'skip_status' @@ -732,7 +714,7 @@ class API(object): path='/account/update_profile.json', method='POST', payload_type='user', - allowed_param=['name', 'url', 'location', 'description'], + allowed_param=['name', 'url', 'location', 'description', 'profile_link_color'], require_auth=True ) -- 2.25.1