Commit d194597f authored by Miriam Sexton's avatar Miriam Sexton
Browse files

Added OEmbed api binding

parent 957f2762
......@@ -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))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment