Skip to content

How to retrieve linked Patreon sponsorship status via API #123162

Answered by nectariferous
kzu asked this question in Sponsors
Discussion options

You must be logged in to vote

As of now, GitHub doesn't provide a direct API endpoint to retrieve the sponsorship status of a user via a linked Patreon account. The GitHub Sponsors API is primarily focused on sponsorships managed directly through GitHub. Here's what you need to know:

  1. Current API Limitations:

    • The GitHub Sponsors API doesn't have a specific endpoint for Patreon-linked sponsorships.
    • The existing /sponsors and /sponsorships endpoints only return information about direct GitHub Sponsors.
  2. Possible Workarounds:
    a. Use the GitHub Sponsors API:

    • You can query the user's sponsorship status using the GitHub Sponsors API.
    • This will only show sponsorships made directly through GitHub, not Patreon.
    • Example en…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by kzu
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 Question
2 participants