
import { createClient } from ”xscore”
const xScore = createClient(process.env.API_KEY)
const data = await xScore.getData(”elonmusk”)
// Access profile, tweets, and metrics
console.log(data.profile.followers) // 232035206
console.log(data.tweets.length) // 100 (default amount)



