From d194597f48a3ae9fdb2e97bfe27223f32060546d Mon Sep 17 00:00:00 2001 From: Miriam Sexton Date: Wed, 13 Feb 2013 10:07:56 -0500 Subject: [PATCH] Added OEmbed api binding --- tweepy/api.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/tweepy/api.py b/tweepy/api.py index 1826cd3..aee0d10 100644 --- a/tweepy/api.py +++ b/tweepy/api.py @@ -136,6 +136,13 @@ class API(object): allowed_param = ['id', 'user_id', 'screen_name'] ) + ''' statuses/oembed ''' + get_oembed = bind_api( + path = '1.1/statuses/oembed.json', + payload_type = 'json', + allowed_param = ['id', 'url', 'maxwidth', 'hide_media', 'omit_script', 'align', 'related', 'lang'] + ) + """ Perform bulk look up of users from user ID or screenname """ def lookup_users(self, user_ids=None, screen_names=None): return self._lookup_users(list_to_csv(user_ids), list_to_csv(screen_names)) -- 2.25.1