Skip to content
Simple way to create a scoreboard
JavaScript HTML
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
sb
404.html
CNAME
LICENSE
README.md
index.html
server.js

README.md

GenericScoreboardAPI

Simple way to create a scoreboard without signups
Example: https://github.com/OfficialNoob/CaptchaGame
POST Request https://gsapi.officialnoob.now.sh/api JSON
token: boardID+privateKey
username: bob
increment: 1

Example Javascript

async function increment(token, username = "Unnamed Player", number = 1) {
    let r = await fetch('https://gsapi.officialnoob.now.sh/api', {
        method: 'POST',
        headers: {
            'Content-Type': 'application/json'
        },
        body: JSON.stringify({
            token: token,
            username: username,
            increment: number
        })
    });
    return r.json();
}
You can’t perform that action at this time.