This is a Discord for obtaining your stats concerning r/place 2022
Thanks to kisielo85 for the api and u/opl_ for the database! Check out the original website and it's creator!
The post with the database: r/place
Create a config.json file and enter data like this:
{
"clientId": "your-app-id",
"token": "your-bot-secret"
}
Run npm install
And you should be able to start the bot using node index.js
.
This command will send you a dm with a json file containing the data. The data is formatted as following:
{
"username": "shadowlp174",
"hash": "tLrAdoYjI91qxHPH/BFI1g+txvlKhZzKC12YfqKJ/rSgRc5qv0GpEpLt1xvk6GThiWjKHZM9MpJbvAPHxXNa2g==",
"pixelsPlaced": 196,
"pixels": [
{
"date": 1648883364000,
"x": 335,
"y": 503,
"color": "#000000",
"trophies": []
},
],
"trophies": [0, 1]
}
username
- the reddit username of the userhash
- the hash of the user's accountpixelsPlaced
- the number of pixels placed by the userpixels
- an array of pixels placed by the user:date
- the date of the pixelx
- the x coordinate of the pixely
- the y coordinate of the pixelcolor
- the color of the pixeltrophies
- the trophies the pixel has earned
trophies
- an array of trophies the user has:
- 0 -
First Placer
- 1 -
Final Canvas
- 2 -
End Game