Ah, this was pretty out of date! Thanks to wescpy for the heads up.

This commit is contained in:
Ryan McGrath 2011-10-07 05:12:16 +09:00
parent a8e980357b
commit 467f27a2a3

View file

@ -21,6 +21,16 @@ api_table = {
'method': 'GET', 'method': 'GET',
}, },
'verifyCredentials': {
'url': '/account/verify_credentials.json',
'method': 'GET',
},
'endSession' : {
'url': '/account/end_session.json',
'method': 'POST',
},
# Timeline methods # Timeline methods
'getPublicTimeline': { 'getPublicTimeline': {
'url': '/statuses/public_timeline.json', 'url': '/statuses/public_timeline.json',
@ -68,6 +78,14 @@ api_table = {
'url': '/followers/ids.json', 'url': '/followers/ids.json',
'method': 'GET', 'method': 'GET',
}, },
'getIncomingFriendshipIDs': {
'url': '/friendships/incoming.json',
'method': 'GET',
},
'getOutgoingFriendshipIDs': {
'url': '/friendships/outgoing.json',
'method': 'GET',
},
# Retweets # Retweets
'reTweet': { 'reTweet': {
@ -243,7 +261,11 @@ api_table = {
'method': 'GET', 'method': 'GET',
}, },
'getListMemberships': { 'getListMemberships': {
'url': '/{{username}}/lists/followers.json', 'url': '/{{username}}/lists/memberships.json',
'method': 'GET',
},
'getListSubscriptions': {
'url': '/{{username}}/lists/subscriptions.json',
'method': 'GET', 'method': 'GET',
}, },
'deleteList': { 'deleteList': {
@ -270,12 +292,16 @@ api_table = {
'url': '/{{username}}/{{list_id}}/members.json', 'url': '/{{username}}/{{list_id}}/members.json',
'method': 'DELETE', 'method': 'DELETE',
}, },
'getListSubscribers': {
'url': '/{{username}}/{{list_id}}/subscribers.json',
'method': 'GET',
},
'subscribeToList': { 'subscribeToList': {
'url': '/{{username}}/{{list_id}}/following.json', 'url': '/{{username}}/{{list_id}}/subscribers.json',
'method': 'POST', 'method': 'POST',
}, },
'unsubscribeFromList': { 'unsubscribeFromList': {
'url': '/{{username}}/{{list_id}}/following.json', 'url': '/{{username}}/{{list_id}}/subscribers.json',
'method': 'DELETE', 'method': 'DELETE',
}, },