Skip to content

dohooo/get-past-sponsors

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

💰 Simple script to get the past sponsors.

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[]>

Sponsors

License

MIT License © 2022 Dohooo