From 7d8220661440054a87bfe82f39ebc87eb8082833 Mon Sep 17 00:00:00 2001 From: Mike Helmick Date: Thu, 29 Nov 2012 15:32:07 -0500 Subject: [PATCH] Support for Friends and Followers list endpoints MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit "Two new methods in API v1.1 provide simplified access to user friend & follower data: https://dev.twitter.com/docs/api/1.1/get/followers/list … https://dev.twitter.com/docs/api/1.1/get/friends/list … ^TS" - @TwitterAPI --- twython/twitter_endpoints.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/twython/twitter_endpoints.py b/twython/twitter_endpoints.py index 9bc6806..c470e59 100644 --- a/twython/twitter_endpoints.py +++ b/twython/twitter_endpoints.py @@ -62,6 +62,14 @@ api_table = { 'url': '/followers/ids.json', 'method': 'GET', }, + 'getFriendsList': { + 'url': '/friends/list.json', + 'method': 'GET', + }, + 'getFollowersList': { + 'url': '/followers/list.json', + 'method': 'GET', + }, 'getIncomingFriendshipIDs': { 'url': '/friendships/incoming.json', 'method': 'GET',