by @delasy
This script is way more advanced than other scripts out there.
- allows generating HamsterKombat coupon code for free using your machine.
import numpy as np | |
import pandas as pd | |
import csv | |
import sys | |
from sklearn.decomposition import PCA | |
from sklearn.preprocessing import scale | |
__author__ = 'aGn' |
by @delasy
This script is way more advanced than other scripts out there.
This HTML file serves as a simple, silly frontend for
delasy's key generator gist.
Originally, the previously mentioned gist was a direct dependency on this gist, but after the
owner made some breaking changes that made my monkey patching very difficult, I decided that
it was easier to just maintain a dedicated fork (I've copied his code inside this gist directly).
// insert hamster-kombat-playground-games-promo-keys-generator.js here | |
// with removed `async function main() {...}` and `main().catch(Logger.panic);` | |
const { CronJob } = require('cron'); | |
const HK_TOKEN = '<api-token>'; | |
async function applyPromo(promoCode) { | |
await fetch('https://api.hamsterkombatgame.io/clicker/apply-promo', { | |
method: 'POST', |