Skip to content

Instantly share code, notes, and snippets.

@spacelis
Created October 8, 2014 14:47
Show Gist options
  • Save spacelis/2f7870aff8fa2d50d996 to your computer and use it in GitHub Desktop.
Save spacelis/2f7870aff8fa2d50d996 to your computer and use it in GitHub Desktop.
--- api.py.old 2014-10-08 16:46:23.291043972 +0200
+++ api.py 2014-10-03 01:15:48.969680901 +0200
@@ -44,6 +44,18 @@
require_auth = True
)
+ def statuses_lookup(self, id, include_entities=None,
+ trim_user=None, map_=None):
+ return self._statuses_lookup(list_to_csv(id), include_entities,
+ trim_user, map_)
+
+ _statuses_lookup = bind_api(
+ path='/statuses/lookup.json',
+ payload_type='status', payload_list=True,
+ allowed_param=['id', 'include_entities', 'trim_user', 'map'],
+ require_auth=True
+ )
+
""" statuses/user_timeline """
user_timeline = bind_api(
path = '/statuses/user_timeline.json',
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment