Skip to content

Instantly share code, notes, and snippets.

@thesmartcoder123
Created February 7, 2022 19:25
Show Gist options
  • Save thesmartcoder123/8f7dc465b4b0036153a33c8622d795ac to your computer and use it in GitHub Desktop.
Save thesmartcoder123/8f7dc465b4b0036153a33c8622d795ac to your computer and use it in GitHub Desktop.
async function getName() {
const response = await fetch('https://api.blooket.com/api/users/verify-token', {
method: "GET",
headers: {
"accept": "application/json, text/plain, */*",
"accept-language": "en-US,en;q=0.9,ru;q=0.8",
},
credentials: "include"
});
const data = await response.json();
return data.name;
};
async function addCurrencies() {
const tokens = Number(prompt('How many tokens do you want to add to your account? (1000 daily)'));
if (tokens > 1000) {
alert('You can only add up to 1000 tokens daily.');
};
const response = await fetch('https://api.blooket.com/api/users/add-rewards', {
method: "PUT",
headers: {
"referer": "https://www.blooket.com/",
"content-type": "application/json",
},
credentials: "include",
body: JSON.stringify({
addedTokens: tokens,
addedXp: 900,
name: await getName()
})
});
if (response.status == 300) {
alert(`${tokens} tokens and 900 XP added to your account!`);
} else {
alert('Not working Error Occured.');
};
};
addCurrencies();
@DynamiteWasTaken
Copy link

just tried it, did not work, but works from this github page:
https://github.com/Glizzuwu/Blooket-hacks-/blob/main/Add%20tokens

Copy link

ghost commented Aug 26, 2022

it work

Copy link

ghost commented Aug 26, 2022

the thing is that i get daily stuff on blooket i get the 1millon or 1000k for now reson just report for copying the file

@PerrythePlatypus649
Copy link

It did not work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment