PatreonBadge
Custom badge and scraper that utilizes Patreon's API without the need for authorization.
Install / Use
/learn @AceAsin/PatreonBadgeREADME
Patreon
About
- A campaign identification is required in order to use this method. Visit a Patreon page and inspect it, then type one of the options below on the browser console to get the campaign identification. Alternatively, you're able to get a campaign identification by running the scraper app and entering a username when prompted.
- The monthly pledge sum will not display if the owner of the page has their earnings set to private. It is recommended to set your earnings to public in order to be able to get the pledge sum.
- Replace any text inside angle brackets with your own, usually '<Username>' and or '<ID>'. Don't forget to exclude the angle brackets, please do not include '<' or '>' once the text inside has been replaced.
Console
Campaign
window.patreon.bootstrap.campaign.data.id
Creator
window.patreon.bootstrap.creator.data.id
Scraper
Install
npm i
Start
npm start
Badge
Documentation
Usage
-
Endpoint
- Decoded:
https://www.patreon.com/api/campaigns/<ID> - Encoded:
https%3A%2F%2Fwww.patreon.com%2Fapi%2Fcampaigns%2F<ID>
- Decoded:
-
Hypertext Markup Language (HTML)
-
Patron Count
<a href="https://patreon.com/<Username>"><img src="https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Fwww.patreon.com%2Fapi%2Fcampaigns%2F<ID>&query=data.attributes.patron_count&suffix=%20Patrons&color=FF5441&label=Patreon&logo=Patreon&logoColor=FF5441&style=for-the-badge" alt="Patreon"> </a> -
Pledge Sum
<a href="https://patreon.com/<Username>"><img src="https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Fwww.patreon.com%2Fapi%2Fcampaigns%2F<ID>&query=data.attributes.pledge_sum&prefix=$%20&suffix=%20USD%20/%20MO&color=FF5441&label=Patreon&logo=Patreon&logoColor=FF5441&style=for-the-badge" alt="Patreon"> </a>
-
-
Markdown (MD)
-
Patron Count
[](https://patreon.com/<Username>) -
Pledge Sum
[](https://patreon.com/<Username>)
-
Example
-
Endpoint
-
Hypertext Markup Language (HTML)
-
Patron Count
<a href="https://patreon.com/AceAsin"><img src="https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Fwww.patreon.com%2Fapi%2Fcampaigns%2F1839759&query=data.attributes.patron_count&suffix=%20Patrons&color=FF5441&label=Patreon&logo=Patreon&logoColor=FF5441&style=for-the-badge" alt="Patreon"> </a> -
Pledge Sum
<a href="https://patreon.com/AceAsin"><img src="https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Fwww.patreon.com%2Fapi%2Fcampaigns%2F1839759&query=data.attributes.pledge_sum&prefix=$%20&suffix=%20USD%20/%20MO&color=FF5441&label=Patreon&logo=Patreon&logoColor=FF5441&style=for-the-badge" alt="Patreon"> </a>
-
-
Markdown (MD)
-
Patron Count
[](https://patreon.com/AceAsin) -
Pledge Sum
[](https://patreon.com/AceAsin)
-
Related Skills
node-connect
354.3kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
112.3kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
354.3kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
354.3kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
