import { XApiScraper } from "@twexapi-dev/x-api-scraper"";
const xApiScraper = new XApiScraper({
bearerAuth: "<YOUR_BEARER_TOKEN_HERE>",
});
async function run() {
const result = await xApiScraper.search.advanced({
searchTerms: [
"python programming",
"AI technology",
],
sortBy: "Latest",
nextCursor: "",
});
console.log(result);
}
run();