Update scripts to account for Github supporters #647
Comments
I took a quick look at this, and it seems like the GraphQL API isn't (yet?) returning data for sponsors. I tried using a modified version of the script I'm using to pull my personal sponsors list (which does work). GraphQL query
The list of sponsors should be in the |
We currently don't have any sponsors on GitHub yet, so that's most likely why it doesn't return anything yet. |
@ilyavolodin It looks like we do have a few sponsors. |
Oh, they just joined today, I guess. I was playing with the GraphQL API yesterday evening and there was no sponsors yet. |
API does return data. Here's the query: query {
organization(login: "eslint") {
sponsorshipsAsMaintainer (first: 100) {
nodes {
sponsor {
name,
login
},
tier {
monthlyPriceInDollars
}
}
}
}
} You can run it here: https://developer.github.com/v4/explorer/ |
Nice! I can try updating the script next week but anyone should feel free to take this on in the meantime if the spirit moves you. |
Starting to work on this. |
Currently our scripts are only checking OpenCollective for supporters to send twitter messages about and adding them to the site/readme. Now that ESLint org can be supported through Github, we need to update those scripts to use Github API for the same tasks as well.
The text was updated successfully, but these errors were encountered: