Everything public on DailyChallenge is available as JSON: games, daily leaderboards, challenge links, player profiles and community stats. Bots and games can also log results for players who give them a token.
Let your players send their result here with one click: no account on your side, no API token, no userscript. They see what will be logged and confirm it on DailyChallenge, logging in first if they need to.
A link, from any language
Put your share text in text. Add game (your game’s slug) if we don’t recognise your share text yet.
<script src="https://dailychallenge.org/share.js" defer></script>
<button data-dailychallenge data-text="Travle #1345 +0 (Perfect)">
Share to DailyChallenge
</button>
<!-- or read the text from an element on your page -->
<button data-dailychallenge data-text-from="#share-text">Share to DailyChallenge</button>
<script>
// or from your own Share code
DailyChallenge.share(shareText, { game: "travle" });
window.addEventListener("dailychallenge:logged", (e) => console.log(e.detail)); // { game, day, daily }
</script>
Try it with your share text
For leaderboards and stats, give your share text a stable first line, like Travle #1345 or Flagdoku 952 9/9, and tell us the format here or on our Discord. Until we add a parser, results are saved as notes.