Searching from lists can now be accomplished by using the listTweetFilter parameters, as demonstrated below:
import { Rettiwt } from 'rettiwt-api';
// Initialzing new Rettiwt instance
const rettiwt: Rettiwt = new Rettiwt({ apiKey: '<API_KEY>' });
// Searching the most recent 10 tweets from a list with id '1234567890', excluding replies
rettiwt.tweet.search({ list: "1234567890", replies: false }, 10).then(res => console.log(res)).catch(err => console.log(err));
Searching from lists can now be accomplished by using the
list
TweetFilter
parameters, as demonstrated below: