Include an "everything" option within each method option
mr-devs opened this issue · 2 comments
mr-devs commented
For example, if we want to use the tweet_lookup()
method.
You could do something like the following:
resp = self.ot.tweet_lookup(
tids = random_tweet_id,
everything = True
)
And this would be equivalent to including all expansions
, tweet.fields
, place.fields
, poll.fields
, tweet.fields
, and user.fields
.
Another option would be to include and
all
option for each data object, however, since we have thereturn_objectfield()
methods, I think this might be overkill. It's really easy to just callt_fields = o_utils.return_tweet_fields()
and then placet_fields
in theot.tweet_lookup()
call. As a result, I think it's best to build out the first option.
Methods
-
tweet_lookup
-
user_lookup_ids
-
user_lookup_usernames
-
get_followers
-
get_following
mr-devs commented
Thank you, Kaicheng.