Substats
( `д′) how many followers do i have? how many!
Install / Use
/learn @spencerwooo/SubstatsREADME
Get started
sub · stats /səb ˈ stats/
- a serverless api for getting the number of followers of you in your favourite services
*Version 2.0 is still in beta, not all features are ported from 1.0. Check below for details 👇
Basic
https://api.swo.moe
You request:
GET /stats/:source/:key
I respond:
{
source: string,
key: string,
failed: true | false,
count: number | string // Most often it's a number when source !== 'common'
}
Yep, it's that simple now. ;)
*Note that key needs to be url encoded, remember this if you are requesting the feedly, inoreader, or feedspub routes.
Building badges 🎫
Of course! And as a matter of fact, substats works quite well with shields.io's /dynamic route. All these badges below are dynamically generated with substat's data:
[