get-past-sponsors
The new Sponsors Profile is released that includes the past sponsors. But we can't get the past sponsors from the API.
Installation
pnpm install get-past-sponsors
Usage
import getPastSponsors from "get-past-sponsors";
await getPastSponsors('dohooo')
.then(sponsors=>{
console.log(sponsors)
})
.catch(e=>{
console.error(e)
})
Types
interface IUser {
username: string
avatar: string
}
getPastSponsors(username: string): Promise<IUser[]>