Skip to content

REST API for checking if a specific user is a sponsor and how much they are sponsoring #54644

Closed Answered by octokatherine
catgirlinspace asked this question in Sponsors
Discussion options

You must be logged in to vote

Yep! You could do something like this

query {
  user(login:"octokatherine") {
    sponsorshipForViewerAsSponsorable(activeOnly:true) {
    	tier {
        name
        monthlyPriceInDollars
      }  
    }
  }
}

replacing my login with the sponsor's login

Replies: 1 comment 12 replies

Comment options

You must be logged in to vote
12 replies
@catgirlinspace
Comment options

@octokatherine
Comment options

@catgirlinspace
Comment options

@octokatherine
Comment options

Answer selected by catgirlinspace
@catgirlinspace
Comment options

@QROkes
Comment options

@octokatherine
Comment options

@honzajavorek
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Sponsors Financially support your favourite open source projects with one-off of monthly payments Product Feedback
5 participants